PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > alt.apache.configuration > Expires header without mod_expires?
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
alt.apache.configuration Apache web server configuration issues.

Expires header without mod_expires?

Réponse
 
LinkBack Outils de la discussion
Vieux 23/05/2007, 13h41   #1
Jonathan Stein
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Expires header without mod_expires?

Hi.

I have a problem with Apache 2.2.

All image files (and probably other files too) are served with an
"expires" header, and the expiration time is the current time, so all
images files are re-requested when a page is reloaded.

As far as I can see, mod_expires is not installed! Could that be true?

Any ideas how to disable the expires header?

Regards

Jonathan
  Réponse avec citation
Vieux 24/05/2007, 00h21   #2
Jonathan Stein
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Expires header without mod_expires?

Jonathan Stein wrote:

> All image files (and probably other files too) are served with an
> "expires" header, and the expiration time is the current time, so all
> images files are re-requested when a page is reloaded.


I have investigated this a little further. The expires header does not
appear if I do a HEAD request. I suppose GET and HEAD should produce the
same headers...

Also, if I put "ExpiresActive Off" in an .htaccess file, I get a 500
Internal Server Error. If I enable mod_expires, there are no errors (but
I still get the Expires header).
If I also add an ExpiresDefault statement in .htaccess, I get the
correct Expires header - and a cache-control header.

So I'm quite sure that my original Expires header comes from something
else than mod_expires...

Any ideas of which other module, that could be setting an Expires header?

Regards

Jonathan
  Réponse avec citation
Vieux 05/06/2007, 23h01   #3
Jonathan Stein
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Expires header without mod_expires?

Jonathan Stein wrote:

> All image files (and probably other files too) are served with an
> "expires" header, and the expiration time is the current time, so all
> images files are re-requested when a page is reloaded.


Does anyone have an idea of which modules, that could add the expires
header?

Regards

Jonathan
  Réponse avec citation
Vieux 11/06/2007, 13h57   #4
Jonathan Stein
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Expires header without mod_expires?

Jonathan Stein wrote:
> Jonathan Stein wrote:
>
>> All image files (and probably other files too) are served with an
>> "expires" header, and the expiration time is the current time, so all
>> images files are re-requested when a page is reloaded.

>
> Does anyone have an idea of which modules, that could add the expires
> header?


mod_cache, if anyone should run into the same problem... (The default
cache expiration time was set to 1 second, so "Expires" time was
actually request time + 1 second).

Regards

Jonathan
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 10h31.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,11290 seconds with 12 queries