LinuxQuestions.org
Help answer threads with 0 replies.
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, 11: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, 12:12 PM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,417

Rep: Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397
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, 12:36 PM   #3
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,991

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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 06:55 AM
apache is skipping index.html spicychicken Linux - Software 1 02-15-2005 02:25 AM
How to change the default index.html in Apache bngrhl Linux - Newbie 2 06-08-2004 02:47 PM
Cant find apache index.html LinuxBlackBox Linux - Software 4 11-17-2003 11:35 AM
index.html renaming in Apache SSBN Linux - Networking 2 05-09-2003 08:57 PM

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

All times are GMT -5. The time now is 03:20 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration