Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Xavier Bachelot
lemonldap-ng
Commits
52abed42
Commit
52abed42
authored
Feb 16, 2016
by
Yadd
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use SCRIPT_FILENAME to search index.pl (#583)
parent
51de4523
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
11 deletions
+11
-11
_example/etc/portal-nginx.conf
_example/etc/portal-nginx.conf
+1
-1
debian/rules
debian/rules
+9
-9
fastcgi-server/sbin/llng-fastcgi-server
fastcgi-server/sbin/llng-fastcgi-server
+1
-1
No files found.
_example/etc/portal-nginx.conf
View file @
52abed42
...
...
@@ -9,7 +9,7 @@ server {
include
/
etc
/
nginx
/
fastcgi_params
;
fastcgi_pass
unix
:
__
FASTCGISOCKDIR__
/
llng
-
fastcgi
.
sock
;
fastcgi_param
LLTYPE
auth
;
fastcgi_param
SCRIPT_NAME
$
document_root
$
fastcgi_script_name
;
fastcgi_param
SCRIPT_
FILE
NAME
$
document_root
$
fastcgi_script_name
;
fastcgi_split_path_info
^(.*\.
pl
)(/.+)$;
}
...
...
debian/rules
View file @
52abed42
...
...
@@ -29,20 +29,20 @@ override_dh_auto_build:
override_dh_auto_install:
$(MAKE) install install_fr_doc_site \
DESTDIR=$(CURDIR)/debian/tmp \
PREFIX=/usr
/
\
PREFIX=/usr \
LMPREFIX=/usr/share/lemonldap-ng/ \
BINDIR=$(LMSHAREDIR)/bin
/
\
BINDIR=$(LMSHAREDIR)/bin \
SBINDIR=/usr/sbin \
FASTCGISOCKDIR=/var/run/llng-fastcgi-server \
DOCUMENTROOT=$(LMVARDIR) \
EXAMPLESDIR=/examples
/
\
HANDLERDIR=$(LMVARDIR)/handler
/
\
PORTALSKINSDIR=$(LMSHAREDIR)/portal-skins
/
\
MANAGERDIR=$(LMSHAREDIR)/manager
/
\
EXAMPLESDIR=/examples \
HANDLERDIR=$(LMVARDIR)/handler \
PORTALSKINSDIR=$(LMSHAREDIR)/portal-skins \
MANAGERDIR=$(LMSHAREDIR)/manager \
STORAGECONFFILE=/etc/lemonldap-ng/lemonldap-ng.ini \
TOOLSDIR=$(LMSHAREDIR)/ressources
/
\
CONFDIR=/etc/lemonldap-ng
/
\
CRONDIR=/etc/cron.d
/
\
TOOLSDIR=$(LMSHAREDIR)/ressources \
CONFDIR=/etc/lemonldap-ng \
CRONDIR=/etc/cron.d \
DATADIR=$(LMVARDIR) \
APACHEUSER=www-data \
APACHEGROUP=www-data \
...
...
fastcgi-server/sbin/llng-fastcgi-server
View file @
52abed42
...
...
@@ -45,7 +45,7 @@ my %builder = (
require
CGI::Emulate::
PSGI
;
require
CGI::
Compile
;
return
sub
{
my
$script
=
$_
[
0
]
->
{
SCRIPT_NAME
};
my
$script
=
$_
[
0
]
->
{
SCRIPT_
FILE
NAME
};
return
$_apps
{
$script
}
->
(
@
_
)
if
(
$_apps
{
$script
}
);
$_apps
{
$script
}
=
CGI::Emulate::
PSGI
->
handler
(
CGI::
Compile
->
compile
(
$script
)
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment