LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 07-06-2003, 03:07 PM   #1
niehls
Member
 
Registered: Jun 2002
Location: Sweden
Distribution: slack, redhat
Posts: 91

Rep: Reputation: 15
apache looking for documentroot in /usr/htdocs


i've set up virtualhosts in my httpd.conf. when i start httpd and go to my different domains it return a not found error message. when i try 127.0.0.1 it returns a directory listing, but when i click something it returns a not found message. my documentroot is /var/www/htdocs but when i look at error_log it says it's looking for the file in /usr/htdocs. this doesn't make any sence. /usr/htdocs isn't even mentioned in httpd.conf. this thing is really giving me a head ache. i made some google searches and saw that people have had this problem before, but i didn't find any solution to it. anyone have encountered this problem before? if so. how did you solve it?
please, help me!
 
Old 07-06-2003, 05:07 PM   #2
niehls
Member
 
Registered: Jun 2002
Location: Sweden
Distribution: slack, redhat
Posts: 91

Original Poster
Rep: Reputation: 15
anyone.. please?
 
Old 07-06-2003, 05:21 PM   #3
MRK
Member
 
Registered: Jan 2002
Posts: 60

Rep: Reputation: 15
Post your virtualhost configs please.

-Mr.K
 
Old 07-06-2003, 05:39 PM   #4
niehls
Member
 
Registered: Jun 2002
Location: Sweden
Distribution: slack, redhat
Posts: 91

Original Poster
Rep: Reputation: 15
haha.. i managed to fix the problem. don't ask me how. i just started fooling around with httpd.conf doing all sort of weird stuff, and suddenly it worked. i'll never touch that damn file again
 
  


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 DocumentRoot problem elliottsb Linux - Software 6 02-24-2005 09:40 PM
Couldn't open stream {localhost/imap : 143} in /usr/local/httpd/htdocs/view.php nshoboul Linux - Newbie 12 10-24-2003 02:23 PM
Where is the htdocs folder for Apache? Ekim Gram Linux - Newbie 5 05-24-2003 07:16 AM
DocumentRoot apache illtbagu Linux - Software 6 02-28-2003 12:04 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 01:56 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