TS 6.0.1 SP2
Windows 2003
IIS 6.0
------------------
When doing a preview using a non-administrator user (user who does not belong to the Administrators group on teamsite server) we get an Internal Server Error (500).
The error.log has the following lines in it.
Premature end of script headers: iw_cgi_wrapper.cgi
We traced this issue to be the iw_cgi_wrapper issue, which is not able to perform some task (probably setting uid or something) that only an administrator can do ie, this cgi is probably getting executed as the user who invokes it and not the administrator.
Also, the error is not only related to preview, but also any CGI requests through iw_cgi_wrapper.
For eg:,
http://localhost/iw-bin/iw_cgi_wrapper.cgi/show_env.cgigives an error while
http://localhost/iw-bin/iw_cgi_wrapper.cgi/show_env.ipl and
http://149.184.187.50/iw-bin/show_env.cgi does not give any error.
Is there a way to fix this without adding the users to administrators group?