in reply to Re^2: Perl CGI File Upload Problem
in thread Perl CGI File Upload Problem
That is an Apache message (not CGI, not Perl). It occurs when you specify an HTML document as the action of a form (as opposed to a CGI script, for example), or when the webserver isn't set to recognize your script as executable (thus it treats it as a document, and you can't POST to a document).
Within the form, the "action" should be the url of the script, not of another HTML document. If you already have it set as such, there may be a misconfiguration in Apache where it recognizes the script as a document rather than an executable program.
See the following link: Why do I keep getting "Method Not Allowed" for form POST requests? (From the Apache FAQ).
Dave
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Perl CGI File Upload Problem
by Anonymous Monk on Jun 20, 2011 at 08:53 UTC | |
by Corion (Patriarch) on Jun 20, 2011 at 09:00 UTC | |
by nikhgeo (Initiate) on Jun 20, 2011 at 09:24 UTC |