PDA

View Full Version : Apache & Filebrowsing


LeoLinux
3rd May 2007, 18:41
Hi,

what do I have to do if I still want to use the pregiven error pages from apache like 404, etc ... but I also want to let people browse some special folders like my pictures which should look like that:

http://www.wintotal.de/Artikel/lokaletestumgebung/7_apache_7.gif

I think I have to add some apache directives to each user which wants to use that... but I don't know what ... and I don't know how to define those special folders which should be able for browsing instead of giving an error 404 ..


Thanks for helping


Leander


P.S.

I allready tried to create a .htaccess in the folder wich I want to be browseable with:

# Datei für Verzeichnis /var/www/web7/web/Bilder
Options +Indexes
DirectoryIndex index.html index.htm


Thanks

Leander

till
4th May 2007, 10:38
Please try to put this in the apache directives field of the website:

<Directory /var/www/web7/web/Bilder>
Options +Indexes
</Directory>

LeoLinux
6th May 2007, 12:32
Thanks - it works perfectly !!


Leander