Re: [Cppcms-users] Sub-Application problem
Brought to you by:
artyom-beilis
|
From: Artyom B. <art...@ya...> - 2012-03-26 09:24:58
|
>Hi,
>
>I have an application class BaseApp whose constructor contains:
>
>attach(new SubApp(s), "subapp", "/{1}", "((\\d+)?)?", 2);
>
>Why does going to localhost:8080 give me 404 error when the regular
>expression in the statement above should direct the request to SubApp?
>
>The name of the script is myapp. Interestingly, when I go to
>localhost:8080/myapp, the SubApp application handles the request
>correctly. Can someone explain this please?
>
Yes: http://cppcms.com/wikipp/en/page/run_application_web_server_root
Artyom
|