going down this track we should consider nginx or lighthttpd as they are much faster than apache, especially when it comes to serving static stuff like tiles
z On Wed, Apr 8, 2009 at 5:57 PM, Jackie Ng <[email protected]> wrote: > > Is this actually a feasible solution that is usable in a production > environment? If so, I am willing to make a pure, tomcat-only configuration > for the installer (but if so, this configuration won't make it for 2.1) > > - Jackie > > > Hello, > > Yes, you can but you need to do some steps. > > 1. Modify www/WEB-INF/web.xml to add cgi support: > <servlet> > <servlet-name>cgi</servlet-name> > > <servlet-class>org.apache.catalina.servlets.CGIServlet</servlet-class> > > <init-param> > <param-name>debug</param-name> > <param-value>6</param-value> > </init-param> > > <init-param> > <param-name>cgiPathPrefix</param-name> > <param-value></param-value> > </init-param> > > <init-param> > <param-name>executable</param-name> > <param-value></param-value> > </init-param> > > <!--Nota: si no le paso las variables de entorno intenta > descargarse el resultado de la ejecución del programa --> > <init-param> > <param-name>passShellEnvironment</param-name> > <param-value>true</param-value> > </init-param> > > <load-on-startup>5</load-on-startup> > </servlet> > > <servlet-mapping> > <servlet-name>cgi</servlet-name> > <url-pattern>*.fcgi</url-pattern> > </servlet-mapping> > > 2. rename www/mapagent.fcgi to mapagent.fcgi2 > 3. make a copy of maagent.exe to mapagent.fcgi > 4. rename to jar servlet-api > > Hope this helps. > > > Hi all, it is posible use Mapguide without Apache, only with Tomcat?. We are > triying but don´t see the map, only the rest of controls. > > Thanks. > > -- > # michogar > # Analista Programador SIG > # GNU/Linux Counter 462666 > > Una visión personal: > http://michogar.blogspot.com > > El dia a dia: > http://twitter.com/michogar > > "Cuenta una leyenda que si reproduces un DVD de Windows Vista original al > revés se oye a Bill Gates entonando cantos satánicos... Pero eso no es lo > peor... Si lo reproduces del derecho... ¡Se instala!." > > "It has a legend that if you play an original Windows Vista DVD backwards to > hear Bill Gates Satanic chanting songs ... But that's not the worst ... If > you play it right ... It installs!. > > _______________________________________________ > mapguide-users mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/mapguide-users > > > > > > -- > View this message in context: > http://n2.nabble.com/Mapguide-without-Apache-tp2568654p2603733.html > Sent from the MapGuide Users mailing list archive at Nabble.com. > > _______________________________________________ > mapguide-users mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/mapguide-users > -- Zac Spitzer - http://zacster.blogspot.com +61 405 847 168 _______________________________________________ mapguide-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapguide-users
