LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 12-01-2007, 08:46 AM   #1
techi
LQ Newbie
 
Registered: Aug 2007
Posts: 6

Rep: Reputation: 0
Smile Apache wont start


Has anyone came across this problem before??
Apache fails to start when I move the web pages to a new area.
I have changed the settings in the httpd.conf file but it wont start when I change the document directory to the new location. When I change it back to how it was it starts up fine.

/var/www/html is the default location when I try to change it to /www/html it fails to start.

I am using Fedora 5. With Redhat I didn't have this problem.

Cheers
 
Old 12-01-2007, 09:12 AM   #2
w3bd3vil
Senior Member
 
Registered: Jun 2006
Location: Hyderabad, India
Distribution: Fedora
Posts: 1,191

Rep: Reputation: 49
have you created the direcory /www/html with proper permissions.
Try
Quote:
chmod 777 /www/html
and see if that works out for you.
 
Old 12-02-2007, 08:30 AM   #3
techi
LQ Newbie
 
Registered: Aug 2007
Posts: 6

Original Poster
Rep: Reputation: 0
Tried it but still the same. But thanks any way
 
Old 12-02-2007, 08:50 AM   #4
zhoun
Member
 
Registered: Oct 2007
Location: anywhere
Distribution: slackware64 current & win7 64 on thinkpad X61
Posts: 104

Rep: Reputation: 18
1. search the httpd.conf, find the keyword "/var/www/html".
The path only exists in the DocumentRoot section?
Maybe some other configure item forbid the path?

2. There are some hidden files in /var/www/html?
such like .htaccess?
 
Old 12-02-2007, 12:11 PM   #5
w3bd3vil
Senior Member
 
Registered: Jun 2006
Location: Hyderabad, India
Distribution: Fedora
Posts: 1,191

Rep: Reputation: 49
if possible read your apache logs and try pasting them here, so we can help out on the problem.
 
  


Reply



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 wont start stlyz3 Linux - Software 14 05-30-2005 01:25 PM
apache service wont start tenmiles Linux - General 3 11-26-2004 12:45 AM
apache wont start mrgeoff Linux - Software 8 10-27-2004 02:46 PM
Apache wont start. Never seen this error before mpriddy Linux - Software 1 10-12-2004 03:44 PM
apache wont start... any ideas... Gear_freak2000 Linux - Software 6 06-02-2003 01:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:05 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