Virtual host Help

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

Virtual host Help

Postby Smackie » 11. September 2007 19:49

I am setting up Virtual Host Name Based Well i got the DNS name servers and stuff worked out and i added

Code: Select all
 <VirtualHost *:80>
 ServerAlias *
 DocumentRoot www/kwallen-islands

 <VirtualHost *:8080>
 DocumentRoot www/ki-hosting

to the top of the httpd.conf file and now i get

Access forbidden!

can someone help me?

Thank you
Posts: 27
Joined: 21. August 2007 03:13

Postby Wiedmann » 11. September 2007 22:15

a) DocumentRoot should be a absolute path, and not a relative one.
b) You need a Direcory block for each DocumentRoot path which allows access (like the normal DocumentRoot in httpd.conf).
AF Moderator
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 46 guests