httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pete Houston <...@openstrike.co.uk>
Subject Re: [users@httpd] Easy way to dump running server config for Apache2.0/2.2?
Date Thu, 02 Feb 2012 16:31:45 GMT
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
-- 
Openstrike - improving business through open source
http://www.openstrike.co.uk/ or call 01722 770036 / 07092 020107

Mime
View raw message