Created
April 27, 2013 12:34
-
-
Save ProfeC/5472962 to your computer and use it in GitHub Desktop.
I just found this little gem here: http://dsheiko.com/weblog/my-lovely-mac-os-x-web-development-environment#highlighter_243198. Looks like something that could be useful to a few. ===> "Rob Allen has been quite comprehensive in his post Automatic Apache vhosts. If briefly, we just add at the bottom of /opt/local/apache2/conf/httpd.conf the follo…
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
| <Virtualhost *:80> | |
| VirtualDocumentRoot "/Users/yourname/Sites/dev/%1/wwwroot" | |
| ServerName vhosts.dev | |
| ServerAlias *.dev | |
| UseCanonicalName Off | |
| LogFormat "%V %h %l %u %t \"%r\" %s %b" vcommon | |
| ErrorLog "/Users/yourname/Sites/dev/vhosts-error_log" | |
| <Directory "/Users/yourname Sites/dev/*"> | |
| Options Indexes FollowSymLinks MultiViews | |
| AllowOverride All | |
| Order allow,deny | |
| Allow from all | |
| </Directory> | |
| </Virtualhost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment