Last active
August 8, 2017 13:17
-
-
Save alexandr-parkhomenko/ef98161e852efcf173eb9426fc3cbe63 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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