« Previous Next »

Thread: IIS 5 - User Friendly URL not handled correctly

Last post 02-24-2009 5:49 AM by griesi007. 6 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (7 items)

Sort Posts:

  • 02-23-2009, 9:53 AM

    IIS 5 - User Friendly URL not handled correctly

    I am calling the url http://.../zf.php/image/index and am getting an 404 page not found error. When using http://.../zf.php?controller=image&action=index the page is shown correctly. Obviously IIS 5 does not detect that it should show zf.php and treat image and index as parameters. Does anyone know how url/request handling can be configured to handle the url correctly ? On other servers with IIS5, IIS6, IIS7 this works. So it must definitely be a configuration issue.

  • 02-23-2009, 10:25 AM In reply to

    • tomkmvp
    • Top 10 Contributor
    • Joined on 03-20-2003, 10:27 AM
    • Central NJ
    • Posts 6,158
    • IIS MVPs

    Re: IIS 5 - User Friendly URL not handled correctly

    IIS 5 can not natively handle this type of URL.  It has no way of knowing that zf.php is a file and not a folder.

  • 02-23-2009, 11:52 AM In reply to

    Re: IIS 5 - User Friendly URL not handled correctly

    Thanks for your answer. But as I mentioned I have another server with IIS5 running, which handles this kind o URL correctly. I set up this machine some years ago and I can remember that I had the same kind of problem, but  found a way to make it possible without URL Rewriting. The pitty is that I can not remeber how I solved this at least and surfing the web the last two days did not help.

  • 02-23-2009, 1:33 PM In reply to

    • tomkmvp
    • Top 10 Contributor
    • Joined on 03-20-2003, 10:27 AM
    • Central NJ
    • Posts 6,158
    • IIS MVPs

    Re: IIS 5 - User Friendly URL not handled correctly

  • 02-23-2009, 1:55 PM In reply to

    Re: IIS 5 - User Friendly URL not handled correctly

    Following ISAPI Filters are loaded on the machine where it does not work:

    sspifilt,Compression,  md5filt

    Following ISAPI Filters are loaded on the machine where it does work:

    sspifilt,Compression,  md5filt,pwsdata,fpexedll.dll

    I still can not see the reason. David  Wang also replied to me and confirmed that it should work with IIS 5. 

     

     

  • 02-23-2009, 6:59 PM In reply to

    Re: IIS 5 - User Friendly URL not handled correctly

     Think you need AllowPathInfoForScriptMappings set to 1 in the IIS metabase for this. Possibly also need to set cgi.fix_pathinfo to 1 in your php.ini.

    ----------------
    Dominic Ryan
    Microsoft IIS MVP
    www.iis-aid.com
    My IIS articles
    My PHP articles
    My How-to guides
  • 02-24-2009, 5:49 AM In reply to

    Re: IIS 5 - User Friendly URL not handled correctly

    Thanks for all your help, but did not manage to get it working. So I decided to go for Apache which works perfectly fine.

Page 1 of 1 (7 items)
Microsoft Communities