A bit OT Apache- nagios refresh issue

Joerg Linge pitchfork at ederdrom.de
Mon Mar 1 15:23:32 CET 2010


Am 01.03.10 14:01, schrieb Assaf Flatto:
> Hello List
> 
> I am having an annoying issue with the refresh option with nagios 3.2 .
> When ever i go to a page (cgi) and press the F5 or CTRL-R to reload the 
> page , the apache sends  me to the "home page" and not to the same CGI 
> with new data.
> 
> The URL in the browser is http://nagios/nagios/ and it works fine with 
> nagios 3.0.6 .
> I compared the Apache conf and could not find the difference .
> below is a section of my apache log showing the my access and doing a 
> refresh .

Just add a header line to share/index.php

<?php header("Cache-Control: max-age=7200, public"); ?>

This must be the first line in this file.

Or just rename index.php to index.html

Joerg

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list