after saving the file.. just restart ur tomcat...
thanks & regards
vijayanand.R
(),,,()
( (. .) .-''''''''''-.
( o ) ) ( 'o' )
=(,,)=(,,)=(,,)==(,,)=
----- Original Message -----
From: "[Vaishali S. Pandya]" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, April 29, 2002 1:56 PM
Subject: Re: How to restrict access of my server??
Thanks
i am working in LAN
and the tomcat is on server obviously
this is unix platform
well i am new in this JSP world and would like to know more
<suppress="true">
is it right?
what to do after saving the file?
execute the xml?
how?
Vaishali
Hai, In tomact's
server.xml file
set suppress property to true...That's all Done...
<!-- "default" handler - static files and dirs. Set the
"suppress" property to "true" to suppress directory listings
when no welcome file is present.
NOTE: This setting applies to *all* web applications that
are running in this instance of Tomcat.
-->
----- Original Message -----
From: "Sowbhagyavalli Suryadevara" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, April 29, 2002 10:22 AM
Subject: How to restrict access of my server??
> HI,
>
> Can anyone tell me how I can stop people from viewing the directory
listings
> and files in the server directories? I use JBoss + Tomcat. If the URL
used
> to access the server has some directory name, then the server displays
the
> whole directory listing. This can cause several security problems.
>
> I need my servlets and JSPs to access these directories but not anyone
else.
>
> Valli
> IIC Technologies Pvt Ltd
> INDIA
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
> http://archives.java.sun.com/jsp-interest.html
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.jsp
> http://www.jguru.com/faq/index.jsp
> http://www.jspinsider.com
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://archives.java.sun.com/jsp-interest.html
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.jsp
http://www.jguru.com/faq/index.jsp
http://www.jspinsider.com
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://archives.java.sun.com/jsp-interest.html
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.jsp
http://www.jguru.com/faq/index.jsp
http://www.jspinsider.com
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://archives.java.sun.com/jsp-interest.html
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.jsp
http://www.jguru.com/faq/index.jsp
http://www.jspinsider.com