"Olexandr Prokhorenko" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
> Hi everybody,
>
> I believe this is a common problem, but I wasn't able to find any answer 
> to it,
> yet.  I have a project WAR deployed in Tomcat 5.5 container, so I can see 
> it as
> http://tomcat.server:8080/project.  I've installed Apache 2.2 HTTP server 
> as a
> front-end, and now I want to see my J2EE project as http://project.name/. 
> I've
> configured the mod_proxy and all other stuff to do the proxing and 
> redirect.  It
> works just fine through AJP except one thing.  First of all, Acegi 
> security SSO
> doesn't work -- it requires to sign-in every single page.  For the second, 
> all
> links are using path /prohject, but not /.  So I work with project from
> http://project.name/project, but I can't map it to / (root), because I 
> believe
> when it's being processed, it supposes to be executed with the different 
> path
> (/project) so all links it builds (Acegi also) are /project/blablabla.jsp, 
> etc.
> Can somebody please help me out with this?
>

How about:
  RewriteRule ^/.*\.jsp ajp://localhost:8009/project/$1.jsp [P]
  RewriteRule ^/servlet/.* ajp://localhost:8009/project/servlet/$1 [P]


> Thanks.
>
>
> ---------------------------------------------------------------------
> 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]

Reply via email to