How to insert a reference to a user in my entry?
mod_negotiation and wrong Last-Modified
Hello Guest
  
  • Login
• Register…
• Start blog
  • Who, Where, When
• What can I do?
• What to Read?
  • Polls
• Avatars
• Interests
  • Cities and Countries
• Random blog
• Users search
  • Search
• Games
• Tests
• QAIX
  • Сообщества
• Talxy Chat
• Horoscope
• Online
 
Зарегистрируйся!

QAIX > Apache HTTP Server > mod_negotiation and wrong Last-Modified 12 March 2005 21:24:58

  Recent blog posts: 
  Forums:   
  Discuss: 
  Recent forum topics: 
  Recent forum comments:
  Moderators:

mod_negotiation and wrong Last-Modified

Stefan Scholl 12 March 2005 21:24:58
 Hi!

I use Apache 1.3.33 (Gentoo) under Linux 2.6 together with mod_lisp
2.42. mod_lisp is a simple handler which communicates with running
Lisp images.


This is what I've found today:
When setting "Last-Modified" (the handler correctly calls
ap_parseHTTPdate(),­ ap_update_mtime(), and ap_set_last_modifie­d())
the resulting response header has an other date in the
"Last-Modified" field. It is the mtime of the DocumentRoot. But only
if the mtime of DocumentRoot is _newer_ than the date you want to
set.

There's no "Last-Modified" in the response header when you don't set
it yourself.

ap_update_mtime() only updates r->mtime when the supplied time is
_newer_. So I've guessed that some other handler sets r->mtime to
the DocumentRoot.

I've found mod_negotiation. After removing it from the server config
the response header had the correct "Last-Modified" date.

2 possible workarounds:
1.) touch the DocumentRoot to an older date
2.) remove mod_negotiation


Regards,
Stefan

--
Web: http://www.no-spoon­.de/ -*- IRC: stesch @ freenode


-------------------­--------------------­--------------------­----------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.a­pache.org/userslist.­html> for more info.
To unsubscribe, e-mail: users-unsubscribe@h­ttpd.apache.org
" from the digest: users-digest-unsubs­cribe@httpd.apache.o­rg
For additional commands, e-mail: users-help@httpd.ap­ache.org


Add comment
 

Add new comment

As:
Login:  Password:  
 
 
  
 
Пожалуйста, относитесь к собеседникам уважительно, не используйте нецензурные слова, не злоупотребляйте заглавными буквами, не публикуйте рекламу и объявления о купле/продаже, а также материалы нарушающие сетевой этикет или УК РФ.


QAIX > Apache HTTP Server > mod_negotiation and wrong Last-Modified 12 March 2005 21:24:58

see also:
Fast-Path documentation
bk commit - MyODBC 3.51 (1.380)
small patch to fix column width
пройди тесты:
see also:
Memories......
Times......
Fears

  Copyright © 2001—2008 QAIX
Idea: Miсhael Monashev
Помощь и задать вопросы можно в сообществе support.qaix.com.
Сообщения об ошибках оставляем в сообществе bugs.qaix.com.
Предложения и комментарии пишем в сообществе suggest.qaix.com.
Информация для родителей.
Write us at:
If you would like to report an abuse of our service, such as a spam message, please .