PDA

View Full Version : how can I turn on Indexes?



Rainner
08-24-2007, 04:57 PM
Hi all,

I need to turn on indexes for a subfolder so when page is viewed a list of directory contents is shown.

I see that DirecAdmin makes each client it's own httpd.conf

I thought modifying this would work but when I opened it to review it has the message in it:

"Modifying this file is not recommended as any changes you make will be overwritten when the user makes any changes to his/her website"

So how can I turn on indexes just for 1 particular clients sub folder?

Thank you !

Rainner

iceuk626
08-24-2007, 05:27 PM
create a .htaccess file and add this:


Options Indexes

Rainner
08-24-2007, 06:30 PM
thank you :)