PHP script as Apache filter or "callback"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I've got a PHP script that I want to call for every request under a
certain location. Specifically, I want to alter/set the response
headers using this script. I know headers can be set in other ways,
but in this case, the heders are set using some fairly complex logic
which I don't think can be done in the conf file directly, plus the
PHP script will have some other side effects on the server.

Does anyone know of a way to do this? If not, can anyone point me to a
good tutorial for writing apache filters?

Thanks!
-Brian

-- 
Feel free to contact me using PGP Encryption:
Key Id: 0x3AA70848
Available from: http://pgp.mit.edu/

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux