W3C home > Mailing lists > Public > www-talk@w3.org > May to June 1999

MIME type setting

From: Mukul Gandhi <mgandhi@mtcindia.com>
Date: Mon, 28 Jun 1999 16:09:03 -0400
Message-Id: <>
To: www-talk@w3.org
I have installed Perl development kit on my M/C. My Perl executable is at
c:\perl\bin\perl.exe. I am using MS Personal Web Server 4.0 & I want to run
a .pl file(perl script) as a cgi script. But when I invoke the perl script
through a HTML form, the following error comes -
"HTTP Error 405
405 Method Not Allowed
The method specified in the Request Line is not allowed for the resource
identified by the request. Please ensure that you have
the proper MIME type set up for the resource you are requesting.
Please contact the server's administrator if this problem persists."

1. I have tried setting MIME type through Windows Explorer/View/Folder
Options/File Types, and also 
2. Associating .pl with perl.exe in Windows Registry
s/Script Map

But still I am getting this error. Can somebody tell me the correct way of
solving the problem, and I will be greatful.

--Mukul Gandhi
Received on Monday, 28 June 1999 06:39:49 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:33:01 UTC