On Jan 25, 2:06 pm, Davide Bianchi <davideyeahs...@onlyforfun.net>
wrote:
> On 2007-01-25, alan.lar...@gmail.com <alan.lar...@gmail.com> wrote:
>
> > I cant get pages to serve from a subdirectory.
> > Alias /mysite/ "/usr/local/apache2/htdocs/mysite/"
> ><Directory "/usr/local/apache2/htdocs/mysite/">
> > AllowOverride All
> > Order allow,deny
> > Allow from all
> ></Directory>
> > Anything inhttp://myserver/mysiteserves, but anything in
> >http://myserver/mysite/mysubdiris forbiddenWhich error is reported in the error_log ?
>
> > The contents of the mysubdir have precisely the same ownership and
> > permissions as those in the directory mysite.But the directory itself has the same permission as his parent?
>
> Davide
>
> --
> Your mouse has moved. Windows NT must be restarted for the change
> to take effect. Reboot now? [ OK ]
> -- From a Slashdot.org post
Everything under mydir is 744 and owned and grouped by me.
The access log records 403 and 451 for attempts to access files in
mysubdir.
The error log has
Permission denied: /usr/local/apache2/htdocs/mydir/mysubdir/.htaccess
pcfg_openfile: unable to check htaccess file, ensure it is readable
Ah ... there is no .htaccess in the subdir, but does why does there
need to be one?
Thanks.