httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Arnold <carn...@electrichendrix.com>
Subject Re: [users@httpd] Rewrite Rule Help (again)
Date Sat, 07 Jul 2012 15:50:12 GMT
On Jul 7, 2012, at 10:54 AM, Chris Arnold <carnold@electrichendrix.com> wrote:

>>> That's the same as if it ended with a slash, and matched by ^/$
> 
> Ok my host file has RewriteRule ^/$ http://update.domain.com [L]
> When I goto http://update.domain.com using safari, I receive:
> Response Error.
> 
> Technical description:
> 502 Bad Gateway - Response Error, a bad response was received from another proxy server
or the destination origin server.
> 
This was because the webserver was not running. Reboot and it is running now. Now when going
to http://update.domain.com I get the default site from the webserver. I have tried RewriteRule
^/$ http://host name [L] and RewriteRule ^/$ http://ip.address [L]
Both send me to the default site. Any ideas?
> So, a quick revisit: we have a web server answering for http traffic. We have a different
server that uses a program that HAS to use http (80) port. I am trying to get the webserver
to send http://update.domain.com traffic only, to a different server on the LAN. Any ideas?

Mime
View raw message