Linux oops, undo
Hi, i accidentally wiped out my httpd.conf with an html file, this is how it happened.
tar -cf etc/httpd/conf/httpd.conf var/www/html/index.html as you can see, i wanted to archive 2 files, but i forgot to add the archive name and it made my httpd.conf the archive name.anyknow have any suggestions as to how i can get it back? thanks |
If you edited it there may be a backup etc/httpd/conf/httpd.conf~ It won't be exactly what you need but may be close. Other than that you'll have to reinstall the rpm to get the default file back.
rpm -qf etc/httpd/conf/httpd.conf The above will tell you which rpm package you need to install. |
All times are GMT -5. The time now is 09:11 AM. |