PDA

View Full Version : [ubuntu] Apache "locks up"


allspiritseve
August 21st, 2008, 04:50 PM
Hello all,

I have a VERY annoying bug going on with my local apache server I have set up. Every once in a while, I'll be editing a file, and when I click refresh, nothing will change. It's like it's cached the file on the server, and isn't updating a new copy. I have no idea why it's doing this, and reloading apache doesn't help. Once in a while, if I wait a bit and hit refresh, it will update. Anyone know how to fix this?

Thanks,

Cory

cdenley
August 21st, 2008, 05:16 PM
Are you sure it's not your browser doing the caching. Use wget or telnet to see if the wrong version is actually being sent by the server.

telnet mydomain.com 80
GET /myfile.php HTTP/1.0


(last line is blank)

By the way, that title is very misleading. If it were "locked up" the server wouldn't be giving any response at all.

allspiritseve
August 23rd, 2008, 02:58 PM
It was my browser. Thanks for your help.