tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <Yoav.Shap...@mpi.com>
Subject RE: How to save files being download
Date Fri, 22 Oct 2004 18:14:17 GMT

Hi,
Change directoryListings to false for the DefaultServlet in
conf/web.xml, as explained in the Tomcat FAQ.

Yoav Shapira http://www.yoavshapira.com
 

>-----Original Message-----
>From: vivek gupta [mailto:gvivekkumar@yahoo.com]
>Sent: Friday, October 22, 2004 2:07 PM
>To: Tomcat Users List
>Subject: How to save files being download
>
>Hi Folks,
>          I am testing my website at web hosting
>company which is using tomcat. I can see my
>application running if I type www.abc.com/root/.
>
>But my problem is if I put
>
>www.abc.com/root/jsp it show all my jsps which lying
>in jsp directory and let any one to download my file.
>I tested any my localhost to and it works same.
>
>Any one know how to prevent it. What setting needs to
>change so that if user types
>www.abc.com/root/jsp
>
>he get unauthorised access or page can not be
>displayed kind message.
>
>Thanks in advance
>Vivek
>
>
>
>_______________________________
>Do you Yahoo!?
>Declare Yourself - Register online to vote today!
>http://vote.yahoo.com
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org




This e-mail, including any attachments, is a confidential business communication, and may
contain information that is confidential, proprietary and/or privileged.  This e-mail is intended
only for the individual(s) to whom it is addressed, and may not be saved, copied, printed,
disclosed or used by anyone else.  If you are not the(an) intended recipient, please immediately
delete this e-mail from your computer system and notify the sender.  Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message