Return-Path: X-Original-To: apmail-httpd-users-archive@www.apache.org Delivered-To: apmail-httpd-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id F16B98041 for ; Tue, 16 Aug 2011 20:19:57 +0000 (UTC) Received: (qmail 67665 invoked by uid 500); 16 Aug 2011 20:19:54 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 67558 invoked by uid 500); 16 Aug 2011 20:19:54 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 67550 invoked by uid 99); 16 Aug 2011 20:19:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Aug 2011 20:19:53 +0000 X-ASF-Spam-Status: No, hits=-0.1 required=5.0 tests=FREEMAIL_FROM,HK_RANDOM_ENVFROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ntwrkd@gmail.com designates 209.85.216.45 as permitted sender) Received: from [209.85.216.45] (HELO mail-qw0-f45.google.com) (209.85.216.45) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Aug 2011 20:19:47 +0000 Received: by qwj8 with SMTP id 8so249338qwj.18 for ; Tue, 16 Aug 2011 13:19:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=8pPGaqGKrido/MmvtEe65sqgN5LwCb3eQdr2ocvLanU=; b=Z+LMwWoh+FAcJ6fjBtczFiZg2ROP6nK4AETLlGrkMS563GfhtLh2IPBemLW5tLp7pr KBZOMQ/8UMwcoavfKhF5uJDNO6cGEELIgYCWKGu+GBgxgunYQFfpuSwb4o2d64Lh3Haw dzzgoYQkmomK7qKMv/HsD9VpXV8/SuUjTBZyo= MIME-Version: 1.0 Received: by 10.52.77.5 with SMTP id o5mr202147vdw.83.1313525966719; Tue, 16 Aug 2011 13:19:26 -0700 (PDT) Received: by 10.52.186.161 with HTTP; Tue, 16 Aug 2011 13:19:26 -0700 (PDT) Date: Tue, 16 Aug 2011 13:19:26 -0700 Message-ID: From: msacks To: users@httpd.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Subject: [users@httpd] server-status 404 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 .... ... SetHandler server-status Order Deny,Allow Allow from all Options FollowSymLinks AllowOverride FileInfo Order deny,allow Deny from all 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 for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org