Re: [SLUG] Alias my Loopback?

From: Andrew M Hoerter (amh@pobox.com)
Date: Fri Jun 06 2003 - 10:49:40 EDT


On 6 Jun 2003, Russ Wright wrote:

> I still didn't do it right because I get connection refused when I
> attempt to connect.

Are you sure that's the whole httpd.conf? I don't see any reason why
you'd be getting a "connection refused". Run "netstat -a" and send the
output, to make sure Apache is listening on 127.0.0.1. You probably have
a Listen directive that's telling Apache to only bind to your Ethernet
interface or something.

> httpd.conf:
> --------------
> #
> # Use name-based virtual hosting.
> #
> NameVirtualHost 127.0.0.1

Change this to:

NameVirtualHost *

And then change every VirtualHost section to "*" as well.

The hosts file looks OK.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 16:17:55 EDT