You have to allow the keyword ExecCGI in your srm.conf or access.conf or
at least put it in .htaccess in your directory. The webserver has it's
own executable allow/disallow. You must also make sure it's set with
chmod as an executable (+x).
With all that set (and your stuff below), it should run.
Jim
On Sun, 26 Sep 1999, Tony Turner wrote:
> Date: Sun, 26 Sep 1999 17:50:33 +0100
> From: Tony Turner <[EMAIL PROTECTED]>
> To: "Linux List (E-mail)" <[EMAIL PROTECTED]>
> Subject: 405 Error
>
> Hi
>
> What`s likely to be the cause of a 405 error in IE5 when I try to POST
> to a CGI script. ( On Linux 5.1 - yes I will upgrade soon)
> It was working fine last night and today I can not seam to get any
> scripts to run
> HTTP 405 - Resource not allowed
> Internet Explorer
> I take it`s likely due to the fact I have changed something a day or so
> ago and in the night a process has run which stopped and started the
> services which has dis-allowed CGI scripts to be run.
>
> Where should I start looking .
>
> I`v looked in "srm.conf" and "AddHandler cgi-script .cgi" is
> there.......
>
> If I look in the "access_log", I get "My_IP_Address_Date
> etc................."POST /cgi-bin/whois.cgi HTTP/1.1" 405
> 196
>
> I can run from the /cgi-bin/ "perl whois.cgi" and that runs without
> error....
>
> As I say at 1AM this morning I was running these happily !
>
> Any suggestions
>
>
> Thanks
>
> Tony
> -
> To unsubscribe from this list: send the line "unsubscribe linux-net" in
> the body of a message to [EMAIL PROTECTED]
>
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]