RE: Apache Host not found

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Rainer,

-----Original Message-----
From: Rainer Canavan [mailto:rainer.canavan@xxxxxxxxxxxx] 
Sent: 18 July 2016 13:01
To: users@xxxxxxxxxxxxxxxx
Subject: Re:  Apache Host not found

On Wed, Jul 13, 2016 at 10:16 AM, Theo Sweeny <theo.sweeny@xxxxxxxxxx> wrote:
> Thank you Daniel.
>
>
>
> At the moment it is set to –
>
>
>
> STATUSURL="http://localhost:80/server-status";
>
>
>
> Should it be configured like so when there are multiple sites?
>
>
>
> STATUSURL="http://www.site1.com:80/server-status;
> http://www.site2.com:80/server-status; http://www.site3.com:80/server-status";

No, the output of mod_status is identical on all vhosts. If you get “Host not found”
for localhost, you should fix your /etc/hosts. You also may have to unset http_proxy and related variables, if you have them in your environment.

Rainer

Thanks for the reply.

At the moment "localhost" is set in the /etc/hosts file.

Nothing is set for http_proxy.

SetEnv not set in any of the configs nor is there any export for System / Apache variables.

The localhost DNS works if "localhost" is pinged, so all in all, this should work but doesn't.

I'm flummoxed by it!

Theo


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux