Re: Creating ETags

From: Date: Fri, 04 Aug 2000 15:23:06 +0000
Subject: Re: Creating ETags
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-10134@lists.php.net to get a copy of this message
Rasmus Lerdorf wrote: > > > <Files "\.html"> > > php_value last_modified 1 > > </Files> > > > > exactly as stated. Actually, I just realised, did you mean FilesMatch > > (or Files ~) and that's why the \. is there? Although I don't think that > > worked either (sorry to be vague but another developer is working on the > > same server now and things are getting very confusing. The tag is not > > within any other tags, btw. > > Try just doing: > > php_value last_modified 1 > > And worry about restricting it to .html files once you get it > working. Perhaps I have thje <Files> syntax wrong. I didn't test it. Thankyou for all your help, it is now working, your syntax was working, it was just the way I was testing it that wasn't working. The problem is that our old site www.fa-carling.com has a number of frames, if you navigated through these then hit reload, it reloaded in the way you would _want_ i.e. where you had got up to. Then we moved to www.fa-premier.com and this no longer happened. The only thing I could put it down to was the ETags and Last-Modified headers, but it doesn't seem to work anyway. Could it be that apache is ignoring If-None-Match (not sure if that is right) requests for PHP files and so the ETag output is not being used anyway? John

« previous php.general (#10134) next »