LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-29-2004, 10:40 AM   #1
dwbrown
LQ Newbie
 
Registered: Jul 2004
Location: Magnolia, TX
Distribution: rh 7.2
Posts: 4

Rep: Reputation: 0
Question Apache index.html edit makes no change


Hello Linux Apache gurus, I have been running a public Linux box for about 4 years. Until recently, I have not had much problems with the Apache web server or any of its configuration. Now, when I try to make a change to a website index.html file running on the Linux box server the change is not reflected when the website is requested in my favorite browser. Some weeks ago I had the same problem on another website on the same Linux box and after some time had passed the edited changes in the index.html were reflected when the website in question was requested in my favorite browser. Please advise, David.
 
Old 09-29-2004, 11:12 AM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
As a rule, browsers and webservers tend to cache a page for as long as possible.
To force a reload, use Shift-Reload in your browser. This forces it to go to the server for the page. If the server doesn't reload from disk, you'll have to bounce Apache.
(Apologies if you know this already).
 
Old 09-29-2004, 11:36 AM   #3
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,994

Rep: Reputation: 76
In theory, apache will return the file modification date along with the headers when requested by a proxy cache; the proxy should do this on every request of the page and serve up the cached page only if it isn't out of date.

Unfortunatly, many proxies are buggy in the respect, including ones built into some web browsers. For these, you need to flush the file out of the cache (usually purging the entire cache in the process) to get the page to load. Otherwise, the new page will work itself through eventually, usually taking about a month or so.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[apache 2.0] can't get index.html to load fraggie Linux - Software 5 04-09-2005 05:55 AM
apache is skipping index.html spicychicken Linux - Software 1 02-15-2005 01:25 AM
How to change the default index.html in Apache bngrhl Linux - Newbie 2 06-08-2004 01:47 PM
Cant find apache index.html LinuxBlackBox Linux - Software 4 11-17-2003 10:35 AM
index.html renaming in Apache SSBN Linux - Networking 2 05-09-2003 07:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration