Hey,

2016-04-05 20:36 GMT+02:00 Aaron Laws <dartm...@gmail.com>:

> I'm having a bit of difficulty configuring --deploy-path and --docroot.
>
> When I launch from "." and use --docroot=".;css", I can access
> ./css/styles.css through foobar.com/css/styles.css. This seems clear
> enough.
>
> When I launch from "." and use --deploy-path="bar" --docroot=".;css", I
> can still access ./css/styles.css through foobar.com/css/styles.css. How
> can I make that file accessible at foobar.com/bar/css/styles.css ? I see
> that I can move styles.css into ./bar/css/, but this doesn't seem very
> flexible. Did I miss anything?
>

That's how it is. The docroot configuration does not take into account the
deploy-path (as there could also be multiple deploy paths for multiple
applications deployed, see WServer::addEntryPoint()).

So indeed it's typical that you need to relocate the docroot files into a
folder if you're deploying inside a folder.

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

Reply via email to