#==================================================================== # 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__ Order deny,allow Allow from all Options +ExecCGI +FollowSymLinks # On-line documentation Alias /doc/ __DOCDIR__ Alias /lib/ __DOCDIR__lib/ Order deny,allow Allow from all ErrorDocument 404 /notfound.html Options +FollowSymLinks # Perl script # Note: to avoid manager stay in memory, we don't use ModPerl::Registry # by default. Change this to increase manager performances SetHandler cgi-script #SetHandler perl-script #PerlResponseHandler ModPerl::Registry # Directory index DirectoryIndex index.pl index.html 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 ExpiresActive On ExpiresDefault "access plus 1 month" ExpiresActive On ExpiresDefault "access plus 1 month"