Cleaner Apache config
This commit is contained in:
parent
4d9ce06be1
commit
8539324fa4
|
@ -36,16 +36,17 @@
|
|||
# Perl script
|
||||
# Note: to increase performance, you can avoid manager stay in memory
|
||||
# by using "SetHandler cgi-script" instead of Plack framework
|
||||
RewriteEngine on
|
||||
RewriteRule ^/$ /index.pl [R]
|
||||
<Location /index.pl>
|
||||
<Location />
|
||||
Require all granted
|
||||
#SetHandler cgi-script
|
||||
Options +ExecCGI
|
||||
SetHandler perl-script
|
||||
PerlResponseHandler Plack::Handler::Apache2
|
||||
PerlSetVar psgi_app __MANAGERPSGIDIR__/manager-server.psgi
|
||||
</Location>
|
||||
<Location /static>
|
||||
SetHandler none
|
||||
Options -ExecCGI
|
||||
</Location>
|
||||
|
||||
<Location />
|
||||
<IfModule mod_deflate.c>
|
||||
|
|
|
@ -54,16 +54,17 @@
|
|||
# Perl script
|
||||
# Note: to increase performance, you can avoid manager stay in memory
|
||||
# by using "SetHandler cgi-script" instead of Plack framework
|
||||
RewriteEngine on
|
||||
RewriteRule ^/$ /index.pl [R]
|
||||
<Location /index.pl>
|
||||
<Location />
|
||||
Require all granted
|
||||
#SetHandler cgi-script
|
||||
Options +ExecCGI
|
||||
SetHandler perl-script
|
||||
PerlResponseHandler Plack::Handler::Apache2
|
||||
PerlSetVar psgi_app __MANAGERPSGIDIR__/manager-server.psgi
|
||||
</Location>
|
||||
<Location /static>
|
||||
SetHandler none
|
||||
Options -ExecCGI
|
||||
</Location>
|
||||
|
||||
<Location />
|
||||
<IfModule mod_deflate.c>
|
||||
|
|
|
@ -39,16 +39,17 @@
|
|||
# Perl script
|
||||
# Note: to increase performance, you can avoid manager stay in memory
|
||||
# by using "SetHandler cgi-script" instead of Plack framework
|
||||
RewriteEngine on
|
||||
RewriteRule ^/$ /index.pl [R]
|
||||
<Location /index.pl>
|
||||
<Location />
|
||||
Require all granted
|
||||
#SetHandler cgi-script
|
||||
Options +ExecCGI
|
||||
SetHandler perl-script
|
||||
PerlResponseHandler Plack::Handler::Apache2
|
||||
PerlSetVar psgi_app __MANAGERPSGIDIR__/manager-server.psgi
|
||||
</Location>
|
||||
<Location /static>
|
||||
SetHandler none
|
||||
Options -ExecCGI
|
||||
</Location>
|
||||
|
||||
<Location />
|
||||
<IfModule mod_deflate.c>
|
||||
|
|
Loading…
Reference in New Issue
Block a user