[Zope] ZCGI errors Please help
   
    Mark Poole
     
    mark_poole@kisync.com
       
    Tue, 10 Sep 2002 17:50:15 -0500
    
    
  
> This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
--B_3114525015_22023377
Content-type: text/plain; charset="ISO-8859-1"
Content-transfer-encoding: quoted-printable
Hello,
I   have configured my zope site according to this doc:
http://www.zope.org/Members/Mamey/PHP
Which is a doc on how to run cgi=B9s within the zope site to maintain
consistency across my site.
=B3Serve PHP/Perl within Zope=B2
I have the scripts running called =B3DirectToCGIContent=B2 and =B3ServeCGIContent=
=B2
similar to what the scripts recommend (my cgi=B9s are perl).  I have installe=
d
a siteroot at the local directory ( user home dir) because I am only runnin=
g
Zope on port 80 and apache running on port 8080.  My ultimate goal is to be
able to run perl/cgi scripts inside zope with one look and feel across the
site no matter if I am running cgi=B9s or zope.
I am running the latest ver of Plone , CMF =AD 1.3
If it matters I am running zope on Solaris 9.
Here are my scripts:
DirectToCGIContent script:
from string import join
def DirectToCGIContent ( self ):
        if self.REQUEST.path:
# Build up a list of what is contained in self.REQUEST.path since
# you are going to redirect the user to /CGIContent/index_html. Start
# by adding the way you can access the CGI tree outside of Zope
                originalRequestPath =3D ['http://24.x.x.x:8080/cgi-bin/']
# is the user asking for a cgi script?
        if self.REQUEST.path[0][-5:] =3D=3D '.cgi':
# pop paths of REQUEST.path until its empty
                while self.REQUEST.path:
# Remember the path components before you pop them
                        originalRequestPath.append( self.REQUEST.path[-1] )
                        self.REQUEST.path.pop()
# Is there a query string being passed to the script also?
                if self.REQUEST.environ['QUERY_STRING']:
                        originalRequestPath[ -1 ] =3D originalRequestPath[ -1
] + '?' \
                        + self.REQUEST.environ['QUERY_STRING']
# Create a full url to pass to index_html
                cgiScript =3D join( originalRequestPath, '/' )
# self.REQUEST.path is now empty so the user is going to be
# directed to /CGIContent/index_html. That method needs to
# know what the original request is, so pass it a REQUEST
# variable
                self.REQUEST.set('cgiScript', cgiScript)
# you also may want to redirect image requests to the CGI tree
        elif self.REQUEST.path[0][-3:] in ['gif', 'png']:
                  while self.REQUEST.path:
                        originalRequestPath.append(self.REQUEST.path[-1])
                        self.REQUEST.path.pop()
# This is an image, so give it to a DTMLMethod that will
# just serve up images
                        self.REQUEST.path.append('ServeImageInCGITree')
                        self.REQUEST.set('imagePath',
join(originalRequestPath, '/'))
ServeCGIContent script:
def ServeCGIContent(url=3D"http://24.x.x.x:8080/cgi-bin/" , username=3DNone ,
Passwor
d=3DNone):
        return Client.call (url,username,password)[1]
INDEX_HTML
<standard_html_header>
<dtml-if "REQUEST.has.key('cgiScript')">
           < dtml-var "ServeCGIContent(REQUEST['cgiScript'])">
</dtml-if>
<standard_html_footer>
TRACEBACK ERROR section:
Traceback (innermost last):
  File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 150, in
publish_module
  File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 114, in
publish
  File /usr/local/zope/lib/python/Zope/__init__.py, line 159, in
zpublisher_exception_hook
    (Object: CGIContent)
  File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 98, in publis=
h
  File /usr/local/zope/lib/python/ZPublisher/mapply.py, line 88, in mapply
    (Object: index_html)
  File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 39, in
call_object
    (Object: index_html)
  File /usr/local/zope/lib/python/OFS/DTMLDocument.py, line 127, in __call_=
_
    (Object: index_html)
  File /usr/local/zope/lib/python/DocumentTemplate/DT_String.py, line 473,
in __call__
    (Object: index_html)
  File /usr/local/zope/lib/python/DocumentTemplate/DT_Util.py, line 159, in
eval
    (Object: REQUEST.has.key('cgiScript'))
    (Info: REQUEST)
  File <string>, line 2, in f
  File /usr/local/zope/lib/python/AccessControl/DTML.py, line 29, in
guarded_getattr
    (Object: index_html)
  File /usr/local/zope/lib/python/AccessControl/ZopeGuards.py, line 47, in
guarded_getattr
  File /usr/local/zope/lib/python/ZPublisher/HTTPRequest.py, line 853, in
