Synology-Forum.nl

Overige software => Web Station => Topic gestart door: Anonymous op 13 oktober 2010, 20:43:42

Titel: Virtuelhost
Bericht door: Anonymous op 13 oktober 2010, 20:43:42
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 (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 (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 (http://www.oorbellenboutique.nl) ? oorbellenboutique.nl

My URL is: http://www.oorbellenboutique.nl (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 (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>
Titel: Re: Virtuelhost
Bericht door: Björn op 14 oktober 2010, 10:25:47
Citaat
DocumentRoot f:/inetpub/wwwroot/oorbellenboutique
Your site doesn't seem to be running on a Synology NAS. This forum is a Dutch forum for Synology NAS products.
Closing topic.