From 10baac3a074392eebfdcae43bb6d6f81a5397dd1 Mon Sep 17 00:00:00 2001 From: Michael Hierweck Date: Mon, 26 Jun 2017 20:03:27 +0200 Subject: [PATCH] Fix Passenger On/Off --- hsarback/src/de/hsadmin/mods/dom/apache-vhost.vm | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/hsarback/src/de/hsadmin/mods/dom/apache-vhost.vm b/hsarback/src/de/hsadmin/mods/dom/apache-vhost.vm index c6700b9..fd3a665 100644 --- a/hsarback/src/de/hsadmin/mods/dom/apache-vhost.vm +++ b/hsarback/src/de/hsadmin/mods/dom/apache-vhost.vm @@ -24,23 +24,23 @@ #end - PassengerEnabled Off + PassengerEnabled Off Options -ExecCGI ${includes} ${indexes} ${multiviews} +SymLinksIfOwnerMatch - PassengerEnabled On + PassengerEnabled On AllowOverride AuthConfig FileInfo Indexes Limit Options=IncludesNoExec,Indexes,MultiViews,PassengerNodejs,PassengerPython,PassengerRuby,PassengerAppEnv - PassengerEnabled Off + PassengerEnabled Off SetHandler cgi-script Options +ExecCGI ${includes} -Indexes -MultiViews +SymLinksIfOwnerMatch - PassengerEnabled Off + PassengerEnabled Off SetHandler fcgid-script Options +ExecCGI ${includes} -Indexes -MultiViews +SymLinksIfOwnerMatch @@ -99,23 +99,24 @@ SSLRequireSSL Off - PassengerEnabled On + PassengerEnabled Off Options -ExecCGI ${includes} ${indexes} ${multiviews} +SymLinksIfOwnerMatch SSLRequireSSL On + PassengerEnabled On AllowOverride AuthConfig FileInfo Indexes Limit Options=IncludesNoExec,Indexes,MultiViews,PassengerNodejs,PassengerPython,PassengerRuby,PassengerAppEnv - PassengerEnabled Off + PassengerEnabled Off SetHandler cgi-script Options +ExecCGI ${includes} -Indexes -MultiViews +SymLinksIfOwnerMatch - PassengerEnabled Off + PassengerEnabled Off SetHandler fcgid-script Options +ExecCGI ${includes} -Indexes -MultiViews +SymLinksIfOwnerMatch