Skip to content

Instantly share code, notes, and snippets.

@alexandr-parkhomenko
Last active August 8, 2017 13:17
Show Gist options
  • Save alexandr-parkhomenko/ef98161e852efcf173eb9426fc3cbe63 to your computer and use it in GitHub Desktop.
Save alexandr-parkhomenko/ef98161e852efcf173eb9426fc3cbe63 to your computer and use it in GitHub Desktop.
#mod_macro https://www.cri.ensmp.fr/~coelho/mod_macro/
<Macro VHostDev $baseDomain>
<VirtualHost *:80>
ServerName $baseDomain.dev
ServerAlias www.$baseDomain.dev
# Module mpm-itk
AssignUserID alexandr alexandr
DocumentRoot /home/alexandr/projects/dev/application/$baseDomain/web
DirectoryIndex app.php
ErrorLog /home/alexandr/projects/dev/application/$baseDomain/app/logs/apache_error.log
CustomLog /home/alexandr/projects/dev/application/$baseDomain/app/logs/apache_access.log combined
SetEnv ORO_PHP_PATH "/home/alexandr/.phpbrew/php/php-7.1.8/bin/php"
<Directory "/home/alexandr/projects/dev/application/$baseDomain/web/">
Require all granted
AllowOverride All
</Directory>
</VirtualHost>
</Macro>
Use VHostDev commerce-crm-ee
Use VHostDev crm-enterprise
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment