Здравствуйте!FreeBSD 7.0, apache 2.2, PHP 5.2.5.
# ./apachectl -M
Loaded Modules:
core_module (static)
mpm_prefork_module (static)
http_module (static)
so_module (static)
authn_file_module (shared)
authn_dbm_module (shared)
authn_anon_module (shared)
authn_default_module (shared)
authn_alias_module (shared)
authz_host_module (shared)
authz_groupfile_module (shared)
authz_user_module (shared)
authz_dbm_module (shared)
authz_owner_module (shared)
authz_default_module (shared)
auth_basic_module (shared)
auth_digest_module (shared)
file_cache_module (shared)
cache_module (shared)
disk_cache_module (shared)
dumpio_module (shared)
include_module (shared)
filter_module (shared)
charset_lite_module (shared)
deflate_module (shared)
log_config_module (shared)
logio_module (shared)
env_module (shared)
mime_magic_module (shared)
cern_meta_module (shared)
expires_module (shared)
headers_module (shared)
usertrack_module (shared)
unique_id_module (shared)
setenvif_module (shared)
version_module (shared)
ssl_module (shared)
mime_module (shared)
dav_module (shared)
status_module (shared)
autoindex_module (shared)
asis_module (shared)
info_module (shared)
cgi_module (shared)
dav_fs_module (shared)
vhost_alias_module (shared)
negotiation_module (shared)
dir_module (shared)
imagemap_module (shared)
actions_module (shared)
speling_module (shared)
userdir_module (shared)
alias_module (shared)
rewrite_module (shared)
php5_module (shared)
Syntax OK
Хочу настроить кеширование динамических страниц. Для этого выбрал модуль mod_cache.
#httpd-vhosts.conf
<VirtualHost *:80>
CacheDefaultExpire 60
CacheEnable disk /
CacheDirLevels 3
CacheDirLength 3
CacheRoot /var/tmp
DocumentRoot "/usr/local/www/ome"
DirectoryIndex index.php
ServerName ome
</VirtualHost>
chown www:www /var/tmp
chmod a+rw /var/tmp
Рестарт веб-сервера, браузером на ome. Обновляю страничку несколько раз, смотрю в кеш - пусто. Что я не так делаю?