Re: [web2py] Re: All app redirected to https
No I haven't custom routes and neither requires_https() But it's strange... I've tried also with stable. Browser cache cleaned... On Tue, Oct 23, 2012 at 5:07 PM, Niphlod niph...@gmail.com wrote: I'm not seeing that behaviour both with stable or trunk. do you have requires_https() somewhere or some custom routes ? On Tuesday, October 23, 2012 4:36:24 PM UTC+2, Massimiliano wrote: Hi, I found that with the last update, I'm using trunk, but it seems that also the stable one behave the same, all apps are redirected to https. Only admin, welcome and examples are correctly routed in http. Is it my problem or it's a bug? Thank you -- Massimiliano -- -- Massimiliano --
Re: [web2py] Re: All app redirected to https
2.2.1 stable seems to be going through http for me on Chrome. --
Re: [web2py] Re: All app redirected to https
I don't understand what could be... A new installation give me the same problem... A simple python httpserver work as expected.. I've not router.py or routes.py in web2py folder and I never used requires_https()... What can I check? Thank you -- Massimiliano Il giorno 23/ott/2012, alle ore 20:13, Bill Thayer bill.tha...@live.com ha scritto: 2.2.1 stable seems to be going through http for me on Chrome. -- --
Re: [web2py] Re: All app redirected to https
check with curl or wget what headers the server returns... curl -I http://oneofyourpages or wget --server-response --spider http://oneofyourpages On Tuesday, October 23, 2012 8:19:17 PM UTC+2, Massimiliano wrote: I don't understand what could be... A new installation give me the same problem... A simple python httpserver work as expected.. I've not router.py or routes.py in web2py folder and I never used requires_https()... What can I check? Thank you -- Massimiliano Il giorno 23/ott/2012, alle ore 20:13, Bill Thayer bill@live.comjavascript: ha scritto: 2.2.1 stable seems to be going through http for me on Chrome. -- --
Re: [web2py] Re: All app redirected to https
I've found the problem. Was Auth(secure=True) that never had this behavior.. till now On Tue, Oct 23, 2012 at 9:47 PM, Massimiliano mbelle...@gmail.com wrote: mbp:web2py max$ curl -l http://127.0.0.1:8000/m/default/index You are being redirected a href=https://127.0.0.1:8000/m/default/index here/a mbp:web2py max$tail httpserver.log 127.0.0.1, 2012-10-23 21:45:46, GET, /m/default/index, HTTP/1.1, 303, 0.075703 On Tue, Oct 23, 2012 at 8:41 PM, Niphlod niph...@gmail.com wrote: check with curl or wget what headers the server returns... curl -I http://oneofyourpages or wget --server-response --spider http://oneofyourpages On Tuesday, October 23, 2012 8:19:17 PM UTC+2, Massimiliano wrote: I don't understand what could be... A new installation give me the same problem... A simple python httpserver work as expected.. I've not router.py or routes.py in web2py folder and I never used requires_https()... What can I check? Thank you -- Massimiliano Il giorno 23/ott/2012, alle ore 20:13, Bill Thayer bill@live.com ha scritto: 2.2.1 stable seems to be going through http for me on Chrome. -- -- -- Massimiliano -- Massimiliano --
Re: [web2py] Re: All app redirected to https
try with curl -I (capital I), also if it seems indeed that you're being redirected. It's just to clear all doubts. PS: can you package your m application and attach here ? we could install it and see if we observe the same behaviour. On Tuesday, October 23, 2012 9:47:37 PM UTC+2, Massimiliano wrote: mbp:web2py max$ curl -l http://127.0.0.1:8000/m/default/index You are being redirected a href=https://127.0.0.1:8000/m/default/index here/a mbp:web2py max$tail httpserver.log 127.0.0.1, 2012-10-23 21:45:46, GET, /m/default/index, HTTP/1.1, 303, 0.075703 On Tue, Oct 23, 2012 at 8:41 PM, Niphlod nip...@gmail.com javascript:wrote: check with curl or wget what headers the server returns... curl -I http://oneofyourpages or wget --server-response --spider http://oneofyourpages On Tuesday, October 23, 2012 8:19:17 PM UTC+2, Massimiliano wrote: I don't understand what could be... A new installation give me the same problem... A simple python httpserver work as expected.. I've not router.py or routes.py in web2py folder and I never used requires_https()... What can I check? Thank you -- Massimiliano Il giorno 23/ott/2012, alle ore 20:13, Bill Thayer bill@live.com ha scritto: 2.2.1 stable seems to be going through http for me on Chrome. -- -- -- Massimiliano --