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 10-28-2003, 07:24 PM   #1
squall14716
Member
 
Registered: Oct 2003
Distribution: Gentoo, Knoppix
Posts: 62

Rep: Reputation: 15
Apache - change document root?


I changed the document root in /etc/apache/httpd.conf to point to a directory in a seperate harddrive and started apache. Even though there are files in that directory, I get a 404 error. So, is there anything special I must do to make it point to my new document root (/mnt/fat32data/server/www)?
 
Old 10-29-2003, 02:55 AM   #2
davel75
LQ Newbie
 
Registered: Oct 2003
Posts: 5

Rep: Reputation: 0
The basic stuff...

I assume you've checked all the basic file permissions?
Have you restarted httpd so that it can re-read the .conf file?

Dave
 
Old 01-20-2010, 10:16 AM   #3
bashiralnoimi
LQ Newbie
 
Registered: Jul 2006
Posts: 2

Rep: Reputation: 0
I've same problem!

Quote:
Have you restarted httpd so that it can re-read the .conf file?
I've restarted it but nothing changed I still get same error message!

Could you please help me?

PS
I've read
https://help.ubuntu.com/9.10/serverguide/C/httpd.html
http://httpd.apache.org/docs/2.2/url...g.html#outside
but they couldn't help me for fixing this issue.
 
  


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 403 when changin document root. webgovernor Linux - Newbie 3 04-20-2005 12:54 AM
How do I change document root in apache2 in Ubuntu? leemoreau Linux - Networking 4 03-30-2005 06:18 AM
Apache 2: won't allow document root to be changed, plus more QtCoder Linux - Networking 1 11-06-2004 04:44 PM
Document Root in Apache Hal Linux - Newbie 2 10-28-2003 06:10 AM
Apache Document Root Path bowen Linux - General 8 11-29-2002 02:13 AM

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

All times are GMT -5. The time now is 11:32 PM.

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