__getattr__
AttributeError: (see above)
Z2.log output:
HTTP/1.1" 200 369 "http://24.x.x.x/custb/CGIContent/index_html" "Mozilla/4.=
0
(compatible; MSIE 6.0; Windows NT 5.0)"
INDEX.HTML-Source-output
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns=3D"http://www.w3.org/1999/xhtml" xml:lang=3D"en-US"
      lang=3D"en-US">
<head>
    <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-1"
/>
    <title>U-View - CGIContent</title>
    <base href=3D"http://24./custb/CGIContent/standard_error_message" />
   =20
   =20
 =20
   =20
    <!-- Basic crude style for Netscape4.x - can be removed if you don't
want to support =20
         it. Site will still be viewable, but look a bit stripped :) -->
    <link rel=3D"Stylesheet" type=3D"text/css"
          href=3D"http://24./custb/ploneBasicNS.css" />
    <link rel=3D"Stylesheet" type=3D"text/css"
          href=3D"http://24./custb/ploneStructureNS.css" />
    <link rel=3D"Stylesheet" type=3D"text/css"
          href=3D"http://24./custb/ploneWidgetsNS.css" />
    <link rel=3D"Stylesheet" type=3D"text/css"
          href=3D"http://24./custb/ploneCalendarNS.css" />
    <!-- Style sheets for CSS2 capable browsers (Mozilla, Opera, IE,
Netscape6+, Konqueror etc. -->
   =20
    <style type=3D"text/css" media=3D"all">
        @import "http://24./custb/ploneBasic.css";
        @import "http://24./custb/ploneStructure.css";
        @import "http://24./custb/ploneWidgets.css";
        @import "http://24./custb/ploneCalendar.css";
  </style>=20
    <!-- Style sheet used for printing -->
    <link rel=3D"stylesheet" type=3D"text/css" media=3D"print"
          href=3D"http://24./custb/plonePrint.css" />
    <!-- Style sheet used for presentations (Opera is the only browser
supporting this at the moment) -->
    <link rel=3D"stylesheet" type=3D"text/css"
          media=3D"projection"
          href=3D"http://24./custb/plonePresentation.css" />
    <meta http-equiv=3D"imagetoolbar" content=3D"no" /> <!-- Disable IE6 image
toolbar -->
    <!-- Consolidation of all javascript into 1 call -->
   =20
    <meta http-equiv=3D"pragma" content=3D"no-cache" />
 =20
    <script type=3D"text/javascript"
            src=3D"http://24./custb/plone_javascripts.js"></script>
   =20
      <script language=3D'javascript' type=3D'text/javascript' >
       =20
  function formtooltip(el,flag){
    elem =3D document.getElementById(el);
    if (flag) {=20
      elem.parentNode.parentNode.style.zIndex=3D1000;
      elem.parentNode.parentNode.style.borderRight=3D'0px solid #000';
      // ugly , yes .. but neccesary to avoid a small but very annoying bug
in IE6
      elem.style.visibility=3D'visible';
    }
    else {
      elem.parentNode.parentNode.style.zIndex=3D1;
      elem.parentNode.parentNode.style.border=3D'none';
      elem.style.visibility=3D'hidden' };
  }
      </script>
   =20
</head>
<body>
<div>
        <div class=3D"top">
            <div class=3D"searchBox">
                <form name=3D"searchform"
                      action=3D"http://24./custb/search">
                    <input id=3D"searchGadget"
                           name=3D"SearchableText" type=3D"text"
                           size=3D"20" />
                    <input class=3D"context" type=3D"submit" value=3D"Search" />
                </form>
            </div>
            <a href=3D"http://24./custb">
                <img src=3D"http://24./custb/logo.png"
                     class=3D"logo" alt=3D"Plone" border=3D"0" />
            </a>
        </div>
        <hr size=3D"" class=3D"netscape4" />
    =20
        <div class=3D"tabs">
            <a href=3D"http://24./custb"
               class=3D"plain">
                Welcome
            </a>
           =20
            <span class=3D"netscape4">·</span>
            <a href=3D" http://24./custb/news"
               class=3D"plain">
                News
            </a>
           =20
            <span class=3D"netscape4">·</span>
            <a href=3D" http://24.2/custb/helpdesk/login"
               class=3D"plain">
                Helpdesk
            </a>
           =20
            <span class=3D"netscape4">·</span>
            <a href=3D" http://24./custb/CGIContent/scan_results"
               class=3D"plain">
                Scan Results
            </a>
           =20
            <span class=3D"netscape4">·</span>
            <a href=3D" http://24./custb/CGIContent/netstat"
               class=3D"plain">
                Network Status
            </a>
           =20
            <span class=3D"netscape4">·</span>
       =20
        </div>
        <div class=3D"personalBar"> 
            <span>you are not logged in</span>
           =20
            <a href=3D"http://24./custb/login_form">
                <img src=3D"http://24./custb/linkOpaque.gif"
                     alt=3D">" border=3D"0" />
               =20
                Login
            </a>
           =20
           =20
            <a href=3D" http://24./custb/join_form">
                <img src=3D"http://24./custb/linkOpaque.gif"
                     alt=3D">" border=3D"0" />
               =20
                Join
            </a>
           =20
        </div>
        <hr size=3D"" class=3D"netscape4" />
        <div class=3D"pathBar">
           =20
            You are here:
            <span>
               =20
                <a href=3D"http://24.x.x.x/custb">home</a>
                <strong> » </strong>
               =20
            </span>
            <span>
                <strong>CGIContent</strong>
            </span>
        </div>
        <hr size=3D"" class=3D"netscape4" />
    </div>
<table class=3D"columns">
    <tbody>
        <tr>
            <td class=3D"left">
    <table class=3D"box" summary=3D"Navigation" cellpadding=3D"0"
           cellspacing=3D"0">
    <thead>
        <tr><th>Navigation</th><th class=3D"empty"> </th></tr>
    </thead>
    <tbody>
        <tr class=3D"odd">
            <td colspan=3D"2">
            <strong>CGIContent</strong>
            </td>
        </tr>
       =20
        <tr class=3D"odd">
            <td colspan=3D"2">
                <a href=3D"http://24.x.x.x/custb">
                    <img src=3D"http://24.x.x.x/custb/linkTransparent.gif"
                         alt=3D">" border=3D"0" />
                   Up one level</a>
            </td>
        </tr>
    </tbody>
</table>
            </td>
           =20
            <td class=3D"main">
                <div class=3D"document">
                    <div>
    <div>
        <div>
       =20
        <h1 i18n:translate=3D"">Site error</h1>
       =20
        <p i18n:translate=3D"">
        This site encountered an error trying to fulfill your request.
        The errors were:
        </p>
       =20
            <div class=3D"group">
               =20
                <span class=3D"legend" i18n:translate=3D"">Error Details</span>
               =20
                <div class=3D"row">
                    <div class=3D"label" i18n:id=3D"error_type">
                    Error Type
                    </div>
           =20
                    <div class=3D"field">AttributeError</div>
                </div>
           =20
                <div class=3D"row">
                    <div class=3D"label" i18n:id=3D"error_message">
                    Error Message
                    </div>
           =20
                    <div class=3D"field"></div>
                </div>
           =20
                <div class=3D"row">
                    <div class=3D"label" i18n:id=3D"error_value">
                    Error Value
                    </div>
           =20
                    <div class=3D"field">has</div>
                </div>
               =20
            </div>
       =20
        </div>
    </div>
</div>            =20
                </div>
            </td>
        </tr>
    </tbody>
</table>
<hr size=3D"" class=3D"netscape4" />
<div class=3D"footer">
Ltd. Copyright © 2001-2002. All rights reserved.<br />
<hr class=3D"netscape4" />
<strong class=3D"netscape4">
If you can read this text, it means you are not experiencing the U-View
Portal design at its best.
</strong>
=20
</div>
</body>
</html>
<PRE>
Traceback (innermost last):
  File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 150, in
publish_module
  File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 114, in
publish
  File /usr/local/zope/lib/python/Zope/__init__.py, line 159, in
zpublisher_exception_hook
    (Object: CGIContent)
  File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 98, in publis=
h
  File /usr/local/zope/lib/python/ZPublisher/mapply.py, line 88, in mapply
    (Object: index_html)
  File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 39, in
call_object
    (Object: index_html)
  File /usr/local/zope/lib/python/OFS/DTMLDocument.py, line 127, in __call_=
_
    (Object: index_html)
  File /usr/local/zope/lib/python/DocumentTemplate/DT_String.py, line 473,
in __call__
    (Object: index_html)
  File /usr/local/zope/lib/python/DocumentTemplate/DT_Util.py, line 159, in
eval
    (Object: REQUEST.has.key('cgiScript'))
    (Info: REQUEST)
  File <string>, line 2, in f
  File /usr/local/zope/lib/python/AccessControl/DTML.py, line 29, in
guarded_getattr
    (Object: index_html)
  File /usr/local/zope/lib/python/AccessControl/ZopeGuards.py, line 47, in
guarded_getattr
  File /usr/local/zope/lib/python/ZPublisher/HTTPRequest.py, line 853, in
__getattr__
AttributeError: (see above)
</PRE>
--0-432207886-1031631482=3D:16387--
The CGIContent redirects are what I want to happen , but all the scripts ar=
e
not there yet , only one script is there from the portal menu.
Any help would be greatly appreciated!
Thanks,
Mark
--B_3114525015_22023377
Content-type: text/html; charset="US-ASCII"
Content-transfer-encoding: quoted-printable
<HTML>
<HEAD>
<TITLE>ZCGI errors Please help</TITLE>
</HEAD>
<BODY>
<FONT FACE=3D"Verdana">Hello,<BR>
I   have configured my zope site according to this doc:<BR>
http://www.zope.org/Members/Mamey/PHP<BR>
<BR>
Which is a doc on how to run cgi’s within the zope site to maintain c=
onsistency across my site.<BR>
“Serve PHP/Perl within Zope”<BR>
<BR>
I have the scripts running called “DirectToCGIContent” and R=
20;ServeCGIContent” similar to what the scripts recommend (my cgi̵=
7;s are perl).  I have installed a siteroot at the local directory ( us=
er home dir) because I am only running Zope on port 80 and apache running on=
 port 8080.  My ultimate goal is to be able to run perl/cgi scripts ins=
ide zope with one look and feel across the site no matter if I am running cg=
i’s or zope.<BR>
<BR>
I am running the latest ver of Plone , CMF – 1.3<BR>
<BR>
If it matters I am running zope on Solaris 9.<BR>
Here are my scripts:<BR>
<BR>
DirectToCGIContent script:<BR>
<BR>
from string import join<BR>
def DirectToCGIContent ( self ):<BR>
        if self.REQUEST.path:<BR>
# Build up a list of what is contained in self.REQUEST.path since<BR>
# you are going to redirect the user to /CGIContent/index_html. Start<BR>
# by adding the way you can access the CGI tree outside of Zope<BR>
            &nb=
sp;   originalRequestPath =3D ['http://24.x.x.x:8080/cgi-bin/']=
<BR>
# is the user asking for a cgi script?<BR>
        if self.REQUEST.path[0][-5:=
] =3D=3D '.cgi':<BR>
<BR>
# pop paths of REQUEST.path until its empty<BR>
            &nb=
sp;   while self.REQUEST.path:<BR>
# Remember the path components before you pop them<BR>
            &nb=
sp;           origina=
lRequestPath.append( self.REQUEST.path[-1] )<BR>
            &nb=
sp;           self.RE=
QUEST.path.pop()<BR>
# Is there a query string being passed to the script also?<BR>
            &nb=
sp;   if self.REQUEST.environ['QUERY_STRING']:<BR>
            &nb=
sp;           origina=
lRequestPath[ -1 ] =3D originalRequestPath[ -1 ] + '?' \<BR>
            &nb=
sp;           + self.=
REQUEST.environ['QUERY_STRING']<BR>
# Create a full url to pass to index_html<BR>
            &nb=
sp;   cgiScript =3D join( originalRequestPath, '/' )<BR>
# self.REQUEST.path is now empty so the user is going to be<BR>
# directed to /CGIContent/index_html. That method needs to<BR>
# know what the original request is, so pass it a REQUEST<BR>
# variable<BR>
<BR>
            &nb=
sp;   self.REQUEST.set('cgiScript', cgiScript)<BR>
# you also may want to redirect image requests to the CGI tree<BR>
<BR>
        elif self.REQUEST.path[0][-=
3:] in ['gif', 'png']:<BR>
            &nb=
sp;     while self.REQUEST.path:<BR>
            &nb=
sp;           origina=
lRequestPath.append(self.REQUEST.path[-1])<BR>
            &nb=
sp;           self.RE=
QUEST.path.pop()<BR>
# This is an image, so give it to a DTMLMethod that will<BR>
# just serve up images<BR>
            &nb=
sp;           self.RE=
QUEST.path.append('ServeImageInCGITree')<BR>
            &nb=
sp;           self.RE=
QUEST.set('imagePath', join(originalRequestPath, '/'))<BR>
<BR>
ServeCGIContent script:<BR>
<BR>
def ServeCGIContent(url=3D"http://24.x.x.x:8080/cgi-bin/" , usernam=
e=3DNone , Passwor<BR>
d=3DNone):<BR>
        return Client.call (url,use=
rname,password)[1]<BR>
<BR>
INDEX_HTML<BR>
<BR>
<standard_html_header><BR>
<dtml-if "REQUEST.has.key('cgiScript')"><BR>
           < dtml=
-var "ServeCGIContent(REQUEST['cgiScript'])"><BR>
</dtml-if><BR>
<standard_html_footer><BR>
<BR>
<BR>
<BR>
TRACEBACK ERROR section:<BR>
<BR>
Traceback (innermost last):<BR>
  File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 150=
, in publish_module<BR>
  File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 114=
, in publish<BR>
  File /usr/local/zope/lib/python/Zope/__init__.py, line 159, in =
zpublisher_exception_hook<BR>
    (Object: CGIContent)<BR>
  File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 98,=
 in publish<BR>
  File /usr/local/zope/lib/python/ZPublisher/mapply.py, line 88, =
in mapply<BR>
    (Object: index_html)<BR>
  File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 39,=
 in call_object<BR>
    (Object: index_html)<BR>
  File /usr/local/zope/lib/python/OFS/DTMLDocument.py, line 127, =
in __call__<BR>
    (Object: index_html)<BR>
  File /usr/local/zope/lib/python/DocumentTemplate/DT_String.py, =
line 473, in __call__<BR>
    (Object: index_html)<BR>
  File /usr/local/zope/lib/python/DocumentTemplate/DT_Util.py, li=
ne 159, in eval<BR>
    (Object: REQUEST.has.key('cgiScript'))<BR>
    (Info: REQUEST)<BR>
  File <string>, line 2, in f<BR>
  File /usr/local/zope/lib/python/AccessControl/DTML.py, line 29,=
 in guarded_getattr<BR>
    (Object: index_html)<BR>
  File /usr/local/zope/lib/python/AccessControl/ZopeGuards.py, li=
ne 47, in guarded_getattr<BR>
  File /usr/local/zope/lib/python/ZPublisher/HTTPRequest.py, line=
 853, in __getattr__<BR>
AttributeError: (see above)<BR>
<BR>
<BR>
Z2.log output:<BR>
HTTP/1.1" 200 369 "http://24.x.x.x/custb/CGIContent/index_html&qu=
ot; "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)"<BR>
<BR>
INDEX.HTML-Source-output<BR>
</FONT><FONT FACE=3D"Monaco"><TT><!DOCTYPE html PUBLIC "-//W3C//DTD X=
HTML 1.0 Transitional//EN"<BR>
"<FONT COLOR=3D"#0000FF"><U>http://www.w3.org/TR/xhtml1/DTD/xhtml1-trans=
itional.dtd</U></FONT>"><BR>
<html xmlns=3D"<FONT COLOR=3D"#0000FF"><U>http://www.w3.org/1999/xhtml<=
/U></FONT>" xml:lang=3D"en-US"<BR>
      lang=3D"en-US"><BR>
<BR>
<BR>
<BR>
<head><BR>
    <meta http-equiv=3D"Content-Type" conten=
t=3D"text/html; charset=3Diso-8859-1" /><BR>
<BR>
    <title>U-View - CGIContent</title><BR>
<BR>
    <base href=3D"<FONT COLOR=3D"#0000FF"><U>http:/=
/24./custb/CGIContent/standard_error_message</U></FONT>" /><BR>
<BR>
    <BR>
    <BR>
  <BR>
    <BR>
    <!-- Basic crude style for Netscape4.x - can be =
removed if you don't want to support  <BR>
         it. Site will still b=
e viewable, but look a bit stripped :) --> <BR>
    <link rel=3D"Stylesheet" type=3D"text=
