httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Arnold <>
Subject Re: [users@httpd] Rewrite Rule Help (again)
Date Mon, 09 Jul 2012 01:30:53 GMT
So the RewriteRule ^/$ [L] 
Sends all traffic to I just need traffic to go to
the host.

On Jul 7, 2012, at 11:50 AM, Chris Arnold <> wrote:

> On Jul 7, 2012, at 10:54 AM, Chris Arnold <> wrote:
>>>> That's the same as if it ended with a slash, and matched by ^/$
>> Ok my host file has RewriteRule ^/$ [L]
>> When I goto 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 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 traffic only, to a different server on the LAN. Any ideas?

View raw message