You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Puthick Hok <hp...@gmail.com> on 2007/08/09 03:39:12 UTC

[users@httpd] Is it possible to view the current apache configuration

Hi,

I've just removed some important apache virtual host configuration on
my local workstation during a server reconfiguration routine. I
intended to remove *~, but removed * instead. Now everything under
vhosts.d is gone.

The configuration contains mod_perl settings which I want to recover
some parts of it. The httpd is still running and has not been
restarted or reloaded yet.

So, my question: is it possible to see the current working apache
configuration that is in memory? I am using ext3 filesystem. Restoring
deleted files from this system seems to be more time consuming than
reconfiguring mod_perl from scratch.

I will remember to backup everything including my personal workstation.

Thanks,
Puthick

---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


RE: [users@httpd] Is it possible to view the current apache configuration

Posted by Florian Yanez <FD...@helzberg.com>.
If you have server-info turned on then you should be able to see the
current configuration.

Florian Yanez
Manager of Technical Systems
Helzberg's Diamond Shops, Inc.
Email : fdyanez@helzberg.com
Office:  816-627-1253

-----Original Message-----
From: Puthick Hok [mailto:hputhick@gmail.com] 
Sent: Wednesday, August 08, 2007 8:39 PM
To: users@httpd.apache.org
Subject: [users@httpd] Is it possible to view the current apache
configuration

Hi,

I've just removed some important apache virtual host configuration on
my local workstation during a server reconfiguration routine. I
intended to remove *~, but removed * instead. Now everything under
vhosts.d is gone.

The configuration contains mod_perl settings which I want to recover
some parts of it. The httpd is still running and has not been
restarted or reloaded yet.

So, my question: is it possible to see the current working apache
configuration that is in memory? I am using ext3 filesystem. Restoring
deleted files from this system seems to be more time consuming than
reconfiguring mod_perl from scratch.

I will remember to backup everything including my personal workstation.

Thanks,
Puthick

---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
 
Internet E-mail Disclaimer 
This message contains confidential information and is intended only for the individual(s) named. If you are not the named addressee you should not disseminate, distribute or copy this E-mail. Please notify the sender immediately by E-mail if you have received this E-mail by mistake and delete this E-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The recipient should check this E-mail and any attachments for the presence of viruses. The sender and Helzberg's Diamond Shops, Inc. therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of E-mail transmission. Views of this E-mail and of Helzberg Diamond Shops, Inc. employees do not necessarily reflect the views of Helzberg Diamond Shops, Inc. If verification is required please request a hard-copy version.
Helzberg's Diamond Shops, Inc. - 1825 Swift Ave. - N. Kansas City, MO - USA - www.helzberg.com

---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Is it possible to view the current apache configuration

Posted by Tony Stevenson <to...@pc-tony.com>.
Puthick Hok wrote:
> Hi,
> 
> I've just removed some important apache virtual host configuration on
> my local workstation during a server reconfiguration routine. I
> intended to remove *~, but removed * instead. Now everything under
> vhosts.d is gone.

What version of Apache is this?

> 
> The configuration contains mod_perl settings which I want to recover
> some parts of it. The httpd is still running and has not been
> restarted or reloaded yet.
> 
> So, my question: is it possible to see the current working apache
> configuration that is in memory? I am using ext3 filesystem. Restoring
> deleted files from this system seems to be more time consuming than
> reconfiguring mod_perl from scratch.

If you have a recent version of Apache, and have Server-Status enabled 
in extended mode, you might be able to get at least some of your config 
back.


> 
> I will remember to backup everything including my personal workstation.
> 
> Thanks,
> Puthick
> 
> ---------------------------------------------------------------------
> 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@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>