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>
 ServerName www.kwallen-islands.uni.cc
 ServerAlias kwallen-islands.uni.cc *.kwallen-islands.uni.cc
 DocumentRoot www/kwallen-islands
 </VirtualHost>

 <VirtualHost *:8080>
 ServerName www.ki-hosting.uni.cc
 DocumentRoot www/ki-hosting
 </VirtualHost>


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

Access forbidden!

can someone help me?

Thank you
Smackie
Smackie
 
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).
Wiedmann
AF Moderator
 
Posts: 17102
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 110 guests