hi

The URL format http://www.domain.com/index.php/test/my/vars works fine in
IIS and copies the value "/index.php/test/my/vars" to
$_SERVER['REQUEST_URI'] so I guess the standard *without rewrite*
implementation should work without a hitch. 

Apart from using an ISAPI module (or ASP.NET for which you can code a simple
rewrite apparently relatively easily from the tutorials I've seen around)
one idea would be to hook into the use of an Error 404 page. I did a quick
test on IIS 6.0 and for one test folder I set the Error 404 page to be sent
to the absolute URL: /test/router.php 

So a fictional URL within my test folder:
http://www.domain.com/test/view/apples/5

Resolves happily to the /test/router.php file and populates
$_SERVER['REQUEST_URI'] with:
/test/router.php?404;http://www.domain.com:80/test/view/apples/5

This may be an option, though I don't know if others would consider this too
much of a hack in IIS? 

best wishes,
Si


Reply via email to