RE: [PHP-WIN] multiple root paths with Apache

From: Date: Fri, 16 Mar 2001 08:24:51 +0000
Subject: RE: [PHP-WIN] multiple root paths with Apache
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-6090@lists.php.net to get a copy of this message
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

« previous php.windows (#6090) next »