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

[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