LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-24-2008, 10:09 PM   #1
jfrancesconi
LQ Newbie
 
Registered: Feb 2008
Posts: 2

Rep: Reputation: 0
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.
 
Old 02-25-2008, 02:14 AM   #2
j-ray
Senior Member
 
Registered: Jan 2002
Location: germany
Distribution: ubuntu, mint, suse
Posts: 1,591

Rep: Reputation: 145Reputation: 145
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

Last edited by j-ray; 02-25-2008 at 02:15 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache htdocs Best Practice? terosaur Slackware 24 02-05-2008 03:20 PM
No htdocs for Apache animelook Linux - Software 5 08-04-2006 07:37 PM
apache looking for documentroot in /usr/htdocs niehls Linux - Software 3 07-06-2003 05:39 PM
Where is the htdocs folder for Apache? Ekim Gram Linux - Newbie 5 05-24-2003 07:16 AM
Apache HTDOCS help needed plz RecoilUK Linux - General 7 07-16-2001 01:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration