homepage Welcome to WebmasterWorld Guest from 54.227.11.45
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

    
Apache last modifed header question with mod_headers
how do I set this in my .htaccess file?
jeremy goodrich




msg:1504037
 5:42 pm on Sep 28, 2001 (gmt 0)

I've been looking through my logs, and for fun, I'd like to let the spiders know the content is new, and was only published, say, 2 minutes before the spider got there. :) And I'd like to let caching servers know they shouldn't hold my stuff, so that I can get a better read on traffic. This should increase the bandwidth I'm using, but be much more fun to read in the log files.

I've read through some of the apache mod_headers documentation at apache.org, but I'm still a little confused. I tried a couple things, and they gave me a 500 error after I tried accessing the site with the new .htaccess file in place.

Does anyone here have some experience playing with mod_headers? I think the command in the file should be
ExpiresActive On

after that, though, what I found was a little hard to follow. still not very technical ;)

 

bobriggs




msg:1504038
 6:26 pm on Sep 28, 2001 (gmt 0)

I tried this once too jg.

Then I went to my shell account, typed in:

httpd -l

at the prompt to get a look at the extension modules which had been compiled in on my server. No mod_expires.c loaded on my server. You probably want to check this first...

netcommr




msg:1504039
 4:42 am on Oct 10, 2001 (gmt 0)


jeremy, if you don't want cacheing, look into e-tag headers. for modified dates, look into using tar to actually change the date, there is a trick...

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved