Hey,

2015-07-23 21:03 GMT+02:00 K. Frank <kfrank2...@gmail.com>:
> Is it possible to support both link1, an app-rendered internal
> path, and page1.html, a plain, external html page, in the same
> "folder"?  That is
>
>    http://localhost/links/link
>    http://localhost/links/page1.html
>
> (where "--deploy-path=/links")?

Yes. But you have to explain to the wthttpd which 'paths' to consider
as static files to be fetched from the docroot. There's a special
syntax to do this when specifying the docroot, e.g.:

--docroot="docroot;/resources,/links/page1.html,/links/page2.html"

This configures the wthttpd to consider only the paths
/resources,/links/page1.html,/links/page2.html to be served as static
files, fetched
from the 'docroot' folder in the current working directory (thus
docroot/links/page1.html for example).

If you do not specify this additional information, then Wt will assume
that everything under the deployment path is dynamic, and everything
else is static.

Regards,
koen

------------------------------------------------------------------------------
_______________________________________________
witty-interest mailing list
witty-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to