PDA

View Full Version : Directory Listing for certain directories


Martin1982
4th April 2006, 12:26
Is it possible to set the directory listing to "on" for certain websites on self-specified folders? And if yes, how?

falko
4th April 2006, 18:26
You can put something like this into the "Apache Directives" field of the respective web site in ISPConfig:

<Directory "/path/to/directory">
Options +Indexes
IndexOptions FancyIndexing IconsAreLinks
</Directory>

Also have a look here: http://www.apachefreaks.com/tutorials/24/1.php

Martin1982
6th April 2006, 10:08
I filled the following out as Apache Directives within the site on ISPConfig, although it doesn't seem to have any impact at all.

<Directory '/home/www/www.dataresort.estebanmedia.selfip.biz/web/user_uploads'>
Options +Indexes
IndexOptions FancyIndexing IconsAreLinks
</Directory>

falko
6th April 2006, 12:05
Do you find the same directive in your Vhosts_ispconfig.conf?
Anything in the Apache error log?

Martin1982
6th April 2006, 15:18
Do you find the same directive in your Vhosts_ispconfig.conf?
Anything in the Apache error log?

Yes, I found the directive in the Vhosts_ispconfig.conf
No, no strange Apache error logs

I don't really understand where it's going wrong at this moment

falko
7th April 2006, 13:21
Do you have an .htaccess file in /home/www/www.dataresort.estebanmedia.selfip.biz/web/user_uploads?


What happens if you use only

<Directory '/home/www/www.dataresort.estebanmedia.selfip.biz/web/user_uploads'>
Options +Indexes
</Directory>