Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Apache/Tomcat Directory Browsing!!???

Status
Not open for further replies.

baden

Programmer
Feb 6, 2002
125
US
Right now I have Apache and Tomcat setup.

The following configuration:
----
Alias /canopus/ "C:/JAVADEV/Apache Group/Apache Tomcat 4.0.2/webapps/ROOT/canopus/"

<Directory &quot;C:/JAVADEV/Apache Group/Apache Tomcat 4.0.2/webapps/ROOT/canopus&quot;>
Options FollowSymlinks MultiViews
# Indexes disabled - do not allow directory browsing
AllowOverride None
Order allow,deny
Allow from all
</Directory>
----
Causes Apache to serve the pages - no JSP/servlet capabilities



The Following config: JkMount /canopus/* ajp13
...causes Tomcat to serve everything - html pages, jsp, etc... From what I've read, Apache should take care of the security issues, but I can't quite get this working.

My application is in $CATALINA_HOME/webapps/ROOT/canopus/
There is one directory that I do not have a 'DirectoryIndex' file setup, ie. index.html (so I can test the security, and I don't need one here).

Can anyone give me a hand with this?!

Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top