simple folder alias
I have various projects on a single development folder.
Some of them are websites.
And to keep everything close, I like to stay away from putting stuff on the classic /htdocs (win) or /Sites (mac) folders.
So I simply create aliases on apache's httpd.conf file:
Alias /somewebsite.com c:/dev/git-repos/somewebsite.com
<Directory "c:/dev/git-repos/somewebsite.com">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
And then, access with http://localhost/somewebsite.com
Written by Rui Nunes
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Apache
Authors
Related Tags
#apache
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#