Can I create Apache hooks with PHP?
I have searched the topic for a while but did not find what I was looking for ...
Is there a mod for PHP
that allows it to act like mod_wsgi
or mod_python
so that Apache hooks can be created using PHP?
For example, the WSGIAccesScript equivalent ?
thank
source to share
Only if you are using a FASTCGI module such as mod_fastcgi or mod_fcgid that implements the access check hook defined as part of FASTCGI. Obviously, you need to run PHP through FASTCGI.
For mod_fcgid see:
http://httpd.apache.org/mod_fcgid/mod/mod_fcgid.html#fcgidaccesschecker
For mod_fastcgi see:
http://www.fastcgi.com/mod_fastcgi/docs/mod_fastcgi.html#FastCgiAccessChecker
source to share