You should try using virtual hosting (name based).

First thing you have to do is set your DNS server to give the same IP for n
sites that you want to use. That IP is IP of the machine on which you have
installed Apache. Next thing you have to do is to tell apache what all (virtual)
sites it will be hosting and what are corresponding root folders. You can find
one example of it at the end of httpd.conf file.

Regards,       | Linux
Urmil Parikh   | It is now safe to turn on your computer

-----Original Message-----

Is it at all possible to create multiple ("virtual") root paths on a single
Apache installation? I have seperate folders for the different sites I am
concurrently developing and would like to have each as it's own root for
the site files that it contains, because I am referencing my code from the
root.. ie.
<a href="/blah.html">
<img src="/blah.gif">

It doesn't sound logical that you could, so if not possible, are there any
alternative solutions to accomplish this?
I am running Win2000.
Thanks


Damien du Toit
New Media Programmer

tel +27 21 425 9710
fax +27 21 425 9713

GENERATOR COMMUNICATIONS | BE AN ISLAND


-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to