httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Theo Sweeny <theo.swe...@madgex.com>
Subject RE: [users@httpd] Apache Host not found
Date Mon, 18 Jul 2016 12:38:01 GMT
Hello Rainer,

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

On Wed, Jul 13, 2016 at 10:16 AM, Theo Sweeny <theo.sweeny@madgex.com> 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

Mime
View raw message