|
|
|
@ -11,9 +11,13 @@ |
|
|
|
|
|
|
|
|
|
# DocumentRoot |
|
|
|
|
DocumentRoot __MANAGERDIR__ |
|
|
|
|
<Directory __MANAGERDIR__> |
|
|
|
|
<Directory __MANAGERSTATICDIR__> |
|
|
|
|
Require all granted |
|
|
|
|
Options +ExecCGI +FollowSymLinks |
|
|
|
|
Options +FollowSymLinks |
|
|
|
|
</Directory> |
|
|
|
|
<Directory __MANAGERPSGIDIR__> |
|
|
|
|
Require all granted |
|
|
|
|
Options +FollowSymLinks |
|
|
|
|
</Directory> |
|
|
|
|
|
|
|
|
|
# On-line documentation |
|
|
|
@ -34,18 +38,15 @@ |
|
|
|
|
</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 |
|
|
|
|
#PerlResponseHandler ModPerl::Registry |
|
|
|
|
</Files> |
|
|
|
|
|
|
|
|
|
# Directory index |
|
|
|
|
<IfModule mod_dir.c> |
|
|
|
|
DirectoryIndex index.pl index.html |
|
|
|
|
</IfModule> |
|
|
|
|
# Note: to increase performance, you can avoid manager stay in memory |
|
|
|
|
# by using "SetHandler cgi-script" instead of Plack framework |
|
|
|
|
<FilesMatch \.psgi$> |
|
|
|
|
#SetHandler cgi-script |
|
|
|
|
Options +ExecCGI |
|
|
|
|
SetHandler perl-script |
|
|
|
|
PerlResponseHandler Plack::Handler::Apache2 |
|
|
|
|
PerlSetVar psgi_app __MANAGERPSGIDIR__/manager-server.psgi |
|
|
|
|
</FilesMatch> |
|
|
|
|
|
|
|
|
|
<Location /> |
|
|
|
|
<IfModule mod_deflate.c> |
|
|
|
@ -66,7 +67,7 @@ |
|
|
|
|
ExpiresDefault "access plus 1 month" |
|
|
|
|
</IfModule> |
|
|
|
|
</Location> |
|
|
|
|
<Location /skins/> |
|
|
|
|
<Location /static/> |
|
|
|
|
<IfModule mod_expires.c> |
|
|
|
|
ExpiresActive On |
|
|
|
|
ExpiresDefault "access plus 1 month" |
|
|
|
|