Apache on Debian Virtualbox guest serving old pages after reboot
hi,
i am facing a peculiar issue, i am running Debian 6 as a Guest on Virtualbox. This VM runs apache httpd which serves static pages. Recently after a hard reboot of the guest, Apache started serving an older version of the website. The version being served is around half an hour older than what was the latest version. Details: Code:
$uname -a Code:
# dpkg -l|grep apache Hope to hear on this from the learned members here. |
Web sites served by apache are defined in httpd.conf file and maybe in other included confs, I would start by looking here
|
Debian uses /etc/apache2/apache2.conf in place of httpd.conf
Is there anything in particular which i should be looking for in that file? It appears unchanged to me. It is a very basic setup with just 4 html pages. Could it be that Virtualbox delays writing changes to the disk, and the VM got rebooted (hard reset) before write to disk?[COLOR="Silver"] |
If i get this right, you changed the index.php/html page from the www folder but apache is still showing your old one ?
In this case, or in any case for this matter, make sure do restart httpd/apache2 each time you change anything in the www folder in order for it to properly display the new content. Hope this helps. Cheers ! |
Host: Windows Server 2003
Guest: Debian 6 Usage: Apache httpd serving static HTML pages Issue: Host went down abruptly due to a power issue, upon reboot the Apache which earlier was showing the latest webpage started showing older versions. Some of the recent files were also missing from /var/www/ I know this sounds strange, i am trying to figure out how and why this happened myself! |
bump!
|
All times are GMT -5. The time now is 10:54 PM. |