LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Edit index.html file of apache web server (https://www.linuxquestions.org/questions/linux-software-2/edit-index-html-file-of-apache-web-server-826500/)

sanketpatel.86 08-16-2010 04:48 AM

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?

evo2 08-16-2010 04:54 AM

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

Evo2.

blue_print 08-16-2010 06:24 AM

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.

chrism01 08-17-2010 12:34 AM

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.


All times are GMT -5. The time now is 07:25 PM.