Skip to content

Instantly share code, notes, and snippets.

@sdwrage
Created September 14, 2015 03:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sdwrage/6658ee64cd569e93e8ab to your computer and use it in GitHub Desktop.
Save sdwrage/6658ee64cd569e93e8ab to your computer and use it in GitHub Desktop.
<VirtualHost *:80>
ServerAdmin sdwrage@gmail.com
DocumentRoot "/Users/JustinLonas/projects/localhost"
ServerName localhost
ErrorLog "/private/var/log/apache2/localhost-error_log"
CustomLog "/private/var/log/apache2/localhost-access_log" common
<Directory "/Users/JustinLonas/projects/localhost">
Options +Indexes
AllowOverride All
DirectoryIndex index.html index.php
Require all granted
</Directory>
</VirtualHost>
# localhost
<VirtualHost *:80>
ServerAdmin sdwrage@gmail.com
DocumentRoot "/Users/JustinLonas/projects/phpmyadmin"
ServerName phpmyadmin
ErrorLog "/private/var/log/apache2/phpmyadmin-error_log"
CustomLog "/private/var/log/apache2/phpmyadmin-access_log" common
<Directory "/Users/JustinLonas/projects/phpmyadmin">
Options +Indexes
AllowOverride All
DirectoryIndex index.html index.php
Require all granted
</Directory>
</VirtualHost>
<VirtualHost *:80>
ServerName zf2-tutorial.localhost
DocumentRoot "/Users/JustinLonas/projects/zfbasic/public"
SetEnv APPLICATION_ENV "development"
<Directory "/Users/JustinLonas/projects/zfbasic/public">
DirectoryIndex index.php
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
<VirtualHost *:80>
ServerName websitehere.local
DocumentRoot "/Users/justinlonas/projects/websitehere.local"
SetEnv APPLICATION_ENV "development"
<Directory "/Users/justinlonas/projects/websitehere.local">
DirectoryIndex index.php
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment