Re: Apache SetHandler

From: Date: Thu, 03 Apr 2003 14:38:55 +0000
Subject: Re: Apache SetHandler
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-142144@lists.php.net to get a copy of this message
Jason Wong wrote:
On Thursday 03 April 2003 17:06, Zoff wrote:
ich have a question with apache and mod_perl I can write a Handler in perl which is called before anything else happens. this allows me to write all sorts of auth stuff. is there something similar in PHP. e.g.: in httpd.conf <Directory /foobar> SetHandler MyFoo.php </Directory>
that's not what I want. I want something where all the POST and GET data gets passed thru transparently. and where I can serve static and dynamic pages as well. mod_perl can do this. Zoff.
Have a look at the auto_prepend_file and auto_append_file settings in php.ini. Note that you can set these per domain/directory by appropriate entries in httpd.conf/.htaccess.


« previous php.general (#142144) next »