Created
June 16, 2015 17:10
-
-
Save drogers98/91890ae4aeabc4f2dece to your computer and use it in GitHub Desktop.
apache config
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
<Directory "/Users/YOURUSERNAMEHERE/Sites"> | |
DirectoryIndex index.php index.cfm index.html index.htm | |
Options Indexes FollowSymLinks MultiViews | |
AllowOverride All | |
Require all granted | |
#Default environment variables | |
SetEnv ENVIRONMENT "local" | |
SetEnv DB1_USER "YOUR_DB_USERNAME" | |
SetEnv DB1_PASS "YOUR_DB_PASSWORD" | |
SetEnv DB1_HOST "127.0.0.1" | |
</Directory> | |
<VirtualHost _default_:80> | |
ServerName localhost | |
DocumentRoot /Library/WebServer/Documents | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment