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 08-16-2010, 04:48 AM   #1
sanketpatel.86
LQ Newbie
 
Registered: Aug 2010
Posts: 2

Rep: Reputation: 0
Edit index.html file of apache web server


Hello,
Do I need to restart the webserver if I make any change in the file index.html?
Or should the changes get reflected when I open the page again without restarting the service?
 
Old 08-16-2010, 04:54 AM   #2
evo2
Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Debian, SL
Posts: 5,318

Rep: Reputation: 1142Reputation: 1142Reputation: 1142Reputation: 1142Reputation: 1142Reputation: 1142Reputation: 1142Reputation: 1142Reputation: 1142
Depends on what web server you are using. AFAIK if it is apache then you shouldn't need to restart it.

Evo2.
 
Old 08-16-2010, 06:24 AM   #3
blue_print
Member
 
Registered: May 2010
Location: In world
Distribution: RHEL, CentOS, Ubuntu
Posts: 275
Blog Entries: 3

Rep: Reputation: 49
You do not need to restart Apache if you do any changes in web content files like html, htm, php etc...

You would need to restart Apache, if you're doing changes in Apache configuration.
 
Old 08-17-2010, 12:34 AM   #4
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5, Centos 5.10
Posts: 16,269

Rep: Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028
Note that the 'old' version may remain cached in memory for sometime, unles it gets forced out by another request (similarly on the client browser).
You can force the browser to get the latest by using shift-reload instad of reload; this is supposed to force the server to get a fresh copy, overwriting any cached versions along the way. Same principle as a POST instead of a GET request.
 
  


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
apache2 folder 'var/www' is not shareable; can not edit the index.html file mcanallyd Linux - Newbie 2 06-18-2009 05:46 PM
Apache 1.3.34 Server on Kubuntu - index.html file permissions? lefty.crupps Linux - Networking 0 09-07-2006 09:59 AM
Apache problem - cannot get index.html file to show nebloof Linux - Software 3 01-15-2005 10:32 PM
Apache index.html edit makes no change dwbrown Linux - Software 2 09-29-2004 11:36 AM
Apache 2.0 search for index.html file pawlub Linux - Software 2 10-28-2003 10:03 AM


All times are GMT -5. The time now is 09:48 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration