The Daily Static
  The Daily Static
UF Archives
Register
UF Membership
Ad Free Site
Postcards
Community

Geekfinder
UFie Gear
Advertise on UF

Forum Rules
& FAQ


Username

Password


Create a New Account

 
 

Back to UserFriendly Strip Comments Index

Apache help by momofunk 2006-11-19 12:55:59
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??
[ Reply ]
  Show the relevant parts of httpd.conf (n/t) by Kickstart2003-08-26 18:49:20
    httpd.conf stuff by momofunk2003-08-26 18:53:48
      An example from my webserver by Kickstart2003-08-26 18:58:12
        NVH by momofunk2003-08-26 19:00:35
          Tried adding a trailing / by Kickstart2003-08-26 20:49:39

 

[Todays Cartoon Discussion] [News Index]

Come get yer ARS (Account Registration System) Source Code here!
All images, characters, content and text are copyrighted and trademarks of J.D. Frazer except where other ownership applies. Don't do bad things, we have lawyers.
UserFriendly.Org and its operators are not liable for comments or content posted by its visitors, and will cheerfully assist the lawful authorities in hunting down script-kiddies, spammers and other net scum. And if you're really bad, we'll call your mom. (We're not kidding, we've done it before.)