> So I tried to add this in the top-level htaccess:
> <Directory /web/stats>
> Order allow,deny
> Allow from all
> php3_auto_append_file none
> php3_auto_prepend_file none
> </Directory>
>> but this gives me a 500 error when I try to view the stats?
>> Any ideas why this doesn't work?
>
Because Directory isn't valid in .htaccess context:
http://apache.mirrors.esat.net/docs/mod/core.html#directory
<Directory> directive
Syntax: <Directory directory> ... </Directory>
Context: server config, virtual host
Status: Core.
Try removing the Directory block around the directives.
Cheers,
adam
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!