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)
Location of custom CGIs ?
nipper
Where do people put custom CGIs ? I was hoping to place project specific directories under httpd/iw-bin however
the scripts do not behave consistently.
The admin manual recommends placing in httpd/iw-bin but I would prefer keeping the project separate.
One example of a failure is the show_env.cgi which behaves
differently in httpd/iw-bin/subdir than in httpd/iw-bin
Andy
Find more posts tagged with
Comments
james1
I am under the impression that all CGI programs that are to be used as custom menu items MUST reside in IWHOME/iw-bin. I could be wrong, but based on your observations, it seems to be, at the very least, a very good idea.
-- James
--
James H Koh
Interwoven Engineering
trude
You *can* have a subdirectory unter iw-bin and keep your files in there, but then you are not able to use the cgi-wrapper for that. Plus, as you pointed out, the scripts do not always behave like you would expect. Perhaps in case of your scripts it works!?
As we were told, the correct implementation of having subdirs in iw-home and use the cgi-wrapper at the same time is at the moment a feature request (#37249) for the next TS release.
nipper
I hope they make this a new feature. My project has 2 business units on one prod server & more coming, we need to keep project & BU specific files separate.
Adam Stoller
The general "best practice" for this is to use naming conventions for the scripts. e.g.,
.../iw-bin/bu1_somescript.cgi
../iw-bin/bu2_anotherscript.cgi
This way all the scripts for a particular business unit (and all the custom scripts in general) are all grouped together when you look at a [lexically sorted] listing of the directory's contents.
--fish
(Interwoven Senior Technical Consultant)