the best way to get Apache/PHP to handle *all* requests
| From: | Nic | Date: | Thu, 09 Mar 2006 15:31:13 +0000 |
| Subject: | the best way to get Apache/PHP to handle *all* requests | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-231722@lists.php.net to get a copy of this message | ||
Hi
I've got apache2/mod_php4 and I want to pass all requests to a vhost
through to a single PHP script.
I've tried this config:
<VirtualHost *>
ServerName yyy
DocumentRoot /var/local/yyy
<LocationMatch ".*">
ForceType application/x-httpd-php
</LocationMatch>
</VirtualHost>
with a PHP script called "store" I can get most of the requests to go
through the script by asking for:
http://yyy/store/something/or/other
However, RANGE requests don't go through the PHP handler.
Anyone know why?
Nic Ferrier