Re: [Cppcms-users] wikipp: all uri returns 302 on internal cppcms webserver
Brought to you by:
artyom-beilis
From: Manveru <ma...@ma...> - 2012-07-05 21:13:43
|
2012/6/10 Manveru <ma...@ma...> > Hello, > > I've just build wikipp from svn trunk and it runs. I set up the internal > web server for testing purpose. But after that Firefox complains about bad > redirections. So, I tested what happen if I manually entered HTTP requests > and the server always return 302. > > Trying 127.0.0.1... > Connected to localhost. > Escape character is '^]'. > GET /wikipp/en/page/main HTTP/1.1 > Host: localhost > > HTTP/1.0 302 Found > Server: CppCMS-Embedded/1.1.0 > Connection: close > Content-Type: text/html; charset=utf-8 > Location: /wikipp/en/page/main > Status: 302 Found > X-Powered-By: CppCMS/1.1.0 > > Connection closed by foreign host. > > What shall I check to get it working? The log of the wikipp contains no > errors: > > 2012-06-10 13:24:20; cppcms_http, info: GET /wikipp/en/page/main > (http_api.cpp:251) > 2012-06-10 13:24:20; cppcms_http, info: GET /wikipp/en/page/main > (http_api.cpp:251) > 2012-06-10 13:24:20; cppcms_http, info: GET /wikipp/en/page/main > (http_api.cpp:251) > 2012-06-10 13:24:20; cppcms_http, info: GET /wikipp/en/page/main > (http_api.cpp:251) > > Whole log contains similar entries. I had once working wikipp, but based > on old version of cppcms. > > Thanks in advance for any advice. > - > I turned on debug logging (as Marcell adviced), and still only thing I have in the log is: 2012-07-05 22:47:36; cppcms_http, info: GET /wikipp/en/page/main (http_api.cpp:251) May this happen because I took sqlite db from my previous instance of some older wikipp? If yes how to properly migrate the database? -- Manveru jabber: ma...@ma... gg: 1624001 http://www.manveru.pl |