Remove Apache-1.3 handler
No more compatible with Plack
This commit is contained in:
parent
c5b4c0e5cc
commit
4e3b7f512d
|
@ -1,73 +0,0 @@
|
|||
#====================================================================
|
||||
# Apache configuration for LemonLDAP::NG Manager
|
||||
#====================================================================
|
||||
|
||||
# Uncomment this if no previous NameVirtualHost declaration
|
||||
#NameVirtualHost __VHOSTLISTEN__
|
||||
|
||||
# Manager virtual host (manager.__DNSDOMAIN__)
|
||||
<VirtualHost __VHOSTLISTEN__>
|
||||
ServerName manager.__DNSDOMAIN__
|
||||
|
||||
# DocumentRoot
|
||||
DocumentRoot __MANAGERDIR__
|
||||
<Directory __MANAGERDIR__>
|
||||
Order deny,allow
|
||||
Allow from all
|
||||
Options +ExecCGI +FollowSymLinks
|
||||
</Directory>
|
||||
|
||||
# On-line documentation
|
||||
Alias /doc/ __DEFDOCDIR__
|
||||
Alias /lib/ __DEFDOCDIR__lib/
|
||||
<Directory __DEFDOCDIR__>
|
||||
Order allow,deny
|
||||
Allow from all
|
||||
ErrorDocument 404 /notfound.html
|
||||
Options +FollowSymLinks
|
||||
</Directory>
|
||||
|
||||
# French version (needs fr-doc installation)
|
||||
Alias /fr-doc/ __FRDOCDIR__
|
||||
<Directory __FRDOCDIR__>
|
||||
Order deny,allow
|
||||
Allow from all
|
||||
ErrorDocument 404 /notfoundfr.html
|
||||
Options +FollowSymLinks
|
||||
</Directory>
|
||||
|
||||
# Perl script
|
||||
# Note: to avoid manager stay in memory, we don't use ModPerl::Registry
|
||||
# by default. Change this to increase manager performances
|
||||
<Files *.pl>
|
||||
SetHandler cgi-script
|
||||
#SetHandler perl-script
|
||||
#PerlHandler Apache::Registry
|
||||
</Files>
|
||||
|
||||
# Directory index
|
||||
<IfModule mod_dir.c>
|
||||
DirectoryIndex index.pl index.html
|
||||
</IfModule>
|
||||
|
||||
<Location />
|
||||
<IfModule mod_deflate.c>
|
||||
AddOutputFilterByType DEFLATE text/html text/plain text/xml text/javascript text/css
|
||||
SetOutputFilter DEFLATE
|
||||
BrowserMatch ^Mozilla/4 gzip-only-text/html
|
||||
BrowserMatch ^Mozilla/4\.0[678] no-gzip
|
||||
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
|
||||
SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ no-gzip dont-vary
|
||||
</IfModule>
|
||||
<IfModule mod_headers.c>
|
||||
Header append Vary User-Agent env=!dont-vary
|
||||
</IfModule>
|
||||
</Location>
|
||||
<Location /skins>
|
||||
<IfModule mod_expires.c>
|
||||
ExpiresActive On
|
||||
ExpiresDefault "access plus 1 month"
|
||||
</IfModule>
|
||||
</Location>
|
||||
</VirtualHost>
|
||||
|
Loading…
Reference in New Issue
Block a user