I'm doing this with Jetty and Apache for the Databinder examples...

        ProxyRequests Off
        <Proxy *>
                Order deny,allow
                Allow from all
        </Proxy>
        ProxyPass /directory/ http://localhost:9090/directory/
        ProxyPass /bookmark/ http://localhost:9090/bookmark/
        ProxyPass /recipe/ http://localhost:9090/recipe/
        ProxyPassReverse / http://localhost:9090/

Do you have the reverse line in there? I think I may have added it in
response to a redirect problem like that.

Nathan

Andrew Berman wrote:
> I'm using Virtual Hosts along with mod_proxy and mod_rewrite and one
> thing I've noticed is that when I use a DropDownChoice along with the
> onSelectionChange method which simply does a setResponsePage(...), it
> redirects the user to the http://localhost:8080/ address instead of the
> http://bar.com address from which they originally came to the page.  Any
> thoughts on how to fix this?
> 
> --Andrew
> 
> On 4/6/06, *Johan Compagner* <[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>> wrote:
> 
>     what you want is virtual hosting. Wicket does touch the
>     "http://xxxx.xxx"; It only generates the
>     "/contextpath/servletpath/XXXXX"
>     And you can set the contextpath to "" so and map with apache to a
>     different server so that http://localhost:8080/context/ is mapped to
>     http://bar.com
> 
>     johan
> 
> 
> 
>     On 4/6/06, * Andrew Berman* <[EMAIL PROTECTED]
>     <mailto:[EMAIL PROTECTED]>> wrote:
> 
>         But that wouldn't work for all Wicket urls.  The problem I have
>         is that I have one war file with multiple applications.  Right
>         now, I'm having problems mapping urls to each of those webapps. 
>         One app uses .htm (Spring MVC) and the other is a Wicket app
>         which is mapped based on url folder.  So, I want to be able to
>         map http://foo.com to the Spring one via the .htm extension and
>         http://bar.com to the Wicket app via some other extension
>         instead of a folder.  Currently, I'm playing around with
>         mod_proxy and mod_rewrite in Apache and forwarding the requests
>         to Tomcat.
> 
>         Anyone have any thoughts on how to do this?
> 
> 
>         On 4/5/06, *Igor Vaynberg* <[EMAIL PROTECTED]
>         <mailto:[EMAIL PROTECTED]>> wrote:
> 
>             did you try doing mountBookmarkablePage("/HomePage.htm",
>             HomePage.class) ?
> 
>             -Igor
> 
> 
> 
>             On 4/5/06, * Andrew Berman* < [EMAIL PROTECTED]
>             <mailto:[EMAIL PROTECTED]>> wrote:
> 
>                 I was wondering if there is a way in 1.2 to map Wicket's
>                 urls to an extension instead of to a directory.  For
>                 example, is it possible to do
>                 http://localhost/HomePage.htm
>                 <http://localhost/HomePage.htm> instead of the usual
>                 http://localhost/wicket/HomePage?
> 
>                 Thanks,
> 
>                 Andrew
> 
> 
> 
> 
> 



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to