Hello Fergal, 2009/5/24 Fergal Cassidy <[email protected]>: > I am evaluating wt and would appreciate if I could get some pointers on the > following questions > > 1) Using the httpd daemon, I am looking to launch a wt app from a > running wt app upon user input e.g button press or URL navigation. > > I have tried to look at the Wt homepage example but could get launching of > example apps to work. >
On the homepage, all examples are always running. By redirecting the user to the URL of an example, a new session of the example is created as soon as the user clicks the link. From your explanation, I can't make up if this is also what you want, but it probably is. Starting/stopping Wt processes from a Wt process is probably only something that you would want to do from some system administration interface. > 2) How do you get parameter from the URL using httpd. I have tried > doing > > http://127.0.0.1:8080/wt?parm=value > > but this is translated as > > http://127.0.0.1:8080/wt?wtd=htAlnf0wlpFFF > The parameters can be queried from the WEnvironment class: http://www.webtoolkit.eu/wt/doc/reference/html/classWt_1_1WEnvironment.html See getParameter() and getParameterMap() The environment can always be reached through the wApp object: wApp->environment(); or: WApplication::instance()->environment(); > > 3) Which reverse proxy mechanism is recommended on IIS so that a URL > such as > > http://127.0.0.1/wtapp is redirected to > > http://127.0.0.1:8080/wt > > I have seen these 2 references > > a.http://www.codeproject.com/KB/web-security/HTTPReverseProxy.aspx Seems ok, but apparently you can only forward the root to one destination? And with the reverse proxy configured in mode 0, the URL looks pretty ugly. > b. http://code.msdn.microsoft.com/urlrewriter >From just looking at it for 5 minutes, this looks more promising. Can you let us know if the urlrewriter does the job? Best regards, Wim. ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.com _______________________________________________ witty-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/witty-interest
