Hey again,

We have a directAction that is protected by the pubcookie module, we have tried using <Location /cgi-bin/WebObjects/MyApp.woa/wa/ directActionName >

and <LocationMatch "directActionName">

When we use a submit button within a form bound to a a directAction we get this:

Error message: "Invalid POST data. (POST data length: 0)"

But if we use the directAction in the URL it works.

The directAction is just returning a WOComponent that will read a header variable.

There is nothing in either the apache2 access_log or error_log for the POST data error but refreshing the browser window works with this output:

142.150.195.106 - - [15/Sep/2009:13:45:18 -0400] "POST / PubCookie.reply HTTP/1.1" 302 336 142.150.195.106 - utoridValue [15/Sep/2009:13:45:18 -0400] "GET /cgi- bin/WebObjects/MyMedia.woa/wa/utorauth HTTP/1.1" 200 1960

Thanks,
Gordon


Gordon Belray
Application Programmer
Information Technology Services
University of Toronto Libraries
[email protected]
416-946-8617 w
416-427-7007 m



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to