diff --git a/Classes/Service/InstallCmsService.php b/Classes/Service/InstallCmsService.php index 85e87db..9ca4a0d 100644 --- a/Classes/Service/InstallCmsService.php +++ b/Classes/Service/InstallCmsService.php @@ -165,7 +165,7 @@ private function task_createVhost() { 'sudo mv %s %s', array( $file, - $this->configuration['locations']['apache_sites'] . '/' . $this->installationConfiguration['name'], + $this->configuration['locations']['apache_sites'] . '/' . $this->installationConfiguration['name'] . '.conf', ) ); diff --git a/Classes/Service/InstallEmptyService.php b/Classes/Service/InstallEmptyService.php index ab0226e..4ba6cdf 100644 --- a/Classes/Service/InstallEmptyService.php +++ b/Classes/Service/InstallEmptyService.php @@ -32,7 +32,7 @@ private function task_createVhost() { 'sudo mv %s %s', array( $file, - $this->configuration['locations']['apache_sites'] . '/' . $this->installationConfiguration['name'], + $this->configuration['locations']['apache_sites'] . '/' . $this->installationConfiguration['name'] . '.conf', ) ); diff --git a/Classes/Service/InstallFlowService.php b/Classes/Service/InstallFlowService.php index f9184ef..0988536 100644 --- a/Classes/Service/InstallFlowService.php +++ b/Classes/Service/InstallFlowService.php @@ -100,7 +100,7 @@ private function task_createVhost() { 'sudo mv %s %s', array( $file, - $this->configuration['locations']['apache_sites'] . '/' . $this->installationConfiguration['name'], + $this->configuration['locations']['apache_sites'] . '/' . $this->installationConfiguration['name'] . '.conf', ) ); diff --git a/Resources/VirtualHostCms.template b/Resources/VirtualHostCms.template index 30223a2..23dd23b 100644 --- a/Resources/VirtualHostCms.template +++ b/Resources/VirtualHostCms.template @@ -14,8 +14,9 @@ Require all granted - ProxyPassMatch ^/(.*\.php(/.*)?)$ unix:/var/run/php5-fpm-vagrant.sock|fcgi://127.0.0.1:9000{documentRoot}/{installationName}/docs - + ProxyPassMatch ^/(.*\.php(/.*)?)$ unix:/var/run/php/php5-fpm-vagrant.sock|fcgi://127.0.0.1:9000{documentRoot}/{installationName}/docs + # ProxyPassMatch ^/(.*\.php(/.*)?)$ unix:/var/run/php/php70-fpm-vagrant.sock|fcgi://127.0.0.1:9000{documentRoot}/{installationName}/docs + ## Logging ErrorLog "{documentRoot}/{installationName}/logs/error.log" ServerSignature Off