|
#1
| |||
| |||
|
I figured out that I could probably set up apache to have several virtual hosts for each web project I work on. This way I could just go to http://project1/ and http://project2/ and I could have separate document roots for each project. Does anyone know the right apache httpd.conf directives to set this up so that http://project1 points to a directory on my hard drive and http://project2 points to a different directory? Thanks. O
|
|
#2
| |||
| |||
|
when in doubt, use the gobs of documentation available to you. http://httpd.apache.org/docs-2.0/vho....html#purename |
|
#3
| ||||
| ||||
|
Just in case some of the info for Apache 2.0 varies, you should stick with http://httpd.apache.org/docs/vhosts/index.html , since unless you installed 2.0, OS X runs 1.3.x. You probably want to use name-based vhosts.
|
![]() |
| Bookmarks |
| Thread Tools | |
|
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Apache + mod_rendezvous + virtual hosts? | suzerain | Design & Media | 0 | February 9th, 2003 05:29 PM |
| Apache Virtual Hosts... help! | TommyWillB | Design & Media | 1 | January 1st, 2003 07:10 PM |
| Apache and hosts. | hugheba | Mac OS X System & Mac Software | 5 | July 7th, 2002 03:42 AM |