Hi!
This works fine for us:
ProxyPass / http://www.mydomain.com:8080/
ProxyPassReverse / http://www.mydomain.com:8080/
RewriteEngine On
RewriteCond %{SERVER_NAME} !^www\.mydomain\.com
RewriteRule /(.*) http://www.mydomain.com/$1 [redirect=301L]
**
Martin
2009/5/24 James Carman <[email protected]>:
> I've never been able to set up a proxied connection to "/". I've
> always had to do a forward to my webapp's URL.
>
> On Sat, May 23, 2009 at 7:09 PM, Michael Plöd <[email protected]> wrote:
>> Hi,
>> I am currently struggling with a very strange behaviour between Wicket
>> (1.3.4) and my mod_proxy configuration.
>>
>> The usual calls to BookmarkablePageLinks work perfectly. The same goes
>> out to resource loading and so on. However, as soon as I want to work
>> with AjaxFallbackLinks and so on I always get a "Page Expired" page
>> telling me that the page I requested has expired.
>>
>> My scenario is as follows:
>> - I have an Apache 2 Server for static content (images) in the url
>> www.myhost.com/pictures
>> - In addition to that I have a Tomcat server hosting my webapp which
>> should be accessed unter www.myhost.com
>>
>> The mod_proxy config is as follows:
>>
>> ProxyPass /pictures !
>> ProxyPass / ajp://localhost:8009/site-1.0-SNAPSHOT/app/
>> ProxyPassReverse / ajp://localhost:8009/site-1.0-SNAPSHOT/app/
>> ProxyPassReverseCookiePath / /site-1.0-SNAPSHOT/app
>>
>>
>> Any suggestions what I am missing here?
>>
>> Thanks a lot in advance,
>> Mike
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]