#==================================================================== # Apache configuration for LemonLDAP::NG Manager #==================================================================== # Uncomment this if no previous NameVirtualHost declaration #NameVirtualHost __VHOSTLISTEN__ # Manager virtual host (manager.__DNSDOMAIN__) ServerName manager.__DNSDOMAIN__ # DocumentRoot DocumentRoot __MANAGERDIR__ = 2.3> Require all granted Order Deny,Allow Allow from all Options +FollowSymLinks # On-line documentation Alias /doc/ __DEFDOCDIR__ Alias /lib/ __DEFDOCDIR__lib/ = 2.3> Require all granted Order Deny,Allow Allow from all ErrorDocument 404 /notfound.html Options +FollowSymLinks # French version (needs fr-doc installation) Alias /fr-doc/ __FRDOCDIR__ = 2.3> Require all granted Order Deny,Allow Allow from all ErrorDocument 404 /notfoundfr.html Options +FollowSymLinks # Perl script # Note: to increase performance, you can avoid manager stay in memory # by using "SetHandler cgi-script" instead of Plack framework Require all granted Options +ExecCGI SetHandler perl-script PerlResponseHandler Plack::Handler::Apache2 PerlSetVar psgi_app __MANAGERPSGIDIR__/manager-server.psgi 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 Header append Vary User-Agent env=!dont-vary SetHandler none Options -ExecCGI ExpiresActive On ExpiresDefault "access plus 1 month"