RE: HTTP Hostname for reverse proxy
Manon Goo <[email protected]>
| Newsgroups | gmane.comp.apache.mod-proxy |
|---|---|
| Message-ID | <[email protected]> |
I'm doing this currently but this is confusing other services on the proxy server. --On Donnerstag, 13. Februar 2003 9:31 Uhr -0500 "Robin P. Blanchard" <[email protected]> wrote: > > You could 'lie' to the apache server by overriding DNS with an entry in > /etc/hosts. This is how one rev proxies for Exchange2000 OWA. > > > -----Original Message----- > From: Manon Goo [mailto:[email protected]] > Sent: Thursday, February 13, 2003 9:29 AM > To: [email protected] > Subject: Re: HTTP Hostname for reverse proxy > > > > > --On Mittwoch, 12. Februar 2003 18:37 Uhr +0200 Graham Leggett > <[email protected]> wrote: > >> 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 that reverse proxy connects to "real server" and sends: > > GET /bla/bla HTTP/1.1 > HOST: hostname > > I would like to configure modproxy that it does nots send > the host part of the url in the ProxyPass line but someting different. > > >> >>> 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..." >> > > ---------------------------------------- > Robin P. Blanchard > Systems Integration Specialist > Georgia Center for Continuing Education > fon: 706.542.2404 <|> fax: 706.542.6546 > ---------------------------------------- >
signature.asc
(application/pgp-signature, 186 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (Darwin) iD8DBQE+S6y24N5kPCP8wnsRAsyWAJ4p2UH+Rle1aTrlMIbd/BHkdVsc3ACgwUBV 0SNXI6DOubBDYtwP78rxuSc= =nFbv -----END PGP SIGNATURE-----