Vadim Gritsenko wrote:
> Jean-Baptiste Quenot wrote:
>
>> * Carsten Ziegeler:
>>
>>> There were several suggestions in this thread about
>>> configuration on your side.
>>
>>
>> Indeed, Upa was right in suggesting that we use Apache as
>> a proxy with ProxyPass directive. The server name used to
>> access the application is not the same as the one returned by
>> request.getServerName().
>
>
> Use ProxyPreserveHost
>
> http://httpd.apache.org/docs/2.0/mod/mod_proxy.html#proxypreservehost
Or, for those using Tomcat, the proxyHost and proxyHost configurations:
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/http.html#Proxy%20Support
Sylvain
--
Sylvain Wallez Anyware Technologies
http://people.apache.org/~sylvain http://www.anyware-tech.com
Apache Software Foundation Member Research & Technology Director
|