I've been racking my brain over this for a while, and I just can't figure out what's going wrong. I'm trying to get my first web site up and running and publicly available, but it's not cooperating very well. I'm running RH9 with Apache 2.0, if that makes a difference.
Eventually, I'm going to have a couple of different domains working off of the same server, so I'm trying to get it set-up to use virtual hosting. For the site I'm trying to get up and running right now, I want it to point to /var/www/html/stats and grab the index page from there, so that's what I put in for the DocumentRoot portion of my VirtualHost entry in the httpd.conf file. I've tried entering it the way I typed above and as /var/www/html/stats/, but both ways work the same.
If I simply type in the domain, I'm getting the Apache test page, so I know that I'm getting through my firewall and that my port forwarding set-up is working. clicky.
Now, if I had in the specific directory that it's supposed to be pointing to at the end (http://www.statsarchive.com/stats/), it actually works. clicky
So what it looks like is happening is that it's pointing to /var/www/html, one directory level above where I want it to. Any ideas?? |