I am looking for a solution for this a problem: I need that every HTTP request (method is irrelevant) in Apache http server would be served only after execution of specific PHP script. This is needed because I need to gather some information about requests, etc.
As far as I understand - this could be achieved using
mod_rewrite module. So far I have done this (in
RewriteEngine on RewriteRule ^(.*)$ script.php [C]
script.php is executed, but I need that after this original request would be executed.
Thanks - any help is appreciated.