Re: Strange Redirection

2008-02-28 Thread Stephen Nelson-Smith
On Thu, Feb 28, 2008 at 12:38 PM, Pid <[EMAIL PROTECTED]> wrote:
> Stephen Nelson-Smith wrote:
>  > I have deployed an application under Tomcat, fronted by Apache.  I am
>  > experiencing what looks like strange redirects when I try to use the
>  > application.
>  >
>  > The front page is a login screen, but if I try to login, Tomcat
>  > attempts to locate a resource called /Login.jsp, which doesn't exist.
>  >
>  > The page should attempt to load the servlet "piston" defined in my
>  > WEB-INF/web.xml
>
>  what is the HTML / JSP source of the front page?

login.jsp

I think it looks like the application has an exception throwing
mechanism that was written under windows, and sends the user back to
Login,jsp.

Does my config look sane?  I am not sure if I need all those proxy
passes, as I had hoped just / -> / would do the trick.

S.

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Strange Redirection

2008-02-28 Thread Pid

Stephen Nelson-Smith wrote:

I have deployed an application under Tomcat, fronted by Apache.  I am
experiencing what looks like strange redirects when I try to use the
application.

The front page is a login screen, but if I try to login, Tomcat
attempts to locate a resource called /Login.jsp, which doesn't exist.

The page should attempt to load the servlet "piston" defined in my
WEB-INF/web.xml


what is the HTML / JSP source of the front page?

p




I don't understand what is happening - any pointers or explanations
would help enormously.

Configs:

Apache:


ProxyPass / ajp://localhost:8009/
ProxyPass /servlet ajp://localhost:8009/servlet
ProxyPass /piston ajp://localhost:8009/piston
ProxyPass /manager ajp://localhost:8009/manager
ProxyPass /link ajp://localhost:8009/link
ProxyPass /ajax ajp://localhost:8009/ajax
ProxyVia on


Tomcat:




  
  

  





  
factory
org.apache.catalina.users.MemoryUserDatabaseFactory
  
  
pathname
conf/tomcat-users.xml
  


  

  

  

  



  

  
 10.1.1.204
 
 
 
 




OS is RHEL 5, Apache is httpd-2.2.3-11.el5_1.3, Tomcat is 4.1.31 from
binary release, Java is 1.4.2_11

Thanks in advance,

S.

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]