[Cppcms-users] Sub-Application problem
Brought to you by:
artyom-beilis
From: <ele...@ex...> - 2012-03-26 01:49:20
|
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? Thanks |