Hello List!

I am building my app to be a wthttpd server.  When I start it from the
command line, I pass it the --docroot argument, for example, as:

   mixed_links --http-address=0.0.0.0 --http-port=80
--deploy-path=/mixed_links --docroot=".;/static_links"

(I have tried several variations of this.)

This is on windows with a mingw-w64-built wt-3.3.3.

As I understand it, this should tell wthttpd to look for static content in the
current working directory (the directory from which my app, mixed_links.exe,
was launched) and the "static_links" subdirectory of the current working
directory.

My problem is that I can't get wthttpd to use anything after the ";" in the
docroot argument.

Two points:

First, I have tried lots of variations with both directories and files, and
wthttpd can only server static html files that are in the single docroot
directory that appears before the ";".

Second, I print out WApplication::docRoot() when my WApplication is
instantiated, and that only gives me the part of the docroot argument
that comes before the ";".

So, I am quite confused.

Is this how docroot is supposed to work?  Including on windows?  Is
docroot thought (or known) to work, including on windows?  Are there
any know docroot bugs in version 3.3.3?


Thanks for any help.


K. Frank

------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
witty-interest mailing list
witty-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to