Posts: 31,872
Thanks: 689
Thanked 4,182 Times in 3,201 Posts
Quote:
Yes php is disabled, I'm not planning to use it
But you tried to access a .php page, so this does not make any sense. if you have .php pages in the websites and want to access thejm, then php has to be enabled. Otherwise the lines have to pe present as it is a security risc to access a .php page with php disabled as it can contain passwords and other security relevant information in cleartext.
Quote:
by why do I have to remove those lines to get the indexes to work?
No you have misuderstood, with the php lines removed, I goto http://mysite.com/uploads/ and I get a directory list, which is what I want, however, with the php lines I goto http://mysite.com/uploads/ and I get the error:
[Fri Mar 27 16:14:08 2009] [error] [client 192.168.1.1] client denied by server configuration: /var/www/mysite.com/web/uploads/index.php
The php issue seems to have dissolved, but I still cannot understand why I get an options not allowed here error, when I use a .htaccess with "options +indexes", even tho I have allowoverride indexes in the vhost file
Posts: 31,872
Thanks: 689
Thanked 4,182 Times in 3,201 Posts
You can not set options +indexes in a .htaccess files as thos would be a very big security hole. You can set options +indexes instead in the apache directives field of the website.
Thanks Till that works, but only if I enable php, otherwise I get the 403 index.php error, when requesting a directory listing for some strange reason...
Recent comments
1 day 5 hours ago
1 day 8 hours ago
1 day 9 hours ago
1 day 11 hours ago
1 day 12 hours ago
1 day 14 hours ago
1 day 15 hours ago
2 days 7 hours ago
2 days 8 hours ago
2 days 12 hours ago