nv-l
[Top] [All Lists]

AW: AW: Re: Where o where should I put my CGI scripts ?

To: nv-l@lists.tivoli.com
Subject: AW: AW: Re: Where o where should I put my CGI scripts ?
From: REIBENSCHUH Alfred <alfred.reibenschuh@it-austria.com>
Date: Wed, 30 Aug 2000 13:34:48 +0200
> hi !
> 
> and now we have a problem since the servlet is not distributed 
> with the 2.2.4 version of Jetty as installed into netview :(~
> 
> i have found the servlet under
> ftp://jetty.mortbay.com/pub/Jetty-2.4.6/contrib/uk/org/gosnell/Servlets/ 
> BUT how does one plug that beast into the netview installation ?
> 

now i know !!!

copy the files from the above URL onto
/usr/OV/www/servlets/uk/org/gosnell/Servlets/

then add the following entries to your /usr/OV/www/conf/JettyServer.prp :
        main.root.Servlet.PROPERTY.SERVLET.CgiServlet.CLASS             :
uk.org.gosnell.Servlets.CgiServlet
        main.root.Servlet.PROPERTY.SERVLET.CgiServlet.PATHS             :
/servlet/CgiServlet%
        main.root.Servlet.PROPERTY.SERVLET.CgiServlet.CLASSPATH         :
./servlets
        main.root.Servlet.PROPERTY.SERVLET.CgiServlet.PROPERTY.Roots    :
/your/cgi/path;/your/other/cgi/path

restart jetty with:
        ovstop webserver
        ovstart

and then you can reach your cgis :
        "/your/cgi/path/test.cgi"
        "/your/other/cgi/path/test2.cgi"
via
        "http://your.NV.server:yourjettyport/servlet/CgiServlet/test.cgi";
        "http://your.NV.server:yourjettyport/servlet/CgiServlet/test2.cgi";

happy cgi-ing :)


<Prev in Thread] Current Thread [Next in Thread>

Archive operated by Skills 1st Ltd

See also: The NetView Web