Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
cgi callouts
onkar_h
while calling ipl files from DCT using a CGI-CALLOUT , can i place my ipl files in /iw-bin/xyz/ directory instead of keeping them directly under /iw-bin directory??
Find more posts tagged with
Comments
milind
Yes, sure.
You can do so ....
Only for CGI tasks u need to keep the cgi files under iw-bin only.
Frederik
Assuming Solaris/Unix TS 6.0-6.5 (I don't know 6.7 yet):
Note that if you call the CGI directly, it will run as user "iwui".
If you want to run the CGI as the actual user, you need to use a (no longer documented?) wrapper from the TS 5.5. era (/iw-bin/iw_cgi_wrapper.cgi/myscript.cgi), which has the impact that : (i) it impersonates the actual user, (ii) it only works if the file is under iw-bin/ directly.
Possibly relevant info:
http://devnet.interwoven.com/forums_vb/showthread.php?p=76222]&forumid=11&highlight=wrapper#post76222
patrickm
Yes I keep all my CGIs and IPLs in subdirectories, calling them directly without any issues.
onkar_h
i am writing the following line in my DCT
i m keeping the iw_cgi_wrapper and abc.ipl file both inside the XYZ folder.
but i get an error when i click the button "click" from the above line of code.
the error is as follows-
teamsite:wrapper
Error:Error trying to write to
\programfiles\interwoven\teamsite\iwperl\bin\iwperl.exe (wrote 1 of 68390)
and if i keep the wrapper and ipl file under both iw-bin and iw-bin/xyz then it works fine.
onkar_h
i am writing the following line in my DCT
"cgi-callout label="click" url="/iw-bin/xyz/iw_cgi_wrapper/abc.ipl" window-features= ....................."
i m keeping the iw_cgi_wrapper and abc.ipl file both inside the XYZ folder.
but i get an error when i click the button "click" from the above line of code.
the error is as follows-
teamsite:wrapper
Error:Error trying to write to
\programfiles\interwoven\teamsite\iwperl\bin\iwperl.exe (wrote 1 of 68390)
and if i keep the wrapper and ipl file under both iw-bin and iw-bin/xyz then it works fine.
jigs
check the first line in your cgi file.....
it should start with
!../../../iw-perl/bin/iwperl
then only the cgi will work properly. U need to add one more directory in the path.
onkar_h
yes i have !../../iw-perl/bin/iwperl in my ipl as the first line. but still it is not working.