Did you give Apache <Directory> rights to the directory structure for your application 
and the folders where your css and images are stored?

>>> [EMAIL PROTECTED] 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" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
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: [EMAIL PROTECTED] 
For additional commands, e-mail: [EMAIL PROTECTED] 



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to