[nycphp-talk] Prob. With Headers in .htaccess using PHP
jkelly at sussex.edu
Fri Apr 1 17:24:17 EST 2005
I got it working.
<<< jkelly at sussex.edu 4/ 1 4:32p >>>
I can set headers in .htaccess for files in a folder just fine when Apache 1.3.x serves a .htm page.
However if the page is a .php page the headers are not being added. Instead I get a "X-Powered-By:·PHP/4.x.x" or something of the sort but no
Headers that I want served.
Where I work the files are cached in the server room and there is another cache farther down our pipe. The evil network admins are non-cooperative in my requests to not cache that folder/files.
It is causing problems with my dynamic PHP pages and only shows the cached page the first time around. Yes I can get it to "refresh" every 5 seconds via <meta expires, but I would like something that doesn't pound the server and is more of a real fix.
New York PHP Talk Mailing List
Supporting Apache, MySQL and PHP
More information about the talk