Merge from debian patch 0001-Adapt-apache2.conf-to-work-out-of-the-box.patch

pull/4202/head
Isaac Connor 2022-04-28 10:24:00 -04:00
parent cd457ae03f
commit 1c2c364e1f
1 changed files with 2 additions and 0 deletions

View File

@ -29,6 +29,7 @@
<Directory "@WEB_PREFIX@"> <Directory "@WEB_PREFIX@">
Options -Indexes +FollowSymLinks Options -Indexes +FollowSymLinks
AllowOverride All AllowOverride All
Require all granted
<IfModule mod_authz_core.c> <IfModule mod_authz_core.c>
# Apache 2.4 # Apache 2.4
Require all granted Require all granted
@ -40,6 +41,7 @@
</IfModule> </IfModule>
</Directory> </Directory>
# Remember to enable cgi mod (i.e. "a2enmod cgi").
ScriptAlias /cgi-bin "@CGI_PREFIX@" ScriptAlias /cgi-bin "@CGI_PREFIX@"
<Directory "@CGI_PREFIX@"> <Directory "@CGI_PREFIX@">
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch