Solved

http error 405 when CGI use post method

Posted on 2004-10-05
6
392 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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Suggested Solutions

It is becoming increasingly popular to have a front-page slider on a web site. Nearly every TV website,  magazine or online news has one on their site, and even some e-commerce sites have one. Today you can use sliders with Joomla, WordPress or …
Recently I have been answering a lot of questions like this in IT forums that I frequent. The question posed is usually something along the lines of "We have software X installed and need to uninstall it for reason Y" or some other variant of the sa…
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…
Learn the basics of if, else, and elif statements in Python 2.7. Use "if" statements to test a specified condition.: The structure of an if statement is as follows: (CODE) Use "else" statements to allow the execution of an alternative, if the …

762 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now