Hey, On Sat, May 10, 2008 at 12:37 PM, Silly & Chrischi <[EMAIL PROTECTED]> wrote: > Hello, > > what must I change, to get real pathnames in the URL? Now I get URLs like > "/?wtd=piOSuyEOCDgOibT9&js=yes&ajax=yes". How to get URLs, that sounds equal > everytime like the witty homepage?
You need to configure this in your wt_config.xml file. The location of that file corresponds to the value of CONFIGURATION in your CMake build of Wt, and defaults to c:/witty/wt_config.xml on Win32, and /etc/wt/wt_config.xml on other platforms. A sample config file can be found in your distribution. You have two ways to get "pretty" URLs: The preferred way is to set the <reload-is-new-session> option to true. By doing that, you only lose the "reload is refresh()" functionality that is default in Wt (see WApplication::refresh()). Alternatively, you could set <tracking> to "Auto", which will trigger the use of cookies for session tracking. Regards, koen ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ witty-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/witty-interest
