System and Server Status

5 posts / 0 new
Last post
#1 Thu, 12/14/2006 - 02:25
KevinRauth

System and Server Status

When I create a virtual server with virtualmin pro the web site is added to the monitor page but it always shows the site to be down. The site is up and accessible.

Is there something I need to do so it will report the true status of the web site.

Thanks,

Kevin R.

Thu, 01/18/2007 - 15:35
KassidyClark

Kevin, did you ever get this figured out?

I'm having a similar problem, but no solution yet. Have you tried to ssh to your server and open the website using a text based webclient, like lynx? When I try this, I get the following response:

Not Acceptable

An appropriate representation of the requested resource / could not be found on this server.

Honey Bee/1.0 Server at www.servername.com Port 80

I'm wondering if this is because of Mod Security or Mod Evasive. Do you have either of these modules installed?

Regards,
Kas

Thu, 01/18/2007 - 19:02
KassidyClark

If I disable mod_security, then the monitors work again. Maybe someone who is using mod_security can give me a clue to a workaround for this problem?

Thu, 01/18/2007 - 19:48
KassidyClark

I've narrowed it down to the fact that mod_security is set up to deny the common text-based web clients, like wget, lynx, elinks, etc.

Still looking for a way around it. Does anyone know what command webmin uses to perform the website monitoring?

Sun, 01/21/2007 - 11:39
KassidyClark

In the modsecurity-general.conf rules, I commented out this line.

# Detect manual and crude automated requests.
#
#SecFilterSelective HTTP_Host|HTTP_User-Agent|HTTP_Accept "^$"

And now the service monitors are working, but the rest of mod_security is still intact (php, sql-injection, spoofed headers, etc.)

Topic locked