getRemoteUser() always returns null

2005-06-21 Thread Scott Heitkamp
I'm currently using tomcat with the apache connector.  I use apache to 
authenicate the user and then allow them to access certain servlets in tomcat.  
My problem is that when I call getRemoteUser in the servlet, it always returns 
null even though I was authenticated through apache.  I'm assuming that it's 
because the request isn't sending the Authorization Header to tomcat.  How do I 
get it?

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Turning off port 8080 but still need to access to admin pages

2005-06-09 Thread Scott Heitkamp
I need to turn off port 8080, so that you can only access Tomcat by going 
through port 8009 using Apache.  Once I turn off port 8080, I no longer have a 
way of getting to the admin pages for Tomcat.  Is there a way around this?


-
Discover Yahoo!
 Find restaurants, movies, travel & more fun for the weekend. Check it out!

Re: symlink not being completely followed

2005-05-04 Thread Scott Heitkamp
Yes, I have allowLinking="true" in my Context for the webapp I'm working with.

Jason Bainbridge <[EMAIL PROTECTED]> wrote:On 5/4/05, Scott Heitkamp wrote:
> I've setup tomcat to follow a symlink to a directory outside of the webapp. 
> That part works just fine. I can load a jsp that is linked outside the webapp 
> directory. The problem that I am having is that Tomcat is not allowing a Java 
> Servlet to completely follow the symlink.

Do you have allowLinking set to true?

-- 
Jason Bainbridge
http://kde.org - [EMAIL PROTECTED]
Personal Site - http://jasonbainbridge.com

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




-
Yahoo! Mail
 Stay connected, organized, and protected. Take the tour

symlink not being completely followed

2005-05-04 Thread Scott Heitkamp
I've setup tomcat to follow a symlink to a directory outside of the webapp.  
That part works just fine.  I can load a jsp that is linked outside the webapp 
directory.  The problem that I am having is that Tomcat is not allowing a Java 
Servlet to completely follow the symlink.
 
Here is what I've got:
webapp/images -> /images
/images/image.jpg -> subdir/image.jpg
 
When the servlet tries to access the file webapp/images/image.jpg Java doesn't 
think the file exists.  When I print out the canonical path of the file all I 
get is /images/image.jpg.  This is not correct, I should get 
/images/subdir/image.jpg.  My first instinct was that this was a Java problem.  
But I tested it in a basic java program and the image loaded up just fine.  
Which leads me to believe that I have a problem with my Tomcat configuration.
 
I am running Tomcat 5.0.28 on IRIX.


-
Do you Yahoo!?
 Yahoo! Mail - You care about security. So do we.