Re: intercepting URLs in a "control-system"
| From: | Mike Migurski | Date: | Fri, 17 Oct 2003 14:40:23 +0000 |
| Subject: | Re: intercepting URLs in a "control-system" | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-166472@lists.php.net to get a copy of this message | ||
>If you are using PHP as an Apachemodule you also have the option of using
>a url like
>http://example.com/index.php/test/test.html
>Apache will see that test.html is not available and will travel down the
>directory path til it gets to the index.php (which should exist BTW) and
>call that script.
>This seems to work on most default installation of apache using php as
>apachemodule. (Don't know if this is true for all apache installations and
>if this still works on apache2)
This came up here a week or so ago - it will work with Apache 2.0 if the
AcceptPathInfo directive is set correctly:
<http://httpd.apache.org/docs-2.0/mod/core.html#acceptpathinfo>
---------------------------------------------------------------------
michal migurski- contact info and pgp key:
sf/ca http://mike.teczno.com/contact.html