Hi,
I have an upload button in my DCT which uses a cgi script to render a upload window through which user can browse to local desktop. The popup window has a submit window, on submit it calls another cgi which helps to upload the chosen asset to Teamsite. This functionality works perfectly in windows but it doesn't work in Linux as it seems to be a permission issue.
To fix it, in our DCT we are using cgi wrapper i.e url="/iw-bin/iw_cgi_wrapper.cgi/promptFileUpload.cgi" . and in the promptFileUpload.cgi we are using
[html]
[/html]
Iam using iw_cgi_wrapper.cgi to ensure that file is uploaded by the user who invoked it rather than iwui user.
Iam getting internal server error when i clcik on submit button and in the error.log it throws the following message:
Malformed multipart POST
[Wed Apr 29 15:09:42 2009] [error] [client 10.160.8.5] Premature end of script headers: iw_cgi_wrapper.cgi, referer:
http://devteamsite/iw-bin/iw_cgi_wrapper.cgi/promptFileUpload.cgiAny pointers on how to fix this?
My requirement is that i don't want the file to be uploaded as iwui user.
Thanks,
Arun.
TS 6.7.2
OS: Linux