Raucherkrebs: Apache 2.0: You don't have permission to access / on this server

Beitrag lesen

Hallo,

woran kann es liegen, dass ich nicht auf meinen virtuellen Server zugreifen kann?

In der error log steht:

[Tue Aug 15 12:35:29 2006] [error] [client 127.0.0.1] Directory index forbidden by rule: D:/homepage/

Meine Konfiguration:

NameVirtualHost 127.0.0.1

<VirtualHost myserver>
    <Location />
        allow from all
    </Location>
    ServerAdmin webmaster@local.com
    DocumentRoot d:\homepage\myserver
    ServerName myserver
    ErrorLog logs/myserver-error_log
    CustomLog logs/myserver-access_log common
</VirtualHost>

For PHP 5 do something like this:

LoadModule php5_module "c:/php/php5apache2.dll"
AddType application/x-httpd-php .php

configure the path to php.ini

PHPIniDir "C:/php"