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. Quote Link to comment 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.