Hi Rutger! I don't have an answer to your question, but rather, some questions of my own.
On Thu, May 26, 2016 at 5:00 PM, Rutger ter Borg <rut...@terborg.net> wrote: > Hey all, > > I'm running a Wt application through wthttpd. It's deployed at '/'. In > order to get clean URLs, I configured --docroot to also list the > directories of static content. > > This works, Wt is deployed at '/'. All URLs are clean, except for the > one referring to the site's root. So, generated hrefs from an > InternalPath set to '/' shows up as '/?'. > > domain.com/? > domain.com/about > domain.com/login > domain.com/the/rest/is/clean I am still uncertain how static content, URLs, InternalPath, and --docroot all work together. For starters, could you tell me the exact command line you use to launch wthttpd (censored of any sensitive information, of course)? Also, what system are you running on. (I am using Wt on windows 7.) When you say static content, do you mean ordinary html files (that could be served by something other than wthttpd, if you so chose)? So, let's say you launch your wthttpd application (in windows notation) from: C:\somelaunchdirectory Does this mean you have subdirectories C:\somelaunchdirectory\about C:\somelaunchdirectory\login C:\somelaunchdirectory\the\rest\is\clean and you list these directories in your --docroot command-line argument? Do these three directories then each contain an index.html file? I've played around with this some myself, but I haven't been able to get --docroot to work the way I "expect" (but there is no reason to think that my expectations are correct). > Is there an additional configuration option I might have overlooked? (Sorry, I don't have an answer.) > Thanks, > > Rutger Thanks for any insight. K. Frank ------------------------------------------------------------------------------ Mobile security can be enabling, not merely restricting. Employees who bring their own devices (BYOD) to work are irked by the imposition of MDM restrictions. Mobile Device Manager Plus allows you to control only the apps on BYO-devices by containerizing them, leaving personal data untouched! https://ad.doubleclick.net/ddm/clk/304595813;131938128;j _______________________________________________ witty-interest mailing list witty-interest@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/witty-interest