Hello,
I answered this question yesterday.
--------------------
This is the default behavior for apache web server configured with mod_dir.
(standard configuration) If there is no Directory Index page found it will
display a listing of the contents of the directory.
Either place a default index.html page in the directory or modify the apache
httpd.conf file to route to the page that you desire. You can have many
pages listed separated by a space.
eg:
DirectoryIndex index.html index.jsp index.php yourdesiredpage.whatever
Apache will choose the first one it encounters so add yours to the end. This
only takes effect after you restart apache.
Comment out mod_dir, and mod_autoindex(if you have it) to turn this behavior
off completely.
---------------------
you can also use a .htaccess file to modify a directory(if active), or
modify individual directives in the httpd.conf file.
You have amazing control of your site, redirects, accesses, icons, etc.
simply with apache.
Regards,
Craig
-----Original Message-----
From: Brahmanand Gannur [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 27, 2001 6:15 AM
To: [EMAIL PROTECTED]
Subject: Directory structure blocking
Hi everone
Can u help me in blocking directory contents of webapplication
for tomcat3.2.1 with apache1.3.5 and solaris 2.7
we need it as no one should be able to see the directory structure
thanks in advance