Re: Can Apache forward all requests to PHP?
| From: | Paul Reinheimer | Date: | Fri, 17 Nov 2006 00:56:37 +0000 |
| Subject: | Re: Can Apache forward all requests to PHP? | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-17748@lists.php.net to get a copy of this message | ||
Take a look at mod_rewrite, you can use it to rewrite requests as they come
in and direct them
to a PHP script
paul
On 11/15/06, tcr@raynersoftware.com <tcr@raynersoftware.com> wrote:
I'm trying to set up a server that will take every single request, no matter what it looks like, and hand it off to a PHP script. Right now I've accomplished this by sending 404 Not Found errors to a php page. But this isn't ideal, because they show up as errors in the server log. Does anybody know how to do this? It must be possible because PHP's own site seems to be doing it. Thank you-- Paul Reinheimer Zend Certified Engineer