Arm123 Posted March 29, 2007 Share Posted March 29, 2007 Recently I have had a mishap / laps in judgment when i overwrote one of my apache httpd.conf files, with another, from a completely different server. I have since found a backup which is a month or so old. However, since then i have done some work on that particular machine's apache config. and not updated the backup. I have not yet restored the backup or restarted the server, so all is well for now until I restart the server. My question is... Does anyone know or have heard of a way to get a dump of a currently parsed apache configuration file 'httpd.conf' ? I would appreciate any suggestions as these files are not easily replaced because I have multiple vhosts with mod_rewrite rules and mod_php + mod_perl handlers configured. Thanks for any help. Link to comment https://forums.phpfreaks.com/topic/44819-apache-dump-active-configuration/ Share on other sites More sharing options...
steviewdr Posted March 30, 2007 Share Posted March 30, 2007 I have heard of it done. Its vvvv difficult however and I wouldnt know where to begin. You can get the config from in-memory blocks. You'll have to google it. Id just use my daily backups I backup /etc, /home, /var (excluding /var/tmp), /root and that will give me most of what I need. -steve Link to comment https://forums.phpfreaks.com/topic/44819-apache-dump-active-configuration/#findComment-217973 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.