You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Theo Sweeny <th...@madgex.com> on 2016/07/13 07:14:47 UTC
[users@httpd] Apache Host not found
Hello - I'm running CentOS v6.7 with an Apache v2.2.15 server.
When the command "fullstatus" is executed it returns "Host not found".
The vhosts.conf file has 3 sites.
Each of the 3 "ServerName" entries is listed in the /etc/hosts file.
Any ideas?
Theo
RE: [users@httpd] Apache Host not found
Posted by Theo Sweeny <th...@madgex.com>.
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 <th...@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
Re: [users@httpd] Apache Host not found
Posted by Rainer Canavan <ra...@sevenval.com>.
On Wed, Jul 13, 2016 at 10:16 AM, Theo Sweeny <th...@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
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
RE: [users@httpd] Apache Host not found
Posted by Theo Sweeny <th...@madgex.com>.
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 "
From: Daniel [mailto:dferradal@gmail.com]
Sent: 13 July 2016 08:21
To: <us...@httpd.apache.org> <us...@httpd.apache.org>
Subject: Re: [users@httpd] Apache Host not found
by default fullstatus is set to call "localhost" with program lynx, defined in apachectl script, read, modify to your needs.
2016-07-13 9:14 GMT+02:00 Theo Sweeny <th...@madgex.com>>:
Hello – I’m running CentOS v6.7 with an Apache v2.2.15 server.
When the command “fullstatus” is executed it returns “Host not found”.
The vhosts.conf file has 3 sites.
Each of the 3 “ServerName” entries is listed in the /etc/hosts file.
Any ideas?
Theo
--
Daniel Ferradal
IT Specialist
email dferradal at gmail.com<http://gmail.com>
linkedin es.linkedin.com/in/danielferradal<http://es.linkedin.com/in/danielferradal>
Re: [users@httpd] Apache Host not found
Posted by Daniel <df...@gmail.com>.
by default fullstatus is set to call "localhost" with program lynx, defined
in apachectl script, read, modify to your needs.
2016-07-13 9:14 GMT+02:00 Theo Sweeny <th...@madgex.com>:
> Hello – I’m running CentOS v6.7 with an Apache v2.2.15 server.
>
>
>
> When the command “fullstatus” is executed it returns “Host not found”.
>
>
>
> The vhosts.conf file has 3 sites.
>
>
>
> Each of the 3 “ServerName” entries is listed in the /etc/hosts file.
>
>
>
> Any ideas?
>
>
>
> Theo
>
>
>
>
>
--
*Daniel Ferradal*
IT Specialist
email dferradal at gmail.com
linkedin es.linkedin.com/in/danielferradal