Skip to content

Commit

Permalink
[TASK] Change naming of VirtualHost files
Browse files Browse the repository at this point in the history
  • Loading branch information
langeland committed Aug 8, 2016
1 parent eee8d60 commit 43db082
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Classes/Service/InstallCmsService.php
Original file line number Diff line number Diff line change
Expand Up @@ -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',
)
);

Expand Down
2 changes: 1 addition & 1 deletion Classes/Service/InstallEmptyService.php
Original file line number Diff line number Diff line change
Expand Up @@ -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',
)
);

Expand Down
2 changes: 1 addition & 1 deletion Classes/Service/InstallFlowService.php
Original file line number Diff line number Diff line change
Expand Up @@ -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',
)
);

Expand Down
5 changes: 3 additions & 2 deletions Resources/VirtualHostCms.template
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@
Require all granted
</Directory>

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
Expand Down

0 comments on commit 43db082

Please sign in to comment.