« Previous Next »

Thread: Error message : Unsupported REQUEST_METHOD

Last post 06-21-2007 8:15 AM by Zhao Ji Ma - MSFT. 8 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (9 items)

Sort Posts:

  • 06-15-2007, 5:14 AM

    • kstyler
    • Not Ranked
    • Joined on 06-15-2007, 8:53 AM
    • Posts 4

    Error message : Unsupported REQUEST_METHOD

    Hi all,

    My application run well on win 2000, 2003. My application are cgi programs.

    It is also fine on longhorn beta 3 using http.

    But when I enabled ssl, the browser return the error message "Unsupported REQUEST_METHOD".

    I have follow the article http://www.iis.net/articles/view.aspx/IIS7/Managing-IIS7/Configuring-Security/Using-SSL/How-to-Setup-SSL-on-IIS7 to enable ssl, but it still doesn't wrok.

    Could someone tell me where to find the solutions? Thanks.

  • 06-15-2007, 8:44 AM In reply to

    Re: Error message : Unsupported REQUEST_METHOD

    Did you install the CGI module?  Is the security set correctly for the CGI app?

    Jeff

    Look for Wrox's new book Professional IIS 7 in your local bookstore, or order now at Amazon.com
  • 06-15-2007, 9:19 AM In reply to

    • kstyler
    • Not Ranked
    • Joined on 06-15-2007, 8:53 AM
    • Posts 4

    Re: Error message : Unsupported REQUEST_METHOD

    Hi,

    I have installed the CGI module, it works fine when I use HTTP request.

    What do you mean the security of CGI app?

    I let CGI module have the permissions of read, script and write.

    I add all my CGI programs into ISAPI and CGI restrictions and allow them.

    I also set the ACLs of folders with everyone full control.

    Could you let me know what settings I missed?

    Thanks.

  • 06-19-2007, 8:24 AM In reply to

    Re: Error message : Unsupported REQUEST_METHOD

    Hi kstyler,

    Could you specify what CGI module? I have chance to verify Python CGI with IIS 7 using SSL today. It is OK. So I don't think it is general issue. Your module could have compatible issue with Vista. And are you able to generate some trace information with the CGI module.

    Zhao Ji Ma
    Sincerely,
    Microsoft Online Community Support

    “Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”
  • 06-20-2007, 3:30 AM In reply to

    • kstyler
    • Not Ranked
    • Joined on 06-15-2007, 8:53 AM
    • Posts 4

    Re: Error message : Unsupported REQUEST_METHOD

    Hi,

    I use native CGI module, %windir%\system32\inetsrv\cgi.dll.

    My ap run well on Vista, but it can't use https on Longhorn Beta 3, http is fine.

    My program config ssl by editing metabase data, however, it failed when add key, the error code is 0x800700B7.

    I use iis60rkt.exe, metabase explorer to add the key, it got error too.

    It told me the reason is "The handle is invalid."

     

     

     

  • 06-20-2007, 4:54 AM In reply to

    Re: Error message : Unsupported REQUEST_METHOD

    Sorry, I meant the CGI program, the .exe executable which called by the IIS CGI module (cgi.dll), not the native cgi.dll, just like php-cgi.exe or python.exe. And the operation system should be Longhorn Beta 3 not Vista.

    OK, if metabase is your issue. There is an optional setup component called Admin Base Objects (ABO) in IIS 7.0 which allows legacy configuration scripts and applications to continue running with the new configuration system in IIS 7.0.

    Check this: How to use Metabase Compatibility with IIS7, hope this is useful.

    BTW, 0x800700B7 should be "Cannot create a file when that file already exists." Based on my understanding, it may return "The handle is invalid." in turn by the component calling it.

     

    Zhao Ji Ma
    Sincerely,
    Microsoft Online Community Support

    “Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”
  • 06-20-2007, 2:42 PM In reply to

    • kstyler
    • Not Ranked
    • Joined on 06-15-2007, 8:53 AM
    • Posts 4

    Re: Error message : Unsupported REQUEST_METHOD

    Thanks for your answer.

    I have installed the "IIS 6.0 Management Compatibility", it works on Vista when enable ssl using my program.

    However, I follow the same steps on Longhorn Beta 3, but it doesn't work.

    Then I follow the article http://www.iis.net/articles/view.aspx/IIS7/Managing-IIS7/Configuring-Security/Using-SSL/How-to-Setup-SSL-on-IIS7 to enable ssl.

    The result is fine on Vista, but still bad on Longhorn Beta 3.

    Is it possible that IIS on Longhorn has some problems?

     

    Thanks.

  • 06-20-2007, 2:56 PM In reply to

    • anilr
    • Top 10 Contributor
    • Joined on 05-23-2006, 6:13 PM
    • Redmond, WA
    • Posts 2,343

    Re: Error message : Unsupported REQUEST_METHOD

    There is a known bug in beta3 which prevents CGI requests over SSL from working - there is no workaround for this bug, this will be fixed in the next IDS/RC build of windows server 2008

    Anil Ruia
    Senior Software Design Engineer
    IIS Core Server
  • 06-21-2007, 8:15 AM In reply to

    Re: Error message : Unsupported REQUEST_METHOD

    kstyler, thanks for the reply. And Anil, thanks for the help. I realize that I made a silly mistake, I was actually testing on Vista not Windows Server 2008 beta3. Sorry!

     

    Zhao Ji Ma
    Sincerely,
    Microsoft Online Community Support

    “Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”
Page 1 of 1 (9 items)
Microsoft Communities