The "Freeola Customer Forum" forum, which includes Retro Game Reviews, has been archived and is now read-only. You cannot post here or create a new thread or review on this forum.
I'm just doing a quick Google, but as I'm not having too much luck, thought I'd chance it that someone may be able to point me in the right direction.
Is it possible to set individual HTTP headers for a particular file via a .htaccess file? And if so, what sort of commands should be issued within the file?
Thanks to anybody who can help.
I've come across mod_headers though, which I think is what I need, along with the
EDIT: Actually, what occassion would there be when you didn't want to use the latest possible version of a page?
The idea is that the HTTP Expire header (and I think an ETAG, unless they are one in the same) tells the browser that the file won't expire (e.g. be altered) until a specific date, so if said file is in the browser cache, use that right away, rather than asking the web server if a newer version exists (saving a round trip and possible re-download of the same file).
require valid-user
That'll set authentication for individual files. I'm having some trouble getting basic authentication to work for something here - anyone know if it's likely to be the path that I'm getting wrong?
EDIT: What do you actually want it to do?
I'm just doing a quick Google, but as I'm not having too much luck, thought I'd chance it that someone may be able to point me in the right direction.
Is it possible to set individual HTTP headers for a particular file via a .htaccess file? And if so, what sort of commands should be issued within the file?
Thanks to anybody who can help.