mod_headers, generation Lost-modified
XIT
xolodit на gmail.com
Ср Янв 6 11:25:46 GMT 2010
Приветствую.
Господа, есть задача генерации заголовка Lost-modified модулем апача
mod_headers, всё вроде понятно, но как отдавать именно дату последней
модификации файла? Например директива в .htaccess:
Header add Last-modified "%D"
Выдаёт:
Date Wed, 06 Jan 2010 10:35:46 GMT
Server Apache/1.3.37 (Unix)
Last-Modified %D
Connection close
Transfer-Encoding chunked
Content-Type text/html; charset=windows-1251
%D - это не дата конечно, но и этот параметр не обрабатывается. Апач
версии 1,3,37
модули apache которые подключены:
LoadModule env_module etc/apache/libexec/mod_env.so
LoadModule config_log_module etc/apache/libexec/mod_log_config.so
LoadModule negotiation_module etc/apache/libexec/mod_negotiation.so
LoadModule status_module etc/apache/libexec/mod_status.so
LoadModule includes_module etc/apache/libexec/mod_include.so
LoadModule asis_module etc/apache/libexec/mod_asis.so
LoadModule imap_module etc/apache/libexec/mod_imap.so
LoadModule action_module etc/apache/libexec/mod_actions.so
LoadModule userdir_module etc/apache/libexec/mod_userdir.so
LoadModule alias_module etc/apache/libexec/mod_alias.so
LoadModule access_module etc/apache/libexec/mod_access.so
LoadModule expires_module etc/apache/libexec/mod_expires.so
LoadModule setenvif_module etc/apache/libexec/mod_setenvif.so
LoadModule dir_module etc/apache/libexec/mod_dir.so
LoadModule speling_module etc/apache/libexec/mod_speling.so
LoadModule mime_module etc/apache/libexec/mod_mime.so
LoadModule headers_module etc/apache/libexec/mod_headers.so
LoadModule auth_module etc/apache/libexec/mod_auth.so
LoadModule autoindex_module etc/apache/libexec/mod_autoindex.so
LoadModule realip_module etc/apache/libexec/mod_realip.so
--
Relax, take it easy!
Подробная информация о списке рассылки ubuntu-ru