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
b24323e5
Commit
b24323e5
authored
Sep 22, 2018
by
Clément OUDOT
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use Handler::ApacheMP2 in apache configuration files
parent
f14b95a7
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
12 additions
and
12 deletions
+12
-12
_example/etc/handler-apache2.4.conf
_example/etc/handler-apache2.4.conf
+3
-3
_example/etc/handler-apache2.X.conf
_example/etc/handler-apache2.X.conf
+3
-3
_example/etc/handler-apache2.conf
_example/etc/handler-apache2.conf
+3
-3
_example/etc/test-apache2.4.conf
_example/etc/test-apache2.4.conf
+1
-1
_example/etc/test-apache2.X.conf
_example/etc/test-apache2.X.conf
+1
-1
_example/etc/test-apache2.conf
_example/etc/test-apache2.conf
+1
-1
No files found.
_example/etc/handler-apache2.4.conf
View file @
b24323e5
...
...
@@ -17,7 +17,7 @@
# Load LemonLDAP::NG Handler
PerlOptions
+
GlobalRequest
PerlModule
Lemonldap
::
NG
::
Handler
PerlModule
Lemonldap
::
NG
::
Handler
::
ApacheMP2
# Common error page and security parameters
ErrorDocument
403
http
://
auth
.
__
DNSDOMAIN__
/
lmerror
/
403
...
...
@@ -35,14 +35,14 @@ ErrorDocument 503 http://auth.__DNSDOMAIN__/lmerror/503
<
Location
/
reload
>
Require
ip
127
::
1
SetHandler
perl
-
script
PerlResponseHandler
Lemonldap
::
NG
::
Handler
->
reload
PerlResponseHandler
Lemonldap
::
NG
::
Handler
::
ApacheMP2
->
reload
</
Location
>
# Uncomment this to activate status module
#<Location /status>
# Require ip 127 ::1
# SetHandler perl-script
# PerlResponseHandler Lemonldap::NG::Handler->status
# PerlResponseHandler Lemonldap::NG::Handler
::ApacheMP2
->status
# # You may have to uncomment the next directive to skip
# # an upper PerlHeaderParserHandler directive
# #PerlHeaderParserHandler Apache2::Const::DECLINED
...
...
_example/etc/handler-apache2.X.conf
View file @
b24323e5
...
...
@@ -17,7 +17,7 @@
# Load LemonLDAP::NG Handler
PerlOptions
+
GlobalRequest
PerlModule
Lemonldap
::
NG
::
Handler
PerlModule
Lemonldap
::
NG
::
Handler
::
ApacheMP2
# Common error page and security parameters
ErrorDocument
403
http
://
auth
.
__
DNSDOMAIN__
/
lmerror
/
403
...
...
@@ -42,7 +42,7 @@ ErrorDocument 503 http://auth.__DNSDOMAIN__/lmerror/503
Allow
from
127
.
0
.
0
.
0
/
8
::
1
</
IfVersion
>
SetHandler
perl
-
script
PerlResponseHandler
Lemonldap
::
NG
::
Handler
->
reload
PerlResponseHandler
Lemonldap
::
NG
::
Handler
::
ApacheMP2
->
reload
</
Location
>
# Uncomment this to activate status module
...
...
@@ -56,7 +56,7 @@ ErrorDocument 503 http://auth.__DNSDOMAIN__/lmerror/503
# Allow from 127.0.0.0/8 ::1
# </IfVersion>
# SetHandler perl-script
# PerlResponseHandler Lemonldap::NG::Handler->status
# PerlResponseHandler Lemonldap::NG::Handler
::ApacheMP2
->status
# # You may have to uncomment the next directive to skip
# # an upper PerlHeaderParserHandler directive
# #PerlHeaderParserHandler Apache2::Const::DECLINED
...
...
_example/etc/handler-apache2.conf
View file @
b24323e5
...
...
@@ -17,7 +17,7 @@
# Load LemonLDAP::NG Handler
PerlOptions
+
GlobalRequest
PerlModule
Lemonldap
::
NG
::
Handler
PerlModule
Lemonldap
::
NG
::
Handler
::
ApacheMP2
# Common error page and security parameters
ErrorDocument
403
http
://
auth
.
__
DNSDOMAIN__
/
lmerror
/
403
...
...
@@ -37,7 +37,7 @@ ErrorDocument 503 http://auth.__DNSDOMAIN__/lmerror/503
Deny
from
all
Allow
from
127
.
0
.
0
.
0
/
8
::
1
SetHandler
perl
-
script
PerlResponseHandler
Lemonldap
::
NG
::
Handler
->
reload
PerlResponseHandler
Lemonldap
::
NG
::
Handler
::
ApacheMP2
->
reload
</
Location
>
# Uncomment this to activate status module
...
...
@@ -46,7 +46,7 @@ ErrorDocument 503 http://auth.__DNSDOMAIN__/lmerror/503
# Deny from all
# Allow from 127.0.0.0/8 ::1
# SetHandler perl-script
# PerlResponseHandler Lemonldap::NG::Handler->status
# PerlResponseHandler Lemonldap::NG::Handler
::ApacheMP2
->status
# # You may have to uncomment the next directive to skip
# # an upper PerlHeaderParserHandler directive
# #PerlHeaderParserHandler Apache2::Const::DECLINED
...
...
_example/etc/test-apache2.4.conf
View file @
b24323e5
...
...
@@ -12,7 +12,7 @@ PerlModule Lemonldap::NG::Handler::ApacheMP2::Menu
ServerAlias
test2
.
__
DNSDOMAIN__
# SSO protection
PerlHeaderParserHandler
Lemonldap
::
NG
::
Handler
PerlHeaderParserHandler
Lemonldap
::
NG
::
Handler
::
ApacheMP2
# DocumentRoot
DocumentRoot
__
TESTDIR__
...
...
_example/etc/test-apache2.X.conf
View file @
b24323e5
...
...
@@ -12,7 +12,7 @@ PerlModule Lemonldap::NG::Handler::ApacheMP2::Menu
ServerAlias
test2
.
__
DNSDOMAIN__
# SSO protection
PerlHeaderParserHandler
Lemonldap
::
NG
::
Handler
PerlHeaderParserHandler
Lemonldap
::
NG
::
Handler
::
ApacheMP2
# DocumentRoot
DocumentRoot
__
TESTDIR__
...
...
_example/etc/test-apache2.conf
View file @
b24323e5
...
...
@@ -12,7 +12,7 @@ PerlModule Lemonldap::NG::Handler::ApacheMP2::Menu
ServerAlias
test2
.
__
DNSDOMAIN__
# SSO protection
PerlHeaderParserHandler
Lemonldap
::
NG
::
Handler
PerlHeaderParserHandler
Lemonldap
::
NG
::
Handler
::
ApacheMP2
# DocumentRoot
DocumentRoot
__
TESTDIR__
...
...
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