Hey Koen,
Okay, thank you for explanation !
2010/11/9 Koen Deforche <[email protected]>
> Hey all,
>
> 2010/11/4 Dmitriy Igrishin <[email protected]>:
> > AFAIK, uncaught exceptions results in call of std::terminate(), which
> calls
> > abort() by default. I believe that segmentation fault - is a program
> error.
>
> I would about the segmentation fault aspect. Is there a way to reproduce
> this ?
>
> >> Ideally, libwt would be able to intercept fopen, fwrite, etc in libc
> >> and redirect them to the docroot directory. Some LD_PRELOAD (Unix) or
> >> SetWindowHookEx (Windows) magic would be needed for that. This would
> >> be a very nice Summer of Code project, in my opinion.
> >
> > Yeah! I like this idea indeed!
>
> In general, I think you should not be deploying files in your docroot
> which are not needed for the browser to fetch.
>
> In fact, since 3.1.5, we have better library support for the two
> deployment configuration options:
> - approot: this is the directory that is usually not available in
> docroot and contains files such as message resource bundles, etc...
> used by your application
> - docroot: this is the directory exported by the wthttpd (for other
> connectors this is something that is configured by your web server)
>
> You can access the approot using WApplication::appRoot(), and so you
> should (like the examples do now) use this for message resource
> bundles and other misc files.
>
> How the application configures this property is connector-dependent,
> and explained in:
>
> http://www.webtoolkit.eu/wt/doc/reference/html/overview.html#deployment
>
> Regards,
> koen
>
>
> ------------------------------------------------------------------------------
> The Next 800 Companies to Lead America's Growth: New Video Whitepaper
> David G. Thomson, author of the best-selling book "Blueprint to a
> Billion" shares his insights and actions to help propel your
> business during the next growth cycle. Listen Now!
> http://p.sf.net/sfu/SAP-dev2dev
> _______________________________________________
> witty-interest mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/witty-interest
>
--
// Dmitriy.
------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a
Billion" shares his insights and actions to help propel your
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest