Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<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