Re: Can Apache forward all requests to PHP?

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



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@xxxxxxxxxxxxxxxxxx <tcr@xxxxxxxxxxxxxxxxxx> 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
[Index of Archives]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [Postgresql]     [PHP Books]     [PHP Databases]     [PHP SOAP]
  Powered by Linux