Skip to content

Instantly share code, notes, and snippets.

@aginanjar
Created March 31, 2017 08:28
Show Gist options
  • Save aginanjar/ac3438fe5d59f732f512f2f1b07df08a to your computer and use it in GitHub Desktop.
Save aginanjar/ac3438fe5d59f732f512f2f1b07df08a to your computer and use it in GitHub Desktop.
# I'm running this configuration host on Mac Osx.
# Not testing this configuration on Linux Host yet.
<VirtualHost *:80>
DocumentRoot "/path/to/yii/frontend/web"
ServerName pos-ebc.frontend.dev
Alias "/new_path" "/path/to/yii/new_path"
<Directory "/path/to/yii/frontend/web">
AllowOverride All
Require all granted
</Directory>
ErrorLog "/path/to/yii/frontend.log"
CustomLog "/path/to/yii/log/frontend-access.log" combined
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment