in your Apache -> httpd.conf, comment out this line.....and restart apache.

AddModule mod_autoindex.c

hth
jeff


                                                                                       
                                 
                    "Atif Jakupovic"                                                   
                                 
                    <Atif_Jakupovic@hc       To:     [EMAIL PROTECTED]         
                                 
                    -sc.gc.ca>               cc:                                       
                                 
                                             Subject:     [PHP-INST] Apache_1.3.26 - 
Directory Access                   
                    01/31/2003 01:05                                                   
                                 
                    PM                                                                 
                                 
                                                                                       
                                 
                                                                                       
                                 




I need to find out how to protect files in a directory to be seen by a Web
browser.

For example: The  'http://my_web_site/my_directory/index.php' file will be
displayed correctly, but if I type 'http://my_web_site/my_directory/' I'll
see the list of files and directories in the 'my_directory' directory.

     (Embedded image moved to file: pic30568.pcx)

This is not secure.

Please, does somebody know how I can protect a direct access to my
directories from a web browser?

Thank you

--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to