Clean PathInfo URLs and Query Strings on IIS 5.1 and PHP 5

yudhiwl

New Member
I'm trying to get 'clean' PathInfo style URLs with query string parameters working on PHP 5.3 and IIS 5.1 using FastCGI. I've found that I can use:(1) \[code\]http://www.example.com/index.php?/path/to/foo/\[/code\]but not:(2) \[code\]http://www.example.com/index.php/path/to/foo/\[/code\] (Note the missing ?)Which isn't a big issue until I want to mix URLs with a query string like:(3) \[code\]http://www.example.com/index.php?/path/to/foo/?color=blue&size=small\[/code\]That makes my $_GET look like:\[code\]Array( [/myapp/foo/bar?colour] => blue [size] => small)\[/code\]Is there way to get a URL scheme like (4) below to work, and with $_GET being populated correctly on IIS 5.1?(4) \[code\]http://www.example.com/index.php/path/to/foo/?color=blue&size=small\[/code\]P.S. - I remember being able to do this before, but I suspect I was using Apache at the time and not IIS. Unable to use Apache for this. However the production server has IIS7 (I only have IIS 5.1 on my machine).
 
Back
Top