Page 1 of 1

directory index

Posted: Mon Nov 14, 2011 7:55 pm
by nobody
I have a customer who wants to use directory index. I created a .htaccess with Options +Indexes and turned files into 777 but no luck.

Any ideas how to do that for a specific customer ?

thanks !

Re: directory index

Posted: Mon Nov 14, 2011 11:20 pm
by mikeshinn
Check your AllowOverride setting in apache. That prevents htaccess overrides.

Re: directory index

Posted: Tue Nov 15, 2011 1:10 pm
by nobody
mikeshinn wrote:Check your AllowOverride setting in apache. That prevents htaccess overrides.
Thanks for your reply mike.

There are many allowoverrides in different directories in the httpd.conf.

Example :

Code: Select all

<Directory "/var/www/html">
Alias /error/ "/var/www/error/"
etc ...

I am not sure which one to change.

Any ideas ?

Thanks.

Re: directory index

Posted: Tue Nov 15, 2011 11:10 pm
by mikeshinn
You want to change the root directory, if its configured on your system. If its not, then look for an override for the vhosts directory.