Hi all, I've just discovered that the regex used to retrieve the static files doesn't work if I use languages abbreviation in urls. How can we fix this?
2012/12/28 Richard Vézina <ml.richard.vez...@gmail.com> > Hello, > > I publish a new script that allow deployment of Redmine beside web2py. > > Here : > https://groups.google.com/forum/?fromgroups=#!searchin/web2py/redmine/web2py/ZqL7Si8Khbo/Es-wK1yXdgQJ > > Notice : After some read, I choose Unicorn over Phussion Passenger. > > Richard > > > On Thu, Dec 20, 2012 at 9:57 AM, Massimo Di Pierro < > massimo.dipie...@gmail.com> wrote: > >> please email me the patch of latest file when ready for inclusion. >> >> >> On Thursday, 20 December 2012 03:18:20 UTC-6, Niphlod wrote: >>> >>> perfect, Ccing Massimo on this final one. >>> >>> Il giorno giovedì 20 dicembre 2012 00:16:25 UTC+1, Paolo ha scritto: >>>> >>>> Hi >>>> I was trying with the script that comes with the stable web2py. with >>>> the one on dropbox I problem has gone. >>>> >>>> Paolo >>>> >>>> >>>> 2012/12/19 Niphlod <nip...@gmail.com> >>>> >>>>> >>>>> @Simone, an other improvement to the script could be to combine into a >>>>>> single server the 80, and 443 to avoid duplicating configuration, as >>>>>> stated >>>>>> here : >>>>>> http://nginx.org/en/docs/http/****configuring_https_servers.**html** >>>>>> #single_http_https_server<http://nginx.org/en/docs/http/configuring_https_servers.html#single_http_https_server> >>>>>> I don't had test this. >>>>>> >>>>>> Also, here the code for permanent redirection >>>>>> server { >>>>>> server_name $hostname; >>>>>> listen 80; >>>>>> return 301 http*s*://$hostname$request_uri; # NOTE: I am not sure >>>>>> for $hostname here, because I didn't set hostname for my VM until now, as >>>>>> in the example (URL below) we can use domainName.com instead if properly >>>>>> configure in nginx >>>>>> ... >>>>>> } >>>>>> >>>>>> >>>>> People may want separate configs for http and https. The script >>>>> objective is to have a working copy of web2py. If we start to follow such >>>>> requests, we'd end up installing postgresql and redis too :P >>>>> >>>>> @Paolo: try the script found at the dropbox link. If the same error >>>>> happens I think we need the log of pip and a hand by Roberto on the >>>>> specific error... >>>>> >>>>> -- >>>>> >>>>> >>>>> >>>>> >>>> >>>> >>>> >>>> -- >>>> Paolo >>>> >>> -- >> >> >> >> > > -- > > > > -- Paolo --