Fedora Linux Support Community & Resources Center
  #1  
Old 23rd April 2008, 06:33 PM
jwceo Offline
Registered User
 
Join Date: Apr 2008
Posts: 3
Document Root Not Working

Hello,

I finally got Apache, Php, Mysql all up and running. It's my first time, so I was pretty stoked!!!

I then rebooted my server, and the test pages I made, index.html, and test.php are no longer showing up. I get the test Apache page instead.

It seems the document root was somehow changed, or possibly one of the install scripts made some kind of symlink or alias or something. My httpd.conf has the following:

DocumentRoot "/usr/local/apache2/htdocs"

Yet, the server is looking for my docs in:

/var/www/html/

I know I can just move my source files there I and (and Ive done this for now), but it seems weird that it would change. In testing, I commented out the line altogether, and the server still looks for files in /var/www/html, so it looks like something other than httpd.conf is in control. any ideas??

JW
  #2  
Old 23rd April 2008, 07:16 PM
leigh123linux's Avatar
leigh123linux Offline
Retired Administrator
 
Join Date: Oct 2006
Posts: 21,509
Thread closed , Please don't double post !

http://forums.fedoraforum.org/showthread.php?t=186854


Before posting again try reading the guide lines !!!

http://www.fedoraforum.org/?view=guide
__________________
My Hardware
- CPU: AMD Phenom II X6 Hex Core 1055T 95W Edition @3.5Ghz
- Motherboard: Gigabyte GA-880GM-UD2H
- Cooler: Corsair H50 CPU Cooler
- RAM: Corsair Dominator 8GB (4x2GB) DDR3 1600MHz
- Graphics: Gigabyte GeForce GTS 450 OC 1024MB GDDR5
Closed Thread

Tags
document, root, working

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
403 error in chroot document root meisi Servers & Networking 0 9th October 2009 09:05 AM
Document Root Directory problem when using LocalHost Booma Using Fedora 5 22nd May 2009 12:19 PM
Apache 2 document root melyadon Servers & Networking 4 2nd April 2005 07:58 PM
How to change root document directory in Apache? BandC Using Fedora 4 4th March 2005 06:00 AM


Current GMT-time: 01:58 (Friday, 24-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat