You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2006/05/01 22:57:11 UTC
DO NOT REPLY [Bug 25516] - mod_cache does not cache if no Content-Length specified
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=25516>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=25516
mwang@unixlabplus.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Version|2.0.48 |2.2.0
------- Additional Comments From mwang@unixlabplus.com 2006-05-01 20:57 -------
(In reply to comment #3)
> Actually httpd caches content which does not have content-length set. Please
> post your cache configuration and the headers of a request to your uncached php
> file.
Sorry for replying late. I did not receive email to alert me the update
on this report. Here is the information you needed:
(1) cache configuration:
<IfModule mod_cache.c>
<IfModule mod_disk_cache.c>
CacheRoot /tmp/cacheroot
CacheEnable disk /
CacheDirLevels 5
CacheDirLength 3
CacheMinFileSize 0
</IfModule>
</IfModule>
(2) headers:
# curl -I http://web.unixlabplus.com:1221/a.php
HTTP/1.1 200 OK
Date: Mon, 01 May 2006 20:47:09 GMT
Server: Apache/2.2.0 (Unix) PHP/4.4.2
X-Powered-By: PHP/4.4.2
Content-Type: text/html
(3) a.php:
# cat /usr/local/apache/htdocs/a.php
<?php
phpinfo();
?>
I could not find entry in /tmp/cacheroot for "a.php" while I found entries
for static files.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org