Forum Moderators: phranque

Message Too Old, No Replies

deleted ALL hosts by mistake via webmin

I have not restarted apache though. Can I still save them?

         

walkman

4:13 pm on Jan 1, 2008 (gmt 0)



Happy new years :)
I deleted ALL hosts by mistake via webmin but they are still loaded in the Apache memory. Is there a way "to get" them or should I load an old copy and be done with it?

Thanks

jdMorgan

4:17 pm on Jan 1, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



This doesn't sound good... What do you see on the server using FTP or SSH? Are the files for your sites still there?

Jim

bunltd

5:21 pm on Jan 1, 2008 (gmt 0)

10+ Year Member



Can you recover a copy of httpd.conf from a backup?

LisaB

walkman

6:03 pm on Jan 1, 2008 (gmt 0)



jdMorgan and Lisa,
thanks.

my sites are still working, but I had to restore an old copy (11/11/07). Now, before restarting it, I thought if there was a way to see what's loaded on apache memory instead of seeing what I changed etc. That's a pain. It's not a death sentence, just very annoying. My main sites are there, but I added drupal, and a few other things that have their settings /.htaccess files. I use httpd.conf for .htaccess.

So, there is no way to tell apache to write the loaded httpd.conf on a file?

Defensive mode ;): I usually have several backups of mysql and of the sites in /$day folders but for some reason httpd.conf was excluded. Turns out I have RAID so I am stuck. I just enabled daily backups of /etc and httpd just in case for future screwups.

thanks again