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 9DF3F98FE for ; Thu, 2 Feb 2012 16:32:30 +0000 (UTC) Received: (qmail 65605 invoked by uid 500); 2 Feb 2012 16:32:27 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 65523 invoked by uid 500); 2 Feb 2012 16:32:26 -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 65514 invoked by uid 99); 2 Feb 2012 16:32:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Feb 2012 16:32:26 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ph1@openstrike.co.uk designates 89.16.177.71 as permitted sender) Received: from [89.16.177.71] (HELO primary1.mail.openstrike.co.uk) (89.16.177.71) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Feb 2012 16:32:19 +0000 Received: from palma.openstrike.co.uk (labs [81.187.19.186]) (Authenticated sender: qdxpete) by primary1.mail.openstrike.co.uk (Postfix) with ESMTP id 813112CC179 for ; Thu, 2 Feb 2012 16:31:58 +0000 (GMT) Received: from palma.openstrike.co.uk (localhost.localdomain [127.0.0.1]) by palma.openstrike.co.uk (8.14.5/8.14.5) with ESMTP id q12GVjVW008200 for ; Thu, 2 Feb 2012 16:31:45 GMT Received: (from pete@localhost) by palma.openstrike.co.uk (8.14.5/8.14.5/Submit) id q12GVjWU008199 for users@httpd.apache.org; Thu, 2 Feb 2012 16:31:45 GMT X-Authentication-Warning: palma.openstrike.co.uk: pete set sender to ph1@openstrike.co.uk using -f Date: Thu, 2 Feb 2012 16:31:45 +0000 From: Pete Houston To: users@httpd.apache.org Message-ID: <20120202163145.GE1760@palma.openstrike.co.uk> References: <4F2AB691.30503@dionic.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="z9ECzHErBrwFF8sy" Content-Disposition: inline In-Reply-To: <4F2AB691.30503@dionic.net> Organization: Openstrike User-Agent: Mutt/1.5.21 (2010-09-15) Subject: Re: [users@httpd] Easy way to dump running server config for Apache2.0/2.2? --z9ECzHErBrwFF8sy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Feb 02, 2012 at 04:15:13PM +0000, Tim Watts wrote: > Kind of like what mod_info gives. Specifically I want a dump of all > the active ServerName and ServerAlias directives. Haven't you answered your own question there? lynx --dump http://name.of.server/server-info | grep -E 'Server(Name|Alias)' Tweak to suit, Pete --=20 Openstrike - improving business through open source http://www.openstrike.co.uk/ or call 01722 770036 / 07092 020107 --z9ECzHErBrwFF8sy Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEARECAAYFAk8qunEACgkQdzfnYmsKt505xwCgpVH+e74tJiL94pdY4IyAvfuB clIAoLf2A7oAxBAdnim9/tdF426z6K4W =tKuv -----END PGP SIGNATURE----- --z9ECzHErBrwFF8sy--