Re: Setting up Django on CentOS5 with flup and fastcgi

2008-10-25 Thread [EMAIL PROTECTED]
After doing some research myself i have found that i need to add the path to the users account to the pythonpath normally this would be in ssh as PYTHONPATH=$PYTHONPATH:/home/streamfl/ www but as soon as i close shell this would revert back to how it was... is there a way i can add this to

Re: Setting up Django on CentOS5 with flup and fastcgi

2008-10-23 Thread [EMAIL PROTECTED]
thanks for all the suggestions... I've managed to to kinda get it working with flup and fcgi although i'm not quite there yet. Here is my file structure and my fcgi file. public file path = /home/xxx/www/projectblah/ application file path = /home/xxx/django_projects/projectblah_files/

Re: Setting up Django on CentOS5 with flup and fastcgi

2008-10-22 Thread Graham Dumpleton
On Oct 23, 2:00 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > that would be great but i can't allow my users access to http.conf as > i said i am a shared reseller so i am offering django to my clients. Apache/mod_wsgi can be used in a similar vein to FASTCGI, with user code running in

Re: Setting up Django on CentOS5 with flup and fastcgi

2008-10-22 Thread [EMAIL PROTECTED]
that would be great but i can't allow my users access to http.conf as i said i am a shared reseller so i am offering django to my clients. the only way i can do it is by writing a fcgi file and pointing to it with .htaccess but it seems as if it doesn't want to work. On Oct 21, 8:34 pm, Adam

Re: Setting up Django on CentOS5 with flup and fastcgi

2008-10-21 Thread Adam Nelson
I've had great luck with wsgi. http://code.djangoproject.com/wiki/django_apache_and_mod_wsgi http://code.google.com/p/modwsgi/wiki/IntegrationWithDjango This article relates how to reverse proxy that with Nginx if you're interested (for speed, isolation):

Re: Setting up Django on CentOS5 with flup and fastcgi

2008-10-21 Thread [EMAIL PROTECTED]
yes i have read that.. it seems that the .fcgi file does not read correctly. it just returns the actual text in the fcgi file. and when i try and run a development server you just get a timeout. On Oct 21, 5:05 pm, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > On Tue, Oct 21, 2008 at 11:50 AM,

Re: Setting up Django on CentOS5 with flup and fastcgi

2008-10-21 Thread Karen Tracey
On Tue, Oct 21, 2008 at 11:50 AM, [EMAIL PROTECTED] <[EMAIL PROTECTED]>wrote: > > Hello, > > I am a webhosting provider that is trying to set up django on my > server so that my clients can utilise it for their own programs. > > Although we do not allow ssh access our only ability to allow them >

Setting up Django on CentOS5 with flup and fastcgi

2008-10-21 Thread [EMAIL PROTECTED]
Hello, I am a webhosting provider that is trying to set up django on my server so that my clients can utilise it for their own programs. Although we do not allow ssh access our only ability to allow them access is to use fastcgi Although i am having trouble with doing so. Is there any