LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   apache - broken /bin/htdocs (https://www.linuxquestions.org/questions/linux-software-2/apache-broken-bin-htdocs-623597/)

jfrancesconi 02-24-2008 10:09 PM

apache - broken /bin/htdocs
 
so I accidentally overwrote my /usr/local/apache2/bin/htdocs file. Not the DIRECTORY /usr/local/apache2/htdocs... but the file in bin. Is there anyway i can restore this or could someone post a sample of what the file should have in it?

Thanks.

j-ray 02-25-2008 02:14 AM

the bin directory normally contains the binary executables like apachectl, httpd,.. If they are wiped away you have to reinstall the whole thing. But you didnt tell us how you installed apache, debian package, rpm, source... there are different options.
If you installed from source go into the downloaded and extracted directory and rerun make and make install.

If the binaries are still in place - what resided in bin/htdocs? Quite unusual.
good luck
j


All times are GMT -5. The time now is 05:55 PM.