Last active
September 20, 2016 18:58
-
-
Save joshuamabina/54d24da1b636e5b5c38f6f57c3cef527 to your computer and use it in GitHub Desktop.
Awesome apache config file starter.
This file contains 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
<VirtualHost *:80> | |
Define APP_NAME app | |
Define PROJECT_ROOT /var/www/${APP_NAME} | |
ServerName ${APP_NAME}.local | |
DocumentRoot ${PROJECT_ROOT}/public/index.php | |
<Directory "${PROJECT_ROOT}/public"> | |
Options FollowSymLinks | |
AllowOverride All | |
</Directory> | |
ErrorLog ${PROJECT_ROOT}/error.log | |
CustomLog ${PROJECT_ROOT}/access.log combined | |
</VirtualHost> | |
# vim: syntax=apache ts=4 sw=4 sts=4 sr noet |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment