Rainer Frey wrote:
> Some customers (with varying degree of experience) want to use this behind 
> Apache HTTPD as reverse proxy and ask us for instructions. 
> What would you recommend to describe in a general instruction document 
> without 
> knowing more details of the customers environment, mod_proxy_http or 
> mod_proxy_ajp? (I think mod_jk is an option mostly for knowledgable customers 
> who have specific reasons to consider it).

If the customer has done this before, whatever they are familiar with.
If I had a free choice mod_proxy_http.

> What is the effect of not setting proxyName and proxyPort on the connector in 
> either case? Would that lead to invalid redirects? (Our application doesn't
> use ServletRequest#getServerName() or #getServerPort() directly.)

Potentially, yes.

> With AJP, 
> isn't that information also available in the protocol request and set 
> automatically by the AJP connector?

I believe so.

> I also have an ideo for a (maybe dirty) hack: if I always put the proxyName 
> and proxyPort attributes in server.xml, and use properties that expand to 
> empty values by default, will this work in case there is no proxy in the 
> setup?

Have you tried it?

Mark


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to