[cgiwrap-users] CGI-Wrap w/ Apache. POST method issue
Brought to you by:
nneul
From: Daniel W. <da...@pr...> - 2001-10-20 06:54:45
|
Im having a very weird problem with CGIWrap. I need to beable to use the following method effectivly. ScriptAlias /Blurb /blah/cgiwrap Action cgi-wrapper /Blurb/cgiwrap AddHandler cgi-wrapper .cgi=20 Ive managed to recode small parts of the script to get it to run a = script correctly but... When POST data is sent to the script, it can't = read it. If you unfamiliar with how apache goes about sending post data, ill = explain a little. Apache basicaly sends the form data to STDOUT, which will be STDIN on = the receving script. The script then takes the CONTENT_LENGTH enviroment = varible and reads how ever much data CONTENT_LENGTH says there is from = STDIN. Heres the problem, the CONTENT_LENGTH var is set correctly, but nothing = is read from STDIN... Any clues why? Its been done, ive seen it done, i just need some clues as to whats = wrong.=20 The other methods of using CGIWrap, including all that lovely rewrite = will not work in this case. It needs to be completly seamless, with no = differences from normal CGI execution. Also i managed to grab the patched source for Cobalts version.... same = problem... Thanks for your time Danni Wilson Server Admininstrator/Programmer Progressive Ideas da...@pr... |