Re: django with mod_wsgi on centos

2010-05-10 Thread Ivan Uemlianin
@Graham see my reply this morning to your post on the modwsgi list: http://groups.google.com/group/modwsgi/browse_thread/thread/a157d0eba50b826a @Sam I didn't change the home directory permissions on either machine: they seem to have different default settings (775 on ubuntu, 700 on centos).

Re: django with mod_wsgi on centos

2010-05-10 Thread Sam Walters
Yes, +1 to forgetting to update permissions at some stage of the game. Best approarch to all this stuff is to make an interactive bash script so wen you update a production server you just run the script. Or document the steps, its often the smaller obvious steps which catch people out. On Mon,

Re: django with mod_wsgi on centos

2010-05-10 Thread Graham Dumpleton
On May 10, 10:42 pm, Ivan Uemlianin wrote: > Dear All > > The nginx/fastcgi set up is now working (there's an easy-to-follow > howto on the django advent site [1]). > > Embarrasingly I may have stumbled upon what was getting me 403s with > mod_wsgi, and it's nothing to do with

Re: django with mod_wsgi on centos

2010-05-10 Thread Ivan Uemlianin
Dear All The nginx/fastcgi set up is now working (there's an easy-to-follow howto on the django advent site [1]). Embarrasingly I may have stumbled upon what was getting me 403s with mod_wsgi, and it's nothing to do with apache or mod_wsgi. After setting up nginx with fastcgi I got the same

Re: django with mod_wsgi on centos

2010-05-10 Thread Graham Dumpleton
On May 10, 7:25 pm, Tom Evans wrote: > On Mon, May 10, 2010 at 9:39 AM, Ivan Uemlianin wrote: > > Dear Kenneth > > > Thanks for your suggestion. > > > I tried > > >    $ chmod -R a+x mysite > > > (where mysite is the django site directory) > > > and

Re: django with mod_wsgi on centos

2010-05-10 Thread Tom Evans
On Mon, May 10, 2010 at 9:39 AM, Ivan Uemlianin wrote: > Dear Kenneth > > Thanks for your suggestion. > > I tried > >    $ chmod -R a+x mysite > > (where mysite is the django site directory) > > and stopped and started apache, but no effect. > > I'm finding nginx a lot easier to

Re: django with mod_wsgi on centos

2010-05-10 Thread Ivan Uemlianin
Dear Kenneth Thanks for your suggestion. I tried $ chmod -R a+x mysite (where mysite is the django site directory) and stopped and started apache, but no effect. I'm finding nginx a lot easier to work with than apache, especially CentOS' apache. My plan now is to get rid of apache

Re: django with mod_wsgi on centos

2010-05-08 Thread Kenneth Gonsalves
On Saturday 08 May 2010 20:32:51 Ivan Uemlianin wrote: > Can anyone suggest to me which permissions I need to change and to > what? Presumably read/write permissions to some file or directory but > which one(s)? > I do not know whether this will help, but I have seen permission denied errors

django with mod_wsgi on centos

2010-05-08 Thread Ivan Uemlianin
Dear All I know this is strictly speaking off topic, so please forgive me. I have asked at the mod_wsgi list. On an Ubuntu machine I have a working django site, using nginx, apache and mod_wsgi. Now I am having to install the site on a CentOS machine. Everything is working, apart form