Re: [Cppcms-users] wikipp: all uri returns 302 on internal cppcms webserver
Brought to you by:
artyom-beilis
From: Artyom B. <art...@ya...> - 2012-07-06 14:26:32
|
1st please register to the mailing list 2ns show the configuration file . Artyom Beilis -------------- CppCMS - C++ Web Framework: http://cppcms.com/ CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ >________________________________ > From: Manveru <ma...@ma...> >To: cpp...@li... >Sent: Thursday, July 5, 2012 11:51 PM >Subject: Re: [Cppcms-users] wikipp: all uri returns 302 on internal cppcms webserver > > > > > >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 > >------------------------------------------------------------------------------ >Live Security Virtual Conference >Exclusive live event will cover all the ways today's security and >threat landscape has changed and how IT managers can respond. Discussions >will include endpoint security, mobile security and the latest in malware >threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >_______________________________________________ >Cppcms-users mailing list >Cpp...@li... >https://lists.sourceforge.net/lists/listinfo/cppcms-users > > > |