/css"<BR>
          href=3D"<FON=
T COLOR=3D"#0000FF"><U>http://24./custb/ploneBasicNS.css</U></FONT>" />=
;<BR>
    <link rel=3D"Stylesheet" type=3D"text=
/css"<BR>
          href=3D"<FON=
T COLOR=3D"#0000FF"><U>http://24./custb/ploneStructureNS.css</U></FONT>" =
/><BR>
    <link rel=3D"Stylesheet" type=3D"text=
/css"<BR>
          href=3D"<FON=
T COLOR=3D"#0000FF"><U>http://24./custb/ploneWidgetsNS.css</U></FONT>" /&=
gt;<BR>
    <link rel=3D"Stylesheet" type=3D"text=
/css"<BR>
          href=3D"<FON=
T COLOR=3D"#0000FF"><U>http://24./custb/ploneCalendarNS.css</U></FONT>" /=
><BR>
<BR>
    <!-- Style sheets for CSS2 capable browsers (Moz=
illa, Opera, IE, Netscape6+, Konqueror etc. --><BR>
    <BR>
    <style type=3D"text/css" media=3D"all=
"> <BR>
        @import "<FONT COLOR=3D"=
#0000FF"><U>http://24./custb/ploneBasic.css</U></FONT>";<BR>
        @import "<FONT COLOR=3D"=
#0000FF"><U>http://24./custb/ploneStructure.css</U></FONT>";<BR>
        @import "<FONT COLOR=3D"=
#0000FF"><U>http://24./custb/ploneWidgets.css</U></FONT>";<BR>
        @import "<FONT COLOR=3D"=
#0000FF"><U>http://24./custb/ploneCalendar.css</U></FONT>";<BR>
  </style> <BR>
<BR>
    <!-- Style sheet used for printing --><BR>
    <link rel=3D"stylesheet" type=3D"text=
/css" media=3D"print"<BR>
          href=3D"<FON=
T COLOR=3D"#0000FF"><U>http://24./custb/plonePrint.css</U></FONT>" /><=
BR>
<BR>
    <!-- Style sheet used for presentations (Opera i=
s the only browser supporting this at the moment) --><BR>
    <link rel=3D"stylesheet" type=3D"text=
/css"<BR>
          media=3D"pro=
jection"<BR>
          href=3D"<FON=
T COLOR=3D"#0000FF"><U>http://24./custb/plonePresentation.css</U></FONT>"=
 /><BR>
<BR>
    <meta http-equiv=3D"imagetoolbar" conten=
t=3D"no" /> <!-- Disable IE6 image toolbar --><BR>
<BR>
    <!-- Consolidation of all javascript into 1 call=
 --><BR>
<BR>
    <BR>
    <meta http-equiv=3D"pragma" content=3D&quo=
t;no-cache" /><BR>
  <BR>
    <script type=3D"text/javascript"<BR>
            src=
=3D"<FONT COLOR=3D"#0000FF"><U>http://24./custb/plone_javascripts.js</U></F=
ONT>"></script><BR>
    <BR>
      <script language=3D'javascript' type=3D'=
text/javascript' ><BR>
        <BR>
<BR>
  function formtooltip(el,flag){<BR>
    elem =3D document.getElementById(el);<BR>
    if (flag) { <BR>
      elem.parentNode.parentNode.style.zIndex=
=3D1000;<BR>
      elem.parentNode.parentNode.style.border=
Right=3D'0px solid #000';<BR>
      // ugly , yes .. but neccesary to avoid=
 a small but very annoying bug in IE6<BR>
      elem.style.visibility=3D'visible';<BR>
    }<BR>
    else {<BR>
      elem.parentNode.parentNode.style.zIndex=
=3D1;<BR>
      elem.parentNode.parentNode.style.border=
=3D'none';<BR>
      elem.style.visibility=3D'hidden' };<BR>
  }<BR>
      </script><BR>
    <BR>
</head><BR>
<BR>
<body><BR>
<BR>
<div><BR>
        <div class=3D"top&quo=
t;><BR>
<BR>
            <=
;div class=3D"searchBox"><BR>
<BR>
            &nb=
sp;   <form name=3D"searchform"<BR>
            &nb=
sp;         action=3D"<FONT =
COLOR=3D"#0000FF"><U>http://24./custb/search</U></FONT>"><BR>
<BR>
            &nb=
sp;       <input id=3D"searchGadget=
"<BR>
            &nb=
sp;            &=
nbsp; name=3D"SearchableText" type=3D"text"<BR>
            &nb=
sp;            &=
nbsp; size=3D"20" /><BR>
<BR>
            &nb=
sp;       <input class=3D"context&q=
uot; type=3D"submit" value=3D"Search" /><BR>
            &nb=
sp;   </form><BR>
            <=
;/div><BR>
<BR>
            <=
;a href=3D"<FONT COLOR=3D"#0000FF"><U>http://24./custb</U></FONT>">=
<BR>
            &nb=
sp;   <img src=3D"<FONT COLOR=3D"#0000FF"><U>http://24./c=
ustb/logo.png</U></FONT>"<BR>
            &nb=
sp;        class=3D"logo" al=
t=3D"Plone" border=3D"0" /><BR>
            <=
;/a><BR>
<BR>
<BR>
        </div><BR>
<BR>
        <hr size=3D"" cl=
ass=3D"netscape4" /><BR>
     <BR>
        <div class=3D"tabs&qu=
ot;><BR>
<BR>
            <=
;a href=3D"<FONT COLOR=3D"#0000FF"><U>http://24./custb</U></FONT>"<BR>
            &nb=
sp;  class=3D"plain"><BR>
            &nb=
sp;   Welcome<BR>
            <=
;/a><BR>
            <BR=
>
            <=
;span class=3D"netscape4">&middot;</span><BR>
<BR>
            <=
;a href=3D" <FONT COLOR=3D"#0000FF"><U>http://24./custb/news</U></FONT>&quo=
t;<BR>
            &nb=
sp;  class=3D"plain"><BR>
            &nb=
sp;   News<BR>
            <=
;/a><BR>
            <BR=
>
            <=
;span class=3D"netscape4">&middot;</span><BR>
<BR>
            <=
;a href=3D" <FONT COLOR=3D"#0000FF"><U>http://24.2/custb/helpdesk/login</U>=
</FONT>"<BR>
            &nb=
sp;  class=3D"plain"><BR>
            &nb=
sp;   Helpdesk<BR>
            <=
;/a><BR>
            <BR=
>
            <=
;span class=3D"netscape4">&middot;</span><BR>
<BR>
            <=
;a href=3D" <FONT COLOR=3D"#0000FF"><U>http://24./custb/CGIContent/scan_res=
ults</U></FONT>"<BR>
            &nb=
sp;  class=3D"plain"><BR>
            &nb=
sp;   Scan Results<BR>
            <=
;/a><BR>
            <BR=
>
            <=
;span class=3D"netscape4">&middot;</span><BR>
<BR>
            <=
;a href=3D" <FONT COLOR=3D"#0000FF"><U>http://24./custb/CGIContent/netstat<=
/U></FONT>"<BR>
            &nb=
sp;  class=3D"plain"><BR>
            &nb=
sp;   Network Status<BR>
            <=
;/a><BR>
            <BR=
>
            <=
;span class=3D"netscape4">&middot;</span><BR>
        <BR>
        </div><BR>
<BR>
        <div class=3D"persona=
lBar">&nbsp;<BR>
<BR>
            <=
;span>you are not logged in</span><BR>
<BR>
            <BR=
>
            <=
;a href=3D"<FONT COLOR=3D"#0000FF"><U>http://24./custb/login_form</U></FONT=
>"><BR>
            &nb=
sp;   <img src=3D"<FONT COLOR=3D"#0000FF"><U>http://24./c=
ustb/linkOpaque.gif</U></FONT>"<BR>
            &nb=
sp;        alt=3D"&gt;" =
border=3D"0" /><BR>
            &nb=
sp;   <BR>
            &nb=
sp;   Login<BR>
            <=
;/a><BR>
            <BR=
>
            <BR=
>
            <=
;a href=3D" <FONT COLOR=3D"#0000FF"><U>http://24./custb/join_form</U></FONT=
>"><BR>
            &nb=
sp;   <img src=3D"<FONT COLOR=3D"#0000FF"><U>http://24./c=
ustb/linkOpaque.gif</U></FONT>"<BR>
            &nb=
sp;        alt=3D"&gt;" =
border=3D"0" /><BR>
            &nb=
sp;   <BR>
            &nb=
sp;   Join<BR>
            <=
;/a><BR>
            <BR=
>
        </div><BR>
<BR>
        <hr size=3D"" cl=
ass=3D"netscape4" /><BR>
<BR>
        <div class=3D"pathBar=
"><BR>
<BR>
            <BR=
>
<BR>
            You=
 are here: <BR>
<BR>
            <=
;span><BR>
<BR>
            &nb=
sp;   <BR>
<BR>
            &nb=
sp;   <a href=3D"<FONT COLOR=3D"#0000FF"><U>http://24.x.x=
.x/custb</U></FONT>">home</a><BR>
<BR>
            &nb=
sp;   <strong> &raquo; </strong><BR>
<BR>
            &nb=
sp;   <BR>
<BR>
            <=
;/span><BR>
            <=
;span><BR>
<BR>
            &nb=
sp;   <strong>CGIContent</strong><BR>
<BR>
            <=
;/span><BR>
<BR>
        </div><BR>
<BR>
        <hr size=3D"" cl=
ass=3D"netscape4" /><BR>
<BR>
    </div><BR>
<BR>
<BR>
<table class=3D"columns"><BR>
<BR>
    <tbody><BR>
        <tr><BR>
            <=
;td class=3D"left"><BR>
<BR>
    <table class=3D"box" summary=3D"Navig=
ation" cellpadding=3D"0"<BR>
           cellspaci=
ng=3D"0"><BR>
<BR>
    <thead><BR>
        <tr><th>Navigat=
ion</th><th class=3D"empty">&nbsp;</th></tr=
><BR>
    </thead><BR>
<BR>
    <tbody><BR>
        <tr class=3D"odd"=
;><BR>
            <=
;td colspan=3D"2"><BR>
            <=
;strong>CGIContent</strong><BR>
            <=
;/td><BR>
        </tr><BR>
<BR>
        <BR>
        <tr class=3D"odd"=
;><BR>
            <=
;td colspan=3D"2"><BR>
            &nb=
sp;   <a href=3D"<FONT COLOR=3D"#0000FF"><U>http://24.x.x=
.x/custb</U></FONT>"><BR>
            &nb=
sp;       <img src=3D"<FONT COLOR=3D"=
#0000FF"><U>http://24.x.x.x/custb/linkTransparent.gif</U></FONT>"<BR>
            &nb=
sp;            a=
lt=3D"&gt;" border=3D"0" /><BR>
            &nb=
sp;      Up one level</a><BR>
            <=
;/td><BR>
        </tr><BR>
<BR>
    </tbody><BR>
<BR>
</table><BR>
<BR>
            <=
;/td><BR>
            <BR=
>
            <=
;td class=3D"main"><BR>
<BR>
            &nb=
sp;   <div class=3D"document"><BR>
<BR>
            &nb=
sp;       <div><BR>
<BR>
    <div><BR>
        <div><BR>
        <BR>
        <h1 i18n:translate=3D"=
;">Site error</h1><BR>
        <BR>
        <p i18n:translate=3D"=
"><BR>
        This site encountered an er=
ror trying to fulfill your request.<BR>
        The errors were:<BR>
        </p><BR>
        <BR>
            <=
;div class=3D"group"><BR>
            &nb=
sp;   <BR>
            &nb=
sp;   <span class=3D"legend" i18n:translate=3D"=
">Error Details</span><BR>
            &nb=
sp;   <BR>
            &nb=
sp;   <div class=3D"row"><BR>
            &nb=
sp;       <div class=3D"label"=
 i18n:id=3D"error_type"><BR>
            &nb=
sp;       Error Type<BR>
            &nb=
sp;       </div><BR>
            <BR=
>
            &nb=
sp;       <div class=3D"field"=
>AttributeError</div><BR>
            &nb=
sp;   </div>        =
<BR>
            <BR=
>
            &nb=
sp;   <div class=3D"row"><BR>
            &nb=
sp;       <div class=3D"label"=
 i18n:id=3D"error_message"><BR>
            &nb=
sp;       Error Message<BR>
            &nb=
sp;       </div><BR>
            <BR=
>
            &nb=
sp;       <div class=3D"field"=
></div><BR>
            &nb=
sp;   </div>        =
<BR>
            <BR=
>
            &nb=
sp;   <div class=3D"row"><BR>
            &nb=
sp;       <div class=3D"label"=
 i18n:id=3D"error_value"><BR>
            &nb=
sp;       Error Value<BR>
            &nb=
sp;       </div><BR>
            <BR=
>
            &nb=
sp;       <div class=3D"field"=
>has</div><BR>
            &nb=
sp;   </div>        =
<BR>
            &nb=
sp;   <BR>
            <=
;/div><BR>
        <BR>
        </div><BR>
<BR>
    </div><BR>
<BR>
</div>           &n=
bsp;            =
     <BR>
            &nb=
sp;   </div><BR>
            <=
;/td><BR>
        </tr><BR>
    </tbody><BR>
</table><BR>
<BR>
<hr size=3D"" class=3D"netscape4" /><BR>
<BR>
<div class=3D"footer"><BR>
Ltd. Copyright &copy; 2001-2002. All rights reserved.<br /><BR>
<BR>
<hr class=3D"netscape4" /><BR>
<BR>
<strong class=3D"netscape4"><BR>
If you can read this text, it means you are not experiencing the U-View Por=
tal design at its best.<BR>
<BR>
</strong><BR>
 <BR>
</div><BR>
<BR>
<BR>
</body><BR>
</html><BR>
<BR>
<PRE><BR>
Traceback (innermost last):<BR>
  File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 150=
, in publish_module<BR>
  File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 114=
, in publish<BR>
  File /usr/local/zope/lib/python/Zope/__init__.py, line 159, in =
zpublisher_exception_hook<BR>
    (Object: CGIContent)<BR>
  File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 98,=
 in publish<BR>
  File /usr/local/zope/lib/python/ZPublisher/mapply.py, line 88, =
in mapply<BR>
    (Object: index_html)<BR>
  File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 39,=
 in call_object<BR>
    (Object: index_html)<BR>
  File /usr/local/zope/lib/python/OFS/DTMLDocument.py, line 127, =
in __call__<BR>
    (Object: index_html)<BR>
  File /usr/local/zope/lib/python/DocumentTemplate/DT_String.py, =
line 473, in __call__<BR>
    (Object: index_html)<BR>
  File /usr/local/zope/lib/python/DocumentTemplate/DT_Util.py, li=
ne 159, in eval<BR>
    (Object: REQUEST.has.key('cgiScript'))<BR>
    (Info: REQUEST)<BR>
  File &lt;string&gt;, line 2, in f<BR>
  File /usr/local/zope/lib/python/AccessControl/DTML.py, line 29,=
 in guarded_getattr<BR>
    (Object: index_html)<BR>
  File /usr/local/zope/lib/python/AccessControl/ZopeGuards.py, li=
ne 47, in guarded_getattr<BR>
  File /usr/local/zope/lib/python/ZPublisher/HTTPRequest.py, line=
 853, in __getattr__<BR>
AttributeError: (see above)<BR>
<BR>
</PRE><BR>
--0-432207886-1031631482=3D:16387--<BR>
<BR>
</TT></FONT><FONT FACE=3D"Verdana"><BR>
The CGIContent redirects are what I want to happen , but all the scripts ar=
e not there yet , only one script is there from the portal menu.<BR>
<BR>
<BR>
Any help would be greatly appreciated!<BR>
<BR>
Thanks,<BR>
Mark</FONT>
</BODY>
</HTML>
--B_3114525015_22023377--