In my virtualhost declartion, from the book chapter 11. You have two virtualhosts, one for http and another for https. In the http I just add a redirect 301 https....
-Thadeus On Mon, Nov 2, 2009 at 2:57 PM, mdipierro <[email protected]> wrote: > > routes_in=(('.*:http://hostname.com:(get|post) /appname.*', '...'),) > > where '...' is a web2py action that redirects to 'https://hostname.com/ > appname' > > On Nov 2, 2:18 pm, Wes James <[email protected]> wrote: > > Do you have an example? I've been using some rewrite rules for plone > > to go from http to https and they work fine. When I do the same type > > of rewrite rule for web2py it's like it is being ignored. > > > > -thx, > > > > -wes > > > > On Mon, Nov 2, 2009 at 1:05 PM, Thadeus Burgess <[email protected]> > wrote: > > > Thanks. I ended up using a declaration in apache config file with > > > redirection. > > > > > -Thadeus > > > > > On Mon, Nov 2, 2009 at 2:02 PM, mdipierro <[email protected]> > wrote: > > > > >> nless you use web2py with a proxy you can apply http(s) filters using > > >> routes_in. It in the ma > > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---

