Re: Wicket behind proxy (AJP)

2009-07-04 Thread Anton Veretennikov
Sergey, RewriteRule is not a magic. I checked seveal methods but this one is at least working. But if you have only one application, you can replace ROOT app with it then configuration will be: #for ROOT app: ServerName www.sitename.ru ServerAlias sitename.ru ProxyPass / ajp://127.0.0.1:8

Re: Wicket behind proxy (AJP)

2009-07-04 Thread Sergey Podatelev
Thanks for all the feedback. I see that there is no "pure" solution by far, I have to try either with Tomcat's virtual server's or with the RewriteRule. Anton, I wish I could, but unfortunately, I've almost no spare time these days. Also, I'm far from being a Wicket expert, you can clarify this by

Re: Wicket behind proxy (AJP)

2009-07-03 Thread Anton Veretennikov
Hello, Sergey, May be this is not a nice solution, but I could solve this problem only by using RewriteRule as follows: ServerName www.sitename.ru ServerAlias sitename.ru ProxyPass / ajp://127.0.0.1:8009/SiteApp-1.0-SNAPSHOT/ ProxyPassReverse / ajp://127.0.0.1:8009/SiteApp-1.0-SNAPSHOT/

Re: Wicket behind proxy (AJP)

2009-07-03 Thread Marc Ende
Hello Sergey, I had the same problems but I solved them using the virtual-host-feature of tomcat. After that the ProxyPass looks very easy: ... ProxyPass / ajp://localhost/ ... yours marc Sergey Podatelev schrieb: Hello, I know this question had already been asked here, but I still cou

RE: Wicket behind proxy (AJP)

2009-07-02 Thread Russell Simpkins
> From: jcar...@carmanconsulting.com > Date: Thu, 2 Jul 2009 14:43:59 -0400 > Subject: Re: Wicket behind proxy (AJP) > To: users@wicket.apache.org > > I don't think ProxyPass supports the "/" path, does it? At least, it didn't > back when I wanted to se

Re: Wicket behind proxy (AJP)

2009-07-02 Thread Sergey Podatelev
This doesn't sound like a very smooth way (: And as I said, it all works perfectly well with HTTP but not with AJP. On Thu, Jul 2, 2009 at 10:43 PM, James Carman wrote: > I don't think ProxyPass supports the "/" path, does it?  At least, it didn't > back when I wanted to set my site up like that.

Re: Wicket behind proxy (AJP)

2009-07-02 Thread James Carman
I don't think ProxyPass supports the "/" path, does it? At least, it didn't back when I wanted to set my site up like that. What I had to do was put a dummy HTML page in there with a refresh directive to make it go to: http://mysite/mywicketapp On Thu, Jul 2, 2009 at 2:27 PM, Sergey Podatelev w

Wicket behind proxy (AJP)

2009-07-02 Thread Sergey Podatelev
Hello, I know this question had already been asked here, but I still couldn't get it working on my side. What I'm trying to achieve, is a configuration of Wicket running as filter on Tomcat with an Apache host as a frontend. Particular problem is with the context path. Here's my configuration: To