Please can you help me with CGI in Apache 1.1 (same question with email address)

Please can you help me with CGI in Apache 1.1 (same question with email address)

Post by Australian Industrial Property Organisati » Fri, 15 Nov 1996 04:00:00



I see this message when my form posts to a perl program

Method not implemented
POST to /www/cgi-bin/pw.pl not supported.

The perl script is executable, and works with the CERN server.

The srm.conf file has an AddHandler cgi-script .pl directive.

Thank you for your help.

 
 
 

Please can you help me with CGI in Apache 1.1 (same question with email address)

Post by Australian Industrial Property Organisati » Sat, 16 Nov 1996 04:00:00



Quote:

> Method not implemented
> POST to /www/cgi-bin/pw.pl not supported.

> The perl script is executable, and works with the CERN server.

> The srm.conf file has an AddHandler cgi-script .pl directive.

> Thank you for your help.

Indeed, the problem was trivial and one of my own making. The ScriptAlias
directive was correct, but the action in the html form statement was
calling the perl program with an absolute path rather than wrt to the
cgi-bin fake name.

Here is the correct form statement.

<FORM METHOD="POST" ACTION="/cgi-bin/pw.pl">.

This should have been obvious because the error message refers to an
absolute path.

Sorry to waste your time

 
 
 

1. Apache 1.1 CGI set up question - second cgibin directory for testing


:       I am unfamiliar with httpd servers and recently was given the job of
: maintaining one.  While I have looked through the docs (not read / absorbed)
: I have not found the solution to my problem.
:       I am new to perl (too) and want to configure the server to allow me
: to run cgi programs from my own account, rather than as webadmin.  This will
: help me as I don't get much time to actually act as the admin.

Woah, you mean there's a user called 'webadmin' that httpd is running as?

:       I've got the server working fine for a standard cgi-bin directory
: but when I tried adding
:       <Directory /user/myaccount/dir/cgidir>
:       ExecCGI
:       </Directory>

To my knowledge, this is not needed ( I use apache 1.1.1, 1.2b?, and 1.0.?
)... just the scriptalias line...

-Caff

2. Customised mod_auth

3. Need help getting Java Cgi program to work on Apache 1.1 & HPUX 9.07

4. Using Performer 2.3 with Linux and GeForce 256

5. CGI: apache canned response

6. EPSON Stylus Color 400 drivers

7. Apache 1.1.1b for OS/2 Help Please

8. Suspend/Resume with Sun4c machines ?

9. Q:CGI/1.1:400 Status to Client from CGI/HTTPD

10. ePerl+NPH-CGI/1.1 complaint+Apache 2.0.39+SunOS 5.9

11. HELP: any CGI script for users to change forwarded email addresses ??

12. how to DENY an IP address in Apache 1.1?

13. HELP: any CGI script for users to change forwarded email addresses ??