Page 1 of 1

More than one site

PostPosted: 14. October 2004 17:33
by david911
I apologise if this is a question born of stupidity......

XAMPP looks wonderful, and installs like a dream. Even with Windows XP SP2. I would like to test more than one website locally, though, and am unsure where to place the files - there does not appear to be a "public" or "www" directory (if there is, I have overlooked it). So - polite answers only please - where should I stick my websites?

Vielen danke,

david911

PostPosted: 14. October 2004 19:16
by boppy
take

X:\xampp\htdocs

as root-directory for you web files.

PostPosted: 15. October 2004 00:56
by taustin
You can put the base directory for a new virtual host wherever you want, if you get to know the http.conf format.

PostPosted: 15. October 2004 22:47
by Goner
in the Apache config file - httpd.conf - your default website is here :

DocumentRoot "E:/apps/xampp/htdocs"
<Directory "E:/apps/xampp/htdocs">

so if I want to test another website, I create an alias, like this :

Alias /homepage "E:/data/homepage/"

<Directory "E:/data/homepage">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>

and then use http://localhost/homepage in my browser ...