server-status 404

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

 



Hi List,
I have been jockeying my httpd.conf and googled around which brings me
here. I added the server-status directive to main my httpd.conf
according to http://httpd.apache.org/docs/2.2/mod/mod_status.html. I
noticed it was 404-ing when I tried to access server-status, as I
understand the httpd.conf is read sequentially (I am sure someone will
correct me if I am wrong on this) so I tried re-ordering directives in
various configurations to no avail.

I am using Name based virtual hosts so I tried adding a second vhost
for localhost at the suggestion of this post to no avail:
http://systembash.com/content/apache-mod_status-404/

Here are snippets in terms of what is placed where in httpd.conf. You
can kind of fill in the blanks if you think of a standard httpd.conf
for version 2.2 of httpd.

Listen someserver.com:80
Listen 127.0.0.1:80

LoadModule status_module modules/mod_status.so

NameVirtualHost someserver.com:80
NameVirtualHost 127.0.0.1:80


NameVirtualHost 173.45.238.105:80
NameVirtualHost 127.0.0.1:80

<VirtualHost someserver.com:80>
....
</VirtualHost>

<VirtualHost 127.0.0.1:80>
...
</VirtualHost>

<Location /server-status>
SetHandler server-status
Order Deny,Allow
Allow from all
</Location>


<Directory />
    Options FollowSymLinks
    AllowOverride FileInfo
    Order deny,allow
    Deny from all
</Directory>


I figure I'm probably missing something rather elementary here,
probably with the way I have Name based virtual hosts set up, but
alas, it is escaping me. Hoping some extra eyes will shine some light
on this puzzle.

Thanks in advance,
@msacks

--Debug:

Server version: Apache/2.2.x (Unix)
Server built:   Feb  9 2009 00:42:05
Server's Module Magic Number: x:x
Server loaded:  APR 1.3.x, APR-Util 1.3.x
Compiled using: APR 1.3.x, APR-Util 1.3.x
Architecture:   64-bit
Server MPM:     Prefork
  threaded:     no
    forked:     yes (variable process count)
Server compiled with....
 -D APACHE_MPM_DIR="server/mpm/prefork"
 -D APR_HAS_SENDFILE
 -D APR_HAS_MMAP
 -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
 -D APR_USE_SYSVSEM_SERIALIZE
 -D APR_USE_PTHREAD_SERIALIZE
 -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
 -D APR_HAS_OTHER_CHILD
 -D AP_HAVE_RELIABLE_PIPED_LOGS
 -D DYNAMIC_MODULE_LIMIT=128
 -D HTTPD_ROOT="/usr/local/apache2"
 -D SUEXEC_BIN="/usr/local/apache2/bin/suexec"
 -D DEFAULT_PIDLOG="logs/httpd.pid"
 -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
 -D DEFAULT_LOCKFILE="logs/accept.lock"
 -D DEFAULT_ERRORLOG="logs/error_log"
 -D AP_TYPES_CONFIG_FILE="conf/mime.types"
 -D SERVER_CONFIG_FILE="conf/httpd.conf"

VirtualHost configuration:
someserver.com:80      is a NameVirtualHost
         default server www.somerserver.com
(/usr/local/apache2/conf/httpd.conf:147)
         port 80 namevhost www.somerserver.com
(/usr/local/apache2/conf/httpd.conf:147)
someserver.com:443     www.somerserver.com (/usr/local/apache2/conf/ssl.conf:76)
somerserver.com:443      www.somerserver.com
(/usr/local/apache2/conf/ssl.conf:76)
127.0.0.1:80           is a NameVirtualHost
         default server www.someserver.com
(/usr/local/apache2/conf/httpd.conf:154)
         port 80 namevhost www.someserver.com
(/usr/local/apache2/conf/httpd.conf:154)


Loaded Modules:
 core_module (static)
 mpm_prefork_module (static)
 http_module (static)
 so_module (static)
 authn_file_module (shared)
 authn_dbm_module (shared)
 authn_anon_module (shared)
 authn_dbd_module (shared)
 authn_default_module (shared)
 authz_host_module (shared)
 authz_groupfile_module (shared)
 authz_user_module (shared)
 authz_dbm_module (shared)
 authz_owner_module (shared)
 authz_default_module (shared)
 auth_basic_module (shared)
 auth_digest_module (shared)
 dbd_module (shared)
 dumpio_module (shared)
 ext_filter_module (shared)
 include_module (shared)
 filter_module (shared)
 substitute_module (shared)
 deflate_module (shared)
 log_config_module (shared)
 env_module (shared)
 expires_module (shared)
 headers_module (shared)
 ident_module (shared)
 usertrack_module (shared)
 setenvif_module (shared)
 ssl_module (shared)
 mime_module (shared)
 status_module (shared)
 autoindex_module (shared)
 asis_module (shared)
 negotiation_module (shared)
 dir_module (shared)
 imagemap_module (shared)
 actions_module (shared)
 userdir_module (shared)
 alias_module (shared)
 rewrite_module (shared)
 php5_module (shared)
 unique_id_module (shared)
Syntax OK

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-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