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