Re: Creating ETags

From: Date: Fri, 04 Aug 2000 13:54:09 +0000
Subject: Re: Creating ETags
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-10120@lists.php.net to get a copy of this message
Rasmus Lerdorf wrote: > > > I'm having problems with my site because we've got .html files set up > > as PHP scripts. We might get to change this but I still need to know how > > to send ETags with PHP. At the moment it would probably be best if we > > could set it to output ETags with every PHP document although if there's > > a method of outputting the header oneself I would also be interested to > > hear it, > > I hope you can help, and I'm sorry if this has been asked before but I > > couldn't see it > > I would add this to your httpd.conf: > > <Files "\.html"> > php_value last_modified 1 > </Files> <snip> Thanks for the suggestion it's exactly what I need, but.. it didn't seem to work, if you take a look at www.fa-premier.com's headers (or just take my word for it). It's not something that needs to be turned on when compiling PHP is it? Does it matter where in the httpd.conf I put the above directive? I didn't think so, but, just checking.. John

« previous php.general (#10120) next »