* Stas Bekman ([EMAIL PROTECTED]) [08 Mar 2001 01:48]:
> On Wed, 7 Mar 2001, iain truskett wrote:
[...]
> > I'd like to be able to display all of my web server's configuration
> > on a web page. Since a fair amount of it is automatically generated
> > I was wondering if there was a way to easily obtain a dump (of hash
> > and array references) to munge and display on the page.

> http://perl.apache.org/guide/config.html#Verifying

Except that (a) adding $Apache::Server::SaveConfig = 1; to my <perl> bit
has the side effect of stopping the virtualhost hash being filled out
properly, and (b) according to the documentation you pointed out (which
I had checked previously) it doesn't give me access to the entirety of
the configuration, only what I set in the <perl> sections.

Mind you, I could go and translate the rest of the configuration into a
<perl> section so that the whole thing is a perl program but I'd rather
not unless I have to.

Thanks anyway.

cheers,
-- 
#!/usr/bin/perl -- # -- iain.                  <http://eh.org/~koschei/>
($#=q/M2VYO=VQE9,=E($%B;W9E($%L;"X*.,AT='`Z+R]E:"YO<F<O?FMO<V-H96DO'<')I
>F4^"|``/)=~y-,.|\r\n\t -&/@-d,$;=pack c,280551%015025;print unpack$;,$#

Reply via email to