homepage Welcome to WebmasterWorld Guest from 54.205.254.108
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

    
.htaccess Files
What are the elements?
CyberSpaced




msg:1511933
 3:27 pm on Feb 17, 2001 (gmt 0)

I was digging through my logs a couple days ago when I noticed I was getting about 30 hits a day for an advertisment I no longer run. It didn't make sense to me until I realized it was cached in AOL's servers. It got me checking around, and I really want to create a .htaccess file to cover this problem.

But I've been looking around and every place I see a that file it's being used for password authorization. Can anyone help me build a simple 10-day cache .htaccess file?

Thanks.

 

DaveAtIFG




msg:1511934
 7:57 pm on Feb 17, 2001 (gmt 0)

I don't think you can do this with .htaccess, here's [bignosebird.com] a list of the Apache directives. Notice under "Deny" for example, the "Context" includes .htaccess, but the caching related directives do not, and may not be used in the .htaccess file.

AOL provides info here [webmaster.aol.com] about how to manage what they cache. It's the only way I know to do it, unfortunately, it's on a page by page basis...

Brett_Tabke




msg:1511935
 8:40 pm on Feb 17, 2001 (gmt 0)

How is the add being served? If you have control, you can add a No Cache/cache control header to the graphic to stop the graphic from being cached by proxy servers.

CyberSpaced




msg:1511936
 8:28 pm on Feb 27, 2001 (gmt 0)

The add is server off another server. The problem is that I don't control the other server. It works like this;

On my main page six months ago I added an advertisement. Three months ago I removed it. I checked, and I'm still getting hits on that banner, which I can only attibute to caching. The number of hits on the banner equals the number of AOL visitors I have to my main site, so that tells me it's AOL's cache that I'm out of date on.

Any ideas?

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