Re: [Dhis2-users] DHIS 2 - week

2014-03-24 Thread Jason Pickering
Hi Shantala, As Knut's email alludes to , along the article which you shared hints at, there may be different definitions of what an "Epi Week" actually is. It is therefore that DHIS2 has adopted the ISO standard definition, which can be determined with precision, due to the rigor of its definiti

Re: [Dhis2-users] nginx Reverse Proxy Config for Dedicated Web Server with multiple instances

2014-03-24 Thread Bob Jolliffe
Hi Jason Your config now looks very much like what gets deployed by dhis2-tools: http://bazaar.launchpad.net/~dhis2-devs-core/dhis2/trunk/view/head:/tools/dhis2-tools-deb/pkg/usr/share/dhis2-tools/samples/nginx/dhis2 . With the exception that you have done that neat trick with proxy_params which

Re: [Dhis2-users] nginx Reverse Proxy Config for Dedicated Web Server with multiple instances

2014-03-24 Thread Jason Phillips
Hi Bob, Thanks for your reply. I found I had to disable the static content serving to make nginx work, at least in the config I ended up with. Clearly, there are a lot of improvements I can make to our location settings, and nginx is certainly both very powerful and flexible. Spent quite a bit

Re: [Dhis2-users] nginx Reverse Proxy Config for Dedicated Web Server with multiple instances

2014-03-24 Thread Jason Phillips
Hi all, I have managed to answer my own question, through trial and error - but thought I would share the solution for those who are interested: 1. After installing nginx, I replaced the contents of the /etc/nginx/proxy_params file with the following: proxy_redirect off; pro

Re: [Dhis2-users] nginx Reverse Proxy Config for Dedicated Web Server with multiple instances

2014-03-24 Thread Bob Jolliffe
Hi Jason You can't fix your problem with nginx config without first addressing your bind error. The error is simple enough - it just means something else is already listening on port 80. So try this: sudo netstat -ntlp |grep ':80' which will show you in the last column what exactly is listening

Re: [Dhis2-users] DHIS 2 - week

2014-03-24 Thread Shantala Raman
Sure. The requirement is to have data collection done weekly with the week being an Epi week (epidemiology week), having week start date of Sunday and end date of Saturday. On Mon, Mar 24, 2014 at 12:48 PM, Knut Staring wrote: > Could you elaborate a bit on yo

Re: [Dhis2-users] DHIS 2 - week

2014-03-24 Thread Knut Staring
Could you elaborate a bit on your specific requirements? Knut On Mon, Mar 24, 2014 at 8:14 AM, Shantala Raman wrote: > Thank you. This helps. > > > On Mon, Mar 24, 2014 at 11:58 AM, Knut Staring wrote: > >> We have actually accommodated other weeks (eg Wed to Tue) in Cambodia, >> but this code

Re: [Dhis2-users] DHIS 2 - week

2014-03-24 Thread Shantala Raman
Thank you. This helps. On Mon, Mar 24, 2014 at 11:58 AM, Knut Staring wrote: > We have actually accommodated other weeks (eg Wed to Tue) in Cambodia, but > this code is not yet part of the core. > On Mar 24, 2014 12:53 PM, "Jason Pickering" > wrote: > >> Hi Shantala, >> The weeks are calculat