Re: [Cppcms-users] non-greedy moint points
Brought to you by:
artyom-beilis
|
From: Petr J. <ele...@ex...> - 2013-07-14 22:43:59
|
Do you really need an asynchronous application? Does WebAPI deviate from
the normal working scenario of request -> response ?
I'm trying to understand your problem.
On 15/07/2013 8:16 AM, Marcel Hellwig wrote:
> Hi everybody,
>
> now my seconds problem :/
> I have a json rpc server running a async app via an intrusive ptr.
> Also I'd like to have a sync app that will serve my "static" HTML-pages.
>
> The current setup is
>
>> booster::intrusive_ptr<WebAPI> bgworker(new WebAPI(srv));
>>
>> srv.applications_pool().mount(bgworker,
>> cppcms::mount_point("/webapi(/(.*))", 1));
>> srv.applications_pool().mount(cppcms::applications_factory<Dispatcher>(),
>> cppcms::mount_point("/index(/(.*))", 1));
> But this is not what I want. I want to provide all rpc calls under the
> webapi domain and everything else under /, so nothing more.
> Now I have to write /index/edit, instead of /edit -> that's annoying.
>
> Any help?
>
>
>
>
> ------------------------------------------------------------------------------
> See everything from the browser to the database with AppDynamics
> Get end-to-end visibility with application monitoring from AppDynamics
> Isolate bottlenecks and diagnose root cause in seconds.
> Start your free trial of AppDynamics Pro today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
>
>
>
> _______________________________________________
> Cppcms-users mailing list
> Cpp...@li...
> https://lists.sourceforge.net/lists/listinfo/cppcms-users
>
--
Please use PGP to encrypt your email to ensure our privacy is respected.
|