1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Trouble updating htdocs

Discussion in 'Site & Server Administration' started by Inusevs, Sep 30, 2008.

  1. #1
    Hi, I'm new to servering my own webpages and have just installed Apache 2.2. The first thing I did was to place an index.html document in the htdocs directory and try it out with http//:localhost, then it worked perfectly. After that I replaced it with a new index.html file and the old one keeps displaying every time I try to open http//:localhost with my browser. This persists even as I close and restart the server. What am I to noobish to understand? :confused:
     
    Inusevs, Sep 30, 2008 IP
  2. Bohra

    Bohra Prominent Member

    Messages:
    12,573
    Likes Received:
    537
    Best Answers:
    0
    Trophy Points:
    310
    #2
    Are u sure the file u edited is of the rite folder... and u saved it ?
     
    Bohra, Sep 30, 2008 IP
  3. pubdomainshost.com

    pubdomainshost.com Peon

    Messages:
    1,277
    Likes Received:
    21
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Clear cache, remove all instances of index.html from htdocs - and just leave the one that you want and check it,

    else go to logs folder and see what do you get in access.log - what was the request / what was sent.

    Cheers
     
    pubdomainshost.com, Sep 30, 2008 IP
  4. Inusevs

    Inusevs Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Turns out I needed advice from both of you. Sorting it out, I first noticed that there were two htdocs folders on my machine, and I was changing in the wrong one. Once I noticed that I thought "problem solved!" and just switched the right index.html for my new one. Only, the same problem still haunted me, that is, until I cleared the cache. So thanks, and cheers. :)
     
    Inusevs, Sep 30, 2008 IP
  5. pubdomainshost.com

    pubdomainshost.com Peon

    Messages:
    1,277
    Likes Received:
    21
    Best Answers:
    0
    Trophy Points:
    0
    #5
    All is well that ends well :)

    Good luck!!
     
    pubdomainshost.com, Sep 30, 2008 IP