I am generating static HTML pages from a PHP script that forms the
content based on a database query.  One problem is that old page gets
cached.

For instance, if I write, http://localhost/index.php, from a PHP script
called http://localhost/generateindex.php, when I call the URL
http://localhost, I get the old content. When I call the URL explicitly
http://localhost/index.php, I get the updated information.

I think this has something to do with the way that Apache is serving up
the cached pages but not sure where to start looking.  Is there a module
directive that I should look into.  I have not tried this on my
production server which is running FreeBSD with Apache.  I am seeing
this on my testing site which is running Apache on top of Win XP Pro.

Any ideas?

Thanks,
Jeff

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Jeff Wallman
Tibetan Buddhist Resource Center
at the Rubin Cultural Trust
115 5th Ave, 7th Floor
New York, NY 10003 
212-780-2280 | 212-780-2005 (direct)
[EMAIL PROTECTED] | http://www.tbrc.org
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to