Question : tree directory in Apache

Hi, I have configured two virtual host in Apache but when digit:

http://mail.mydomain.com/mail

I view the tree directory (list of files and directory folder)!, if I use:

http://mail.mydomain,com/mail/login.php

then is ok because I view default web page.
If I digit:

http://mail.mydomain.com/openwebmail

is ok because is loaded the default index page.
The directory 'openwebmail' is under /var/www/html/
I must modify some parameter in virtual host ?
Thanks.

-
 Salvatore.
Attachments:
 
httpd conf
 

Answer : tree directory in Apache

delete this indexes word from

modify this line

 Options Indexes FollowSymLinks



to

 Options  FollowSymLinks
under


<Directory "/var/www/html">


</directory>

this indexes word make show all directory tree

restart apache after this



Random Solutions  
 
programming4us programming4us