> 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 :)
|