[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-developers] POST problems on RAQ2



Hi,

That's interesting that Cobalt tech support said POST is not allowed by
CGIWrap.  I have POST cgi programs (in c++) running on the Raq2.

However, I HAVE noticed the lack of CONTENT_LENGTH in some cases, which is
extremely frustrating.  However, I wrote my own CGI library in C++, and I
jury rigged it to work anyway, and it works by checking for '\0' or EOF, I
can't remember which.  If you want a copy of that CGI library I wrote (it
ain't pretty), I can send it to you...

Paul Senzee
pablo_cruz@xxxxxxxxxxx

-----Original Message-----
From: Clint Gilchrist <clint@xxxxxxxxxxxx>
To: cobalt-developers@xxxxxxxxxxxxxxx <cobalt-developers@xxxxxxxxxxxxxxx>
Date: Sunday, January 30, 2000 7:25 PM
Subject: [cobalt-developers] POST problems on RAQ2


>Does anyone have an idea how to get the POST method to work on an RAQ2?
>
>I have a form setup to use method=post and then a simple perl program the
>reads the data from stdin, displays it to the client in text mode and also
>reads and displays all ENV variables.  I never get any data from STDIN,
>CONTENT_LENGTH does not appear to exist, and the REQUEST_METHOD always
>returns as GET no matter what method I put in the FORM tag.  If I use
>method=get, everything works and I am able to get data via QUERY_STRING.
>
>Cobalt tech support told me POST is not allowed by CGIWrap.  They recommend
>against it, but said I could disable CGIWrap.  As per instructions in the
KB
>article 696, I commented out all 'AddHandler cgi-wrapper' and added
>corresponding 'AddHandler cgi-script' in both my srm.conf and httpd.conf
>files.  I have even gone so far as to comment out the 'Action' and
>'ScriptAlias' directives for CGIwrap.  Still the same results.  POST method
>does not work.
>
>There are also no <Limit GET POST ...... > directives in my config files.
>
>Does anyone have a clue what I am doing wrong?  Perl programs execute, so
>there are no access problems, but somehow the server must be limiting all
>CGI to GET only.
>
>Any suggestions would be greatly appreciated.  Thanks
>
>Clint Gilchrist
>clint@xxxxxxxxxxxx
>
>
>
>_______________________________________________
>cobalt-developers mailing list
>cobalt-developers@xxxxxxxxxxxxxxx
>http://list.cobalt.com/mailman/listinfo/cobalt-developers