httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Davide Bianchi <>
Subject Re: [users@httpd] Send a request to another apache server
Date Thu, 17 Jul 2008 06:22:06 GMT
Chris Arnold wrote:
> Using apache2 2.2.3 on SLES10 SP2. What we have:
> 1 webserver on 123 subnet. Answers for port 80
> 1 email server with it's own small apache server on 124 subnet answers for port 8080
> 1 firewall/router with 1 IP (forwards to internal server addresses)
> What we want to do:
> When users enter some address in their browser, say
> webmail.domain.tld
(which goes to server 1 on port 80) to goto the second server on 124
subnet on port 8080. Is there anyway to tell server 1 on port 80, when a
specific url comes to it, send to second server on port 8080? Can this
be done with the .htaccess file? Or can it be done at all? Thanks for
any doc's/help

Yes, by using mod_proxy in combination with VirtualHosts, something like

<VirtualHost *:80>
	ServerName webmail.domain.tld
  	ProxyPass /
	ProxyPassReverse /

See the documentation about mod_proxy


For their next act, they'll no doubt be buying a firewall running
under NT, which makes about as much sense as building a prison out
of meringue.
-- from alt.sysadmin.recovery

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message