Virtual Hosts xampp 1.6.6

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

Virtual Hosts xampp 1.6.6

Postby jami » 24. January 2009 14:52

Voilà, mon problème...

Je voudrais mettre deux sites web sur xampp.

Ceci marche sur le LAN mais à partir de l'internet avec deux urls differents, p.e. et, je tombe toujours sur le premier site, c-à-d, le default localhost.

<VirtualHost *:80>
DocumentRoot C:/xampp/htdocs
ServerName localhost

<VirtualHost *:80>
DocumentRoot C:/xampp/htdocs/website1

Dans WINDOWS/System32/drivers/etc localhost

Qqn peut m'aider??????
Posts: 9
Joined: 08. April 2005 08:07

Re: Virtual Hosts xampp 1.6.6

Postby Wiedmann » 24. January 2009 23:33

Well, I don't understand frensh...

But in your config there is one line missing:
Code: Select all
NameVirtualHosts *:80
AF Moderator
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: Virtual Hosts xampp 1.6.6

Postby Izzy » 25. January 2009 00:25

Why are you posting using the French language in the Apache Friends in English forum when all your other posts, except your double post of this same issue, are using the correct English language for this forum - you can post in English as you have already proven in the past, so Why?

Please don't double post the same topic it is bad forum etiquette as is posting in the wrong language when you know and can to do otherwise.

Also please read the comments in the httpd-vhosts.conf file, in particular the method used to check your code for errors, then paste the full message here not just the snippets that you feel give you a positive outcome, like Syntax OK.
This is not the full message returned after the apache -S command and the full message would have given more clues to rectify your problem.

Here is a link to 25 Forum Etiquette Tips - please read, they are in English which I know you can read, write and understand quite well because you have been visiting these forums now for quite some time.
Posts: 3344
Joined: 25. April 2006 17:06

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 39 guests