httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carl Youngblood <c...@youngbloods.org>
Subject Re: [users@httpd] Apache 2 caching dynamic scripts
Date Thu, 04 Sep 2003 23:43:12 GMT
>
>
>On Thursday 04 September 2003 12:03, Carl Youngblood wrote:
>  
>
>>> I've been experiencing a problem with Apache 2 and dynamic scripts.
>>> I've seen it in both PHP (mod_php) and FastCGI scripts.  The problem is
>>> that when I modify a script, Apache continues to serve out the old
>>> version of the script.  The only way I have been able to get it to
>>> re-parse the script is to actually restart apache.
>>    
>>
>
>  What do the access/error logs show when you request the revised
>  script?
>
>  
>
Every one of my requests gets recorded in the access log like this:

127.0.0.1 - - [04/Sep/2003:17:36:54 -0600] "GET /pt HTTP/1.1" 200 40 "-" 
"Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5b) Gecko/20030901 
Firebird/0.6.1+"

The fact that they are getting recorded tells me that the browser is not 
where the caching is taking place.

I do notice that in some of the earlier requests the number after the 
200 changes.  For example, in some cases it is 50 or 51 instead of 40.

In the error log, the only message that I am getting is a warning 
indicating that the FastCGI server was initiated:

[Thu Sep 04 17:34:47 2003] [warn] FastCGI: (dynamic) server 
"/home/httpd/htdocs/pt" started (pid 1974)

Thanks again for your help.

Carl Youngblood

Mime
View raw message