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)
Integrating External iPlanet Instance
sraza
I'm trying to get a specific branch served up by an external webserver (iPlanet 6). The iPlanet server has /iw-mount mapped to /.iwmnt/. I can browse to content perfectly, however, any attempt to include files fails. I could temporarily remedy this by sym-linking the $webserverdocroot/inc to STAGING/htdocs/inc, but that doesn't seem like the best approach to me. Is there any way of getting an external webserver to respect the docroot directives in iw.cfg?
Find more posts tagged with
Comments
sraza
To provide more info, this is not the "Customer Webserver". Its an iPlanet instance outside of TS completely.
sunil_j
Hi,
Are you able to map /iw-mount to /iwmnt on teamsite server and able to get the content processed on iPlanet WebServer.
I want to know the details how have you done these mapping on iPlanet WebServer.
Kindly reply soon
Sunil
sraza
I was able to map /iw-mount to /.iwmnt. Serving up content is not a problem; problems occur when JSP includes are used.
I added an alias from /iw-mount to /.iwmnt. I also added the necessary changes in magnus.conf and obj.conf (the default object) to pick up the TeamSite redirector. I could put in the same changes and get external IPlanet 4 servers to work. We're running TS5.5.2 (NO SP) on Sol 2.8.
Edited by sraza on 05/21/03 12:19 PM (server time).
sunil_j
Hi sraza,
Can you please attach the obj.conf & magnus.conf?
Thanks
sraza
Thanks for helping out, please see below.
---- OBJ.CONF ----
# Sun Netscape Alliance - obj.conf
# You can edit this file, but comments and formatting changes
# might be lost when the admin server makes changes.
<Object name="default">
NameTrans fn="iwrewrite"
NameTrans fn="NSServletNameTrans" name="servlet"
NameTrans fn="pfx2dir" from="/iw-mount" dir="/.iwmnt"
NameTrans fn="pfx2dir" from="/servlet" dir="$docroot/servlet" name="ServletByExt"
NameTrans fn="pfx2dir" from="/mc-icons" dir="/opt/iplanet/servers/ns-icons" name="es-internal"
NameTrans fn="pfx2dir" from="/manual" dir="/opt/iplanet/servers/manual/https" name="es-internal"
NameTrans fn="pfx2dir" from="/builder" dir="/opt/iw-home/httpd/webapps/builder" name="servlet"
NameTrans fn="assign-name" from="/nsfc" name="nsfc"
NameTrans fn="document-root" root="$docroot"
PathCheck fn="unix-uri-clean"
PathCheck fn="check-acl" acl="default"
PathCheck fn="find-pathinfo"
PathCheck fn="find-index" index-names="index.html,home.html"
ObjectType fn="type-by-extension"
ObjectType fn="force-type" type="text/plain"
ObjectType fn="shtml-hacktype"
Service type="magnus-internal/jsp" fn="NSServletService"
Service method="(GET|HEAD)" type="magnus-internal/imagemap" fn="imagemap"
Service method="(GET|HEAD)" type="magnus-internal/directory" fn="index-common"
Service fn="shtml_send" type="magnus-internal/parsed-html" method="(GET|HEAD)" opts="noexec"
Service method="(GET|HEAD|POST)" type="*~magnus-internal/*" fn="send-file"
AddLog fn="flex-log" name="access"
</Object>
<Object name="cgi">
ObjectType fn="force-type" type="magnus-internal/cgi"
Service fn="send-cgi" user="$user" group="$group" chroot="$chroot" dir="$dir" nice="$nice"
</Object>
<Object name="servlet">
ObjectType fn="force-type" type="text/html"
Service fn="NSServletService"
</Object>
<Object name="jsp092">
ObjectType fn="type-by-extension"
ObjectType fn="change-type" type="magnus-internal/jsp092" if-type="magnus-internal/jsp"
Service fn="NSServletService" type="magnus-internal/jsp092"
</Object>
<Object name="ServletByExt">
ObjectType fn="force-type" type="magnus-internal/servlet"
Service type="magnus-internal/servlet" fn="NSServletService"
</Object>
<Object name="es-internal">
PathCheck fn="check-acl" acl="es-internal"
</Object>
---- MAGNUS.CONF ----
#ServerRoot /opt/iplanet/servers/https-teamsite
ServerID https-teamsite
ServerName turkey.keyspanenergy.com
ErrorLog /opt/iplanet/servers/https-teamsite/logs/errors
PidLog /opt/iplanet/servers/https-teamsite/logs/pid
User www
MtaHost localhost
DNS off
Security off
ClientLanguage en
AdminLanguage en
DefaultLanguage en
RqThrottle 128
StackSize 131072
CGIWaitPid on
TempDir /tmp/https-teamsite-ab0d1119
Init fn="load-modules" funcs="shtml_init,shtml_send" shlib="/opt/iplanet/servers/bin/https/lib/libShtml.so" NativeThread="no"
Init fn=flex-init access="$accesslog" format.access="%Ses->client.ip% - %Req->vars.auth-user% [%SYSDATE%] \"%Req->reqpb.clf-request%\" %Req->srvhdrs.clf-status% %Req->srvhdrs.content-length%"
Init fn=load-types mime-types=mime.types
Init fn="shtml_init" LateInit="yes"
Init fn="load-modules" shlib="/opt/iw-home/lib/iwrewrite.nsapi.solaris.so" funcs="iwrewrite"
Init fn="iwrewrite"
Init fn="load-modules" shlib="/opt/iplanet/servers/bin/https/lib/libNSServletPlugin.so" funcs="NSServletEarlyInit,NSServletLateInit,NSServletNameTrans,NSServletService" shlib_flags="(global|now)"
Init fn="NSServletEarlyInit" EarlyInit=yes
Init fn="NSServletLateInit" LateInit=yes