Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
LemonLDAP NG
lemonldap-ng
Commits
3aaf1c9a
Commit
3aaf1c9a
authored
Jun 19, 2014
by
FX Deltombe
Browse files
Add IPv6 local subnet in default handler Apache|Nginx config file
parent
4b844b7e
Changes
4
Hide whitespace changes
Inline
Side-by-side
_example/etc/handler-apache.conf
View file @
3aaf1c9a
...
...
@@ -22,7 +22,7 @@ ErrorDocument 503 http://auth.__DNSDOMAIN__/?lmError=503
<
Location
/
reload
>
Order
deny
,
allow
Deny
from
all
Allow
from
127
.
0
.
0
.
0
/
8
Allow
from
127
.
0
.
0
.
0
/
8
::
1
PerlHeaderParserHandler
Lemonldap
::
NG
::
Handler
->
reload
</
Location
>
...
...
@@ -30,7 +30,7 @@ ErrorDocument 503 http://auth.__DNSDOMAIN__/?lmError=503
#<Location /status>
# Order deny,allow
# Deny from all
# Allow from 127.0.0.0/8
# Allow from 127.0.0.0/8
::1
# SetHandler perl-script
# PerlHandler Lemonldap::NG::Handler->status
# # You may have to uncomment the next directive to skip
...
...
_example/etc/handler-apache2.4.conf
View file @
3aaf1c9a
...
...
@@ -21,13 +21,13 @@ ErrorDocument 503 http://auth.__DNSDOMAIN__/?lmError=503
# needed): choose your URL to avoid restarting Apache when
# configuration change
<
Location
/
reload
>
Require
ip
127
Require
ip
127
::
1
PerlHeaderParserHandler
Lemonldap
::
NG
::
Handler
->
reload
</
Location
>
# Uncomment this to activate status module
#<Location /status>
# Require ip 127
# Require ip 127
::1
# SetHandler perl-script
# PerlResponseHandler Lemonldap::NG::Handler->status
# # You may have to uncomment the next directive to skip
...
...
_example/etc/handler-apache2.conf
View file @
3aaf1c9a
...
...
@@ -23,7 +23,7 @@ ErrorDocument 503 http://auth.__DNSDOMAIN__/?lmError=503
<
Location
/
reload
>
Order
deny
,
allow
Deny
from
all
Allow
from
127
.
0
.
0
.
0
/
8
Allow
from
127
.
0
.
0
.
0
/
8
::
1
PerlHeaderParserHandler
Lemonldap
::
NG
::
Handler
->
reload
</
Location
>
...
...
@@ -31,7 +31,7 @@ ErrorDocument 503 http://auth.__DNSDOMAIN__/?lmError=503
#<Location /status>
# Order deny,allow
# Deny from all
# Allow from 127.0.0.0/8
# Allow from 127.0.0.0/8
::1
# SetHandler perl-script
# PerlResponseHandler Lemonldap::NG::Handler->status
# # You may have to uncomment the next directive to skip
...
...
_example/etc/handler-nginx.conf
View file @
3aaf1c9a
...
...
@@ -18,6 +18,7 @@ server {
# configuration change
location
/
reload
{
allow
127
.
0
.
0
.
0
/
8
;
allow
::
1
;
deny
all
;
perl
Lemonldap
::
NG
::
Handler
::
reload
;
}
...
...
@@ -25,6 +26,7 @@ server {
# Uncomment this to activate status module
#location /status {
# allow 127.0.0.0/8;
# allow ::1;
# deny all;
# perl Lemonldap::NG::Handler::status;
#}
...
...
Write
Preview
Supports
Markdown
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