Re: [Cppcms-users] Q&A: async gzip and mount
Brought to you by:
artyom-beilis
|
From: Markus R. <us...@ma...> - 2013-03-11 18:31:38
|
Hello! Artyom Beilis wrote: >> See attached file for full example, there are small issues with double >> mounting in the example: the URL mapper does not always work correctly. > Can you explain what is the problem? The problem is within the example mount.cpp (urls with scriptname /hello, config is attached) When you go to: http://localhost:8080/hello/myapp/numbers or http://localhost:8080/myapp/numbers the URL for odd is correct (works): http://localhost:8080/myapp/numbers/odd But when you go to: http://localhost:8080/hello/numbers or http://localhost:8080/numbers the generated URL for odd numbers is http://localhost:8080/odd which does not work (404 - Not found). best regards Markus Raab |