./hello.wt --http-port=8088 --http-address=0.0.0.0 --docroot .
Notice there is a "." at the end if you want you make your current directory
the docroot.

Regards,
Shezaan



On Sun, Jun 14, 2009 at 8:34 AM, Faysal Banna <[email protected]> wrote:

> Hi Guys
> i took the hello example from the examples/hello/hello.C
> and i did my CMakeLists.txt as such
> ADD_EXECUTABLE(hello.wt
> hello.cpp
> )
>
> TARGET_LINK_LIBRARIES(hello.wt
>   wt
>   wtext
>   wthttp
>  )
>
> INCLUDE_DIRECTORIES(/usr/local/include/Wt)
>
> next i did
> cmake ./ -Wno-dev
> make
> ./hello.wt --http-port=8088 --http-address=0.0.0.0
> and i got this error
> stat: No such file or directory
> Document root ("") not valid.
>
> what could it be ????
>
> much regards
> --
> ============================
>         Faysal Banna
> Meteorological Services
> Rafic Harriri International Airport
>      Beirut - Lebanon
>    Mob: +961-3-258043
> =============================
>
>
> ------------------------------------------------------------------------------
> Crystal Reports - New Free Runtime and 30 Day Trial
> Check out the new simplified licensing option that enables unlimited
> royalty-free distribution of the report engine for externally facing
> server and web deployment.
> http://p.sf.net/sfu/businessobjects
> _______________________________________________
> witty-interest mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/witty-interest
>
>
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to