tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Howard Watson" <howa...@esgw.org>
Subject Re: URL path naming question, recommended naming conventions?
Date Wed, 31 Dec 2003 21:36:35 GMT
Did you give Apache <Directory> rights to the directory structure for your application
and the folders where your css and images are stored?

>>> jemiller@uchicago.edu 12/31/03 02:20PM >>>
OK, thanks. I got it to work using the servlet as the welcome file, but, now
I have the problem that I don't know how to protect the servlet when it's
accessed as the welcome file. I tried using a <url-pattern>/</url-pattern>
for a security constraint, but, that causes images and a CSS file that I'm
using on my login page to be inaccessible.


Jon

----- Original Message ----- 
From: "Shapira, Yoav" <Yoav.Shapira@mpi.com>
To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
Sent: Wednesday, December 31, 2003 1:05 PM
Subject: RE: URL path naming question, recommended naming conventions?


>
> Howdy,
> With tomcat 5 you can use a servlet as an index page, i.e. a
> welcome-file in web.xml.  Don't use /servlet as part of the URL unless
> you have to, as that just gives hackers a clue.
>
> Yoav Shapira
> Millennium ChemInformatics


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



---------------------------------------------------------------------
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