https://issues.apache.org/bugzilla/show_bug.cgi?id=45273
Summary: mod_dir bypasses mod_cache
Product: Apache httpd-2
Version: 2.2.9
Platform: Other
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: mod_dir
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
Requests handled by mod_dir are not cached. Examples below.
1) Cached request:
$ curl -s http://localhost/index.html > /dev/null
$ curl -I http://localhost/index.html
HTTP/1.1 200 OK
Date: Tue, 24 Jun 2008 23:19:41 GMT
Server: Apache/2.2.9 (Unix)
Last-Modified: Mon, 09 Jun 2008 13:16:13 GMT
ETag: "481a3-10c0-44f3b9d9fc140"
Accept-Ranges: bytes
Content-Length: 4288
Cache-Control: max-age=120
Expires: Tue, 24 Jun 2008 23:21:28 GMT
Age: 13
Content-Type: text/html
2) Uncached request (via mod_dir):
$ curl -s http://localhost/ > /dev/null
$ curl -I http://localhost/
HTTP/1.1 200 OK
Date: Tue, 24 Jun 2008 23:22:39 GMT
Server: Apache/2.2.9 (Unix)
Last-Modified: Mon, 09 Jun 2008 13:16:13 GMT
ETag: "481a3-10c0-44f3b9d9fc140"
Accept-Ranges: bytes
Content-Length: 4288
Cache-Control: max-age=120
Expires: Tue, 24 Jun 2008 23:24:39 GMT
Content-Type: text/html
Some snippets of the httpd.conf file:
---------------------------------
<Directory "/var/www/html">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
ExpiresActive On
<Files ~ "^index.html$">
ExpiresDefault A120
</Files>
</Directory>
CacheRoot /var/cache/apache/
CacheEnable disk /
CacheDirLevels 2
CacheDirLength 1
CacheIgnoreCacheControl On
<IfModule dir_module>
DirectoryIndex index.html
</IfModule>
---------------------------------
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]