More than one site

Problems with the Windows version of XAMPP, questions, comments, and anything related.

More than one site

Postby david911 » 14. October 2004 17:33

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,

Posts: 6
Joined: 14. October 2004 17:15

Postby boppy » 14. October 2004 19:16



as root-directory for you web files. diesem Sinne
yours boppy

Interpunktion und Orthographie dieses Beitrags sind frei erfunden.
Eine Übereinstimmung mit aktuellen oder ehemaligen Regeln wäre rein zufällig und ist nicht beabsichtigt.
User avatar
AF Moderator
Posts: 501
Joined: 27. December 2002 02:15
Location: W-E-City

Postby taustin » 15. October 2004 00:56

You can put the base directory for a new virtual host wherever you want, if you get to know the http.conf format.
Posts: 150
Joined: 24. September 2004 00:23
Location: Huntington Beach CA

Postby Goner » 15. October 2004 22:47

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

and then use http://localhost/homepage in my browser ...
Posts: 6
Joined: 12. September 2004 15:01
Location: Rotterdam, Netherlands

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 59 guests