« Previous Next »

Thread: Error 404 base on IIS7+FastCGI

Last post 07-01-2009 1:04 AM by vcstone. 3 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (4 items)

Sort Posts:

  • 06-30-2009, 11:08 PM

    • vcstone
    • Not Ranked
    • Joined on 06-30-2009, 11:04 PM
    • Posts 3

    Error 404 base on IIS7+FastCGI

    Recently, I just built a Moodle (moodle.org) base on Windows Server 2008, IIS7  using FastCGI model, So far, the website works well except when we go to the page /course/view.phpIf we go to this page with any parameter, it will take a error 404 page to us.But if I browse it from server using localhost/course/view.php, it goes with any problem, and I tried 127.0.0.1 it goes well too.

    I am puzzled, it seems only if I browse this page from internet without any parameter I will get the error 404, if I browse it from local, or just add any parameter, such as …/corse/view.php?id=8, it works well.

     I know another guy meet the same issue with mine, he is using IIS7+FastCGI as well. This system works well if base on LAMP or WIMP(Windows Server 2003+IIS+MySQL+PHP), the error just come up in IIS7+FastCGI.

     

  • 06-30-2009, 11:30 PM In reply to

    Re: Error 404 base on IIS7+FastCGI

    Looking at your problem it appears that the QUERY STRING part is missing when you are clicking on the link. Moodle actually works in a different way. The URL need to be passed with appropriate query string. Can you see if this thread solves your problem. My gut feel is that this should solve. Please let us know if this is causing the problem to go away. Thanks,Don.

     

  • 06-30-2009, 11:34 PM In reply to

    • vcstone
    • Not Ranked
    • Joined on 06-30-2009, 11:04 PM
    • Posts 3

    Re: Error 404 base on IIS7+FastCGI

    Hi Don, 

    Many thanks for helping me out.

    But I don’t think the thread you gave to me can solve this problem.Because their issue is when they login and come back to the page which they want browse, the system tell them "Must specify course id, short name or idnumber".But my problem is the system did not show this sentence, it just give a Error 404 to us, tell us the file “view.php” is not exist.Obviously, the file is exist, since if we add a parameter(such as view.php?id=8), the website will feedback a right page.

     

  • 07-01-2009, 1:04 AM In reply to

    • vcstone
    • Not Ranked
    • Joined on 06-30-2009, 11:04 PM
    • Posts 3

    Re: Error 404 base on IIS7+FastCGI

    Following the Don's resolution the problem is cracked. Thanks Don!

Page 1 of 1 (4 items)
Microsoft Communities