Simon R Jones wrote:
This would definitely have to fall under the "hack" area,
because it is
a feature that would require additional configuration, and in other
words, is not a "pure" PHP implementation. Therefore, it is
unable to
be resolved solely through the Zend Framework. I don't know
if this is
a requirement, but I'm sure finding a solution solely through
ZF would
be superior...
Well Apache requires configuration to get URL rewriting working too, so I
don't think its likely that a pure PHP implementation is possible for Apache
or IIS.
Using a module like Isapi Rewrite seems the best option, especially since it
uses the same syntax as Apache mod_rewrite. Though I was wondering if making
use of the Error404 system in IIS was a valid way to get the basic
re-routing to work in IIS without having to depend on third-party software.
best wishes,
Si
No dispute here! I find it rather funny that it is so difficult to
manipulate the interpretation of a request URL by different server
implementations. Granted, the usefulness of mapping web paths to
filesystem paths is invaluable, surely it's not the only style that was
intended by designers of the web...