Re: Installing django with limited access to root

2008-11-07 Thread Christian Kortenhorst
Thats Aoife, Hosters deams to have fixed the problem they just need to install python-mysqldb for me now. THANK YOU ALL for all your help. Christian Kortenhorst Hope to get this up and running today THANK YOU ALL Again On 11/7/08, Aoife Hughes <[EMAIL PROTECTED]> wrote: > > > My first instinct

Re: Installing django with limited access to root

2008-11-06 Thread Aoife Hughes
My first instincts would be to see if you can write a script that would read a dummy file for you. I.e. see if you could get it to read /home/klacey/dummy.txt or something and output the data to you. Plus if you have php, creating a file with phpinfo() in there might be able to tell you what modu

Re: Installing django with limited access to root

2008-11-06 Thread Christian Kortenhorst
its not in site-packages just have it in /home/klacey/modulecatalogue.hosting/docs/django and have set the path to be PythonPath "['/home/klacey/modulecatalogue.hosting/docs'] + sys.path ls -l /home/klacey/modulecatalogue.hosting/docs/django rwxr-xr-x 3 klacey klacey 4096 2008-11-06 11:44 http

Re: Installing django with limited access to root

2008-11-06 Thread Tim Kersten
You're really sure django's permissions are set correctly? What does ls -l of the django folder inside the site-packages say? Tim ^,^ On Thu, Nov 6, 2008 at 11:05 PM, Christian Kortenhorst <[EMAIL PROTECTED]> wrote: > Is there any way that i can find out what modpython and user www-data are

Re: Installing django with limited access to root

2008-11-06 Thread Christian Kortenhorst
Is there any way that i can find out what modpython and user www-data are doing with my configuration? Thank you On 11/6/08, Christian Kortenhorst <[EMAIL PROTECTED]> wrote: > > Thank you a lot more all this, got it working on my own server but not in > shared server. Seams like there is somethin

Re: Installing django with limited access to root

2008-11-06 Thread Christian Kortenhorst
Thank you a lot more all this, got it working on my own server but not in shared server. Seams like there is something wrong with my python path. *My setup:* ServerName django.namit.org DocumentRoot /var/www/ LogLevel warn Options -Indexes SetHandler python-pro

Re: Installing django with limited access to root

2008-11-05 Thread Aoife Hughes
If you're still having problems after all they've said, check that your webserver isn't running in a chroot. If it is, it may not see /home/mycode, and may have to be relocated inside the chroot. Hope this helps, Aoife 2008/11/5 Christian Kortenhorst <[EMAIL PROTECTED]>: > So been wrecking my he

Re: Installing django with limited access to root

2008-11-05 Thread john.moy...@rte.ie
I'm not sure if your box id Debian based or perhaps Centos/RHEL. I had a similar symptoms recently on a RHEL box which turned out to be selinux related. J On Nov 5, 5:14 am, Sean O'Donnell <[EMAIL PROTECTED]> wrote: > check django is ok --~--~-~--~~~---~--~~ You

Re: Installing django with limited access to root

2008-11-04 Thread Sean O'Donnell
check django is ok start up a python interpreter import django django.get_version() and make sure there are no errors there It could be a permissions problem, make sure the apache user owns the coursedb directory on debian the account is called www-data so chown -R www-data:www-data /home/

Re: Installing django with limited access to root

2008-11-04 Thread Tim Kersten
Without having looked it up or used mod_python, would you not need to add /home/django to the python path just like you did with /home/mycode? Tim ^,^ On Wed, Nov 5, 2008 at 12:04 AM, Christian Kortenhorst <[EMAIL PROTECTED]> wrote: > So been wrecking my head about installing django with mod

Installing django with limited access to root

2008-11-04 Thread Christian Kortenhorst
So been wrecking my head about installing django with mod_python on a server that i have limited root access to (by this i mean i have to ask hosting company to do some stuff and then they might say no). So have installed python on my own personal box debian etch, django version 0.97 and have it u