01-24-07 12:54 PM
On Wed, 24 Jan 2007 11:36:12 +0100, Alfred Wallace <popup@free.Fr> wrote:
> Hi,
>
> In a new apache 2.2 httpd.conf (easyphp),
> I try to change documentroot.
>
> and the http://127.0.0.1 returns:
> Forbidden
> You don't have permission to access / on this server.
>
> #DocumentRoot "${path}/www"
> DocumentRoot "C:/Program Files/EasyPHP 2.0b1/www2"
> don't work,
> but
> #DocumentRoot "${path}/www"
> DocumentRoot "C:/Program Files/EasyPHP 2.0b1/www"
>
> works!!!
>
> and
> DocumentRoot "c:/www" doesn't work.
Check your <Direcory></Directory> configuration.
Usually, it's something like this:
#Normally deny access
<Directory />
Order deny,allow
Deny from all
</Directory>
#Allow access to doc root
<Directory "/path/to/webroot">
Order allow,deny
Allow from all
</Directory>
So you'll have to hunt down (or create) the <Directory> for your new
document-root.
--
Rik Wasmus
[ Post a follow-up to this message ]
|