Solved

http error 405 when CGI use post method

Posted on 2004-10-05
6
399 Views
Last Modified: 2013-12-25
we are using two servers:
One Win2000 Server is the IIS server.
Second Win2000 Server which hosts all phisical files (cgi, asp, images, etc)

The virtual directory was created in IIS and the site folder was mapped on it.

The ASP pages are fine...I can logged in system...but when It has to send an transaction using POST method the IIS returns HTTP Error 405: Method not allowed.

My CGI file is a .exe (visual basic) file.

Do You have an Ideia to solve that???

0
Comment
Question by:maresol82
  • 2
6 Comments
 
LVL 48

Expert Comment

by:Tintin
ID: 12230566
A 405 error generally means the webserver is not configured correctly to allow the operation of CGI programs.
0
 

Author Comment

by:maresol82
ID: 12236357
How IIS 5.0 should be configured to allow the operation of my CGI (visual basic)...??
0
 
LVL 48

Accepted Solution

by:
Tintin earned 125 total points
ID: 12242305
Specifically, a 405 error means a particular method is not allowed.  In most instances, this is the webserver restricting POST requests.

In IIS, Application Extension Mapping for .exe, ensure you have the appropriate methods defined in the "Verbs" section.

Either select "All Verbs", or set "Limit verbs" to whatever method your CGI application uses, ie: GET or POST
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The following is a collection of cases for strange behaviour when using advanced techniques in DOS batch files. You should have some basic experience in batch "programming", as I'm assuming some knowledge and not further explain the basics. For some…
If you get a (Blue Screen of Death), your system writes a small file called a minidump. Your first step is to make certain your computer is setup to record memory dumps. Right click My Computer, choose properties. Click on the advanced tab, an…
Learn the basics of strings in Python: declaration, operations, indices, and slicing. Strings are declared with quotations; for example: s = "string": Strings are immutable.: Strings may be concatenated or multiplied using the addition and multiplic…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question