On 19 Jul 2005 08:01:27 -0700, "damezumari" <jannordgreen@gmail.com>
wrote:
>I use winxp.
>
>I use xampp from apachefriends.org and are extremely pleased with the
>programs. The installation went like a dream.
>
>One question:
>
>At the moment, when I use localhost, I put all the php files I write in
>the folder ...\apache php mysql etc\xampp\htdocs\xampp, however I would
>like to put them in various folders like c:\php files\project1\, c:\php
>files\project 2, and even on my usb stick like e:\php files\project1\.
>
>Can this be done? How do I easily change between the folders?
>
>I am grateful for any !
>
>Regards,
>
>Jan Nordgreen
Jan,
Can you use virtual hosts with xampp? I'm using the standard Apache
2.0.52 under WinXP on my development machine -- and I just create
different directories for different projects, set them up as virtual
hosts, set them up in c:\windows\system32\drivers\etc\hosts to point
to 127.0.0.1 -- and then restart Apache.
An example listing in the hosts file is:
127.0.0.1 test tnw nw thenextwindow testing apache http manual
each of those is a virtual host, all pointing to 127.0.0.1. The
httpd.conf file's virtual host directives point to each's "root"
directory.
For some examples of my setup, you can see a discussion in my web
design forums at
http://www.terrystockdale.com/forums...opic.php?t=165
Terry
My weekly newsletter:
http://www.terryscomputertips.com