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

MIME type setting

From: Mukul Gandhi <mgandhi@mtcindia.com>
Date: Wed, 30 Jun 1999 15:14:30 -0400
Message-Id: <3.0.6.32.19990630151430.009827c0@192.50.200.71>
To: www-talk@w3.org
Hi,
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
regedit/HKEY_LOCAL_MACHINE/system/CurrentControlSet/Services/W3SVC/Parameter
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.

Thanks
--Mukul Gandhi
Received on Wednesday, 30 June 1999 05:45:13 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 27 October 2010 18:14:24 GMT