Jump to content

Apache Document Root Problem


jwwceo

Recommended Posts

Hello,

 

I finally got Apache, Php, Mysql all up and running. 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.

 

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, but it seems weird that it would change. Any ideas???

 

JW

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.