Re: HTTP Hostname for reverse proxy

Graham Leggett <[email protected]>
Newsgroups gmane.comp.apache.mod-proxy
Message-ID <[email protected]>
Manon Goo wrote:

> Is there any possibility to tell the realserver whct the hostname is ?

What do you mean by "real server" and "hostname"?

> I want to use ProxyPass /x http://10.1.1.1/
> 
> but I want to send "backendserver" in the HTTP Header to the host

Use the "Header" directive to add arbitrary headers in the response to 
the browser.

If you want the backend server to know the IP address of the browser, 
look for the X-Forwarded-For header.

Regards,
Graham
-- 
-----------------------------------------
[email protected]		"There's a moon
					over Bourbon Street
						tonight..."
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.