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} ) #if( ${passengerruby} )
PassengerRuby ${passengerruby} PassengerRuby ${passengerruby}
#end #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> </Directory>
#if( ${cgi} ) #if( ${cgi} )
<Location /cgi-bin/> <Location /cgi-bin/>
PassengerEnabled Off PassengerEnabled Off
SetHandler cgi-script SetHandler cgi-script
Options +ExecCGI +IncludesNoExec -Indexes -MultiViews +SymLinksIfOwnerMatch Options +ExecCGI +Includes -Indexes -MultiViews +SymLinksIfOwnerMatch
</Location> </Location>
#end #end
@ -62,7 +62,7 @@
<Location /fastcgi-bin/> <Location /fastcgi-bin/>
PassengerEnabled Off PassengerEnabled Off
SetHandler fcgid-script SetHandler fcgid-script
Options +ExecCGI +IncludesNoExec -Indexes -MultiViews +SymLinksIfOwnerMatch Options +ExecCGI +Includes -Indexes -MultiViews +SymLinksIfOwnerMatch
</Location> </Location>
#end #end
@ -158,14 +158,14 @@
#if( ${passengerruby} ) #if( ${passengerruby} )
PassengerRuby ${passengerruby} PassengerRuby ${passengerruby}
#end #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> </Directory>
#if( ${cgi} ) #if( ${cgi} )
<Location /cgi-bin/> <Location /cgi-bin/>
PassengerEnabled Off PassengerEnabled Off
SetHandler cgi-script SetHandler cgi-script
Options +ExecCGI +IncludesNoExec -Indexes -MultiViews +SymLinksIfOwnerMatch Options +ExecCGI +Includes -Indexes -MultiViews +SymLinksIfOwnerMatch
</Location> </Location>
#end #end
@ -173,7 +173,7 @@
<Location /fastcgi-bin/> <Location /fastcgi-bin/>
PassengerEnabled Off PassengerEnabled Off
SetHandler fcgid-script SetHandler fcgid-script
Options +ExecCGI +IncludesNoExec -Indexes -MultiViews +SymLinksIfOwnerMatch Options +ExecCGI +Includes -Indexes -MultiViews +SymLinksIfOwnerMatch
</Location> </Location>
#end #end