Isn't there any way to do the setting in webapp (probably web.xml), since when application is hosted on shared server these configurations may not be allowed by the hosting provider. -sourabh
----- Original Message ----- From: Suresh <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, March 05, 2002 10:20 AM Subject: Re: How to protect directory > HI Pradeep, > Change the confiduration setting in the server.xml file located at "$TOMCAT_HOME$\conf" directory to > > <StaticInterceptor listings="false" /> > > Restart the tomcat for the change to come in effect. > Thanks > -Suresh > > "[Pradeep Naik]" wrote: > > > Hi, > > > > I am using Tomcat V4.0 as a JSP/Servlet engine. I have following questions.. > > > > User can request the page as (for example, > > http://domain:8080/jsp/workdirectory/login.jsp ) In such case, how do I > > proetect the directory jsp/workdirectory so that users will not have access > > to see the contents in these directory. > > > > I think, I may need to do something in the server.xml file. Can you please > > help me out.. > > > > Thanks.. > > > > Pradeep.. > > > > ___________________________________________________________________________ > > To unsubscribe, send email to [EMAIL PROTECTED] and include in the body > > of the message "signoff SERVLET-INTEREST". > > > > Archives: http://archives.java.sun.com/archives/servlet-interest.html > > Resources: http://java.sun.com/products/servlet/external-resources.html > > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html > > ___________________________________________________________________________ > To unsubscribe, send email to [EMAIL PROTECTED] and include in the body > of the message "signoff SERVLET-INTEREST". > > Archives: http://archives.java.sun.com/archives/servlet-interest.html > Resources: http://java.sun.com/products/servlet/external-resources.html > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
