Re: [PHP-WIN] PHP's doc_root

2001-03-23 Thread Tom Mathews
The other alternative (for those who don't have control of their DNS fro instance so can't set up a pile of virtual hosts) which I often use when I'm developing is just to set up some alias's to the root of the directory tree that you want to use eg http://localhost/bollox/ would take you to c:\bo

Re: [PHP-WIN] PHP's doc_root

2001-03-22 Thread Rayon Pinnock
Thanks for the help. I ended up using name-based vhosts instead, but I would not have figured it out without your help. Thanks again. Ignatius Teo wrote: > This is an Apache configuration issue. > > You can set up multiple IP-based Virtual Hosts with different document roots on a >Windoze box

RE: [PHP-WIN] PHP's doc_root

2001-03-22 Thread Ignatius Teo
This is an Apache configuration issue. You can set up multiple IP-based Virtual Hosts with different document roots on a Windoze box. In your C:\WINDOWS\HOSTS file, set up some IP addresses: localhost 127.0.0.1 myserver127.0.0.2 etc... In your Apache httpd.conf file: