VirtualHost problem

Alles, was den Apache betrifft, kann hier besprochen werden.

VirtualHost problem

Postby WSD » 13. October 2010 19:41

Dear members, can someone tell me why I can't view my index.php from the subdir /oorbellenboutique/ ???

It shows http:// http://www.oorbellenboutique.nl/startpagina/index.php but it must be the index.php from f:/inetpub/wwwroot/oorbellenboutique

The correct URL must be: http:// http://www.oorbellenboutique.nl/index.php

My DNS is:

A *.oorbellenboutique.nl → 83.87.163.224

A oorbellenboutique.nl → 83.87.163.224

CNAME http://www.oorbellenboutique.nl → oorbellenboutique.nl

My URL is: http://www.oorbellenboutique.nl

I'm running Apache 2.x

NameVirtualHost 192.168.0.199:80

NameVirtualHost 192.168.0.199:443

<VirtualHost 192.168.0.199:80 192.168.0.199:443>
ServerName oorbellenboutique.nl
ServerAlias http://www.oorbellenboutique.nl
DocumentRoot f:/inetpub/wwwroot/oorbellenboutique
RewriteEngine On
KeepAlive Off
DocumentRoot "f:/inetpub/wwwroot"
<Directory f:/inetpub/wwwroot/oorbellenboutique>
DirectoryIndex index.php
Order deny,allow
Allow from all
</Directory>
RewriteCond %{HTTP_HOST} ^(?:www\.)?oorbellenboutique\.nl$
ReWriteRule ^(.*) /oorbellenboutique/$1
</virtualhost>
WSD
 
Posts: 1
Joined: 13. October 2010 19:39

Return to Apache

Who is online

Users browsing this forum: No registered users and 31 guests