Skip to content

Instantly share code, notes, and snippets.

@drogers98
Created June 16, 2015 17:10
Show Gist options
  • Save drogers98/91890ae4aeabc4f2dece to your computer and use it in GitHub Desktop.
Save drogers98/91890ae4aeabc4f2dece to your computer and use it in GitHub Desktop.
apache config
<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