Option Includes replaces IncludesNoExec

This commit is contained in:
Peter Hormanns 2024-03-13 11:04:52 +01:00
parent 694b13bb55
commit 7a16ff9165

View File

@ -47,14 +47,14 @@
#if( ${passengerruby} )
PassengerRuby ${passengerruby}
#end
AllowOverride AuthConfig FileInfo Indexes Limit Options=ExecCGI,IncludesNoExec,Indexes,MultiViews,SymLinksIfOwnerMatch,PassengerNodejs,PassengerPython,PassengerRuby,PassengerAppEnv
AllowOverride AuthConfig FileInfo Indexes Limit Options=ExecCGI,Includes,Indexes,MultiViews,SymLinksIfOwnerMatch,PassengerNodejs,PassengerPython,PassengerRuby,PassengerAppEnv
</Directory>
#if( ${cgi} )
<Location /cgi-bin/>
PassengerEnabled Off
SetHandler cgi-script
Options +ExecCGI +IncludesNoExec -Indexes -MultiViews +SymLinksIfOwnerMatch
Options +ExecCGI +Includes -Indexes -MultiViews +SymLinksIfOwnerMatch
</Location>
#end
@ -62,7 +62,7 @@
<Location /fastcgi-bin/>
PassengerEnabled Off
SetHandler fcgid-script
Options +ExecCGI +IncludesNoExec -Indexes -MultiViews +SymLinksIfOwnerMatch
Options +ExecCGI +Includes -Indexes -MultiViews +SymLinksIfOwnerMatch
</Location>
#end
@ -158,14 +158,14 @@
#if( ${passengerruby} )
PassengerRuby ${passengerruby}
#end
AllowOverride AuthConfig FileInfo Indexes Limit Options=ExecCGI,IncludesNoExec,Indexes,MultiViews,SymLinksIfOwnerMatch,PassengerNodejs,PassengerPython,PassengerRuby,PassengerAppEnv
AllowOverride AuthConfig FileInfo Indexes Limit Options=ExecCGI,Includes,Indexes,MultiViews,SymLinksIfOwnerMatch,PassengerNodejs,PassengerPython,PassengerRuby,PassengerAppEnv
</Directory>
#if( ${cgi} )
<Location /cgi-bin/>
PassengerEnabled Off
SetHandler cgi-script
Options +ExecCGI +IncludesNoExec -Indexes -MultiViews +SymLinksIfOwnerMatch
Options +ExecCGI +Includes -Indexes -MultiViews +SymLinksIfOwnerMatch
</Location>
#end
@ -173,7 +173,7 @@
<Location /fastcgi-bin/>
PassengerEnabled Off
SetHandler fcgid-script
Options +ExecCGI +IncludesNoExec -Indexes -MultiViews +SymLinksIfOwnerMatch
Options +ExecCGI +Includes -Indexes -MultiViews +SymLinksIfOwnerMatch
</Location>
#end