Fix Passenger On/Off

This commit is contained in:
Michael Hierweck 2017-06-26 20:03:27 +02:00
parent bfcc4c20b1
commit 10baac3a07

View File

@ -24,23 +24,23 @@
#end
<Directory />
PassengerEnabled Off
PassengerEnabled Off
Options -ExecCGI ${includes} ${indexes} ${multiviews} +SymLinksIfOwnerMatch
</Directory>
<Directory /home/doms/${dom.name}/>
PassengerEnabled On
PassengerEnabled On
AllowOverride AuthConfig FileInfo Indexes Limit Options=IncludesNoExec,Indexes,MultiViews,PassengerNodejs,PassengerPython,PassengerRuby,PassengerAppEnv
</Directory>
<Location /cgi-bin/>
PassengerEnabled Off
PassengerEnabled Off
SetHandler cgi-script
Options +ExecCGI ${includes} -Indexes -MultiViews +SymLinksIfOwnerMatch
</Location>
<Location /fastcgi-bin/>
PassengerEnabled Off
PassengerEnabled Off
SetHandler fcgid-script
Options +ExecCGI ${includes} -Indexes -MultiViews +SymLinksIfOwnerMatch
</Location>
@ -99,23 +99,24 @@
<Directory />
SSLRequireSSL Off
PassengerEnabled On
PassengerEnabled Off
Options -ExecCGI ${includes} ${indexes} ${multiviews} +SymLinksIfOwnerMatch
</Directory>
<Directory /home/doms/${dom.name}/>
SSLRequireSSL On
PassengerEnabled On
AllowOverride AuthConfig FileInfo Indexes Limit Options=IncludesNoExec,Indexes,MultiViews,PassengerNodejs,PassengerPython,PassengerRuby,PassengerAppEnv
</Directory>
<Location /cgi-bin/>
PassengerEnabled Off
PassengerEnabled Off
SetHandler cgi-script
Options +ExecCGI ${includes} -Indexes -MultiViews +SymLinksIfOwnerMatch
</Location>
<Location /fastcgi-bin/>
PassengerEnabled Off
PassengerEnabled Off
SetHandler fcgid-script
Options +ExecCGI ${includes} -Indexes -MultiViews +SymLinksIfOwnerMatch
</Location>