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 separate processes as that user, and with the user
being able to dictate what applications run without them having to
modify the main httpd.conf file.

The only prerequisite to this is that you as admin would need to
preconfigure a WSGIDaemonProcess directive and appropriately delegate
the users applications for their site, to run in that daemon process
group. Once that preconfig is done however, users can add whatever
applications they want using .wsgi files.

The only thing that may be tricky is where users wants to run a Python
web application which isn't safe to run in a Python sub interpreter,
but has to be run in main Python interpreter, eg. Trac. To handle this
a way of allowing them to control which interpreter a specific
application runs in need to be setup. How this would be done depends
on how you have configured Apache and what AllowOverride permissions
you have set up for their .htaccess files.

So, it is possible.

Graham

> 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 Nelson <[EMAIL PROTECTED]> wrote:
>
> > I've had great luck with wsgi.
>
> >http://code.djangoproject.com/wiki/django_apache_and_mod_wsgihttp://c...
>
> > This article relates how to reverse proxy that with Nginx if you're
> > interested (for speed, isolation):
>
> >http://vizualbod.com/articles/nginx-fastcgiwsgi-django-deployment
>
> > I haven't put any real load on this stuff yet but it sounds like wsgi
> > is a champ and it's certainly been great for me so far.
>
> > -Adam
>
> > On Oct 21, 1:55 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
>
> > > 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, [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
> > > > > access is to use fastcgi
>
> > > > > Although i am having trouble with doing so. Is there any tutorials
> > > > > that anyone knows of that will aid me to successfully setting up
> > > > > django to allow for shared hosting accounts to use it.
>
> > > > > I run on CentOS 5 and have python 2.4 with django 1.0 stable.
>
> > > > I assume you have read this page:
>
> > > >http://docs.djangoproject.com/en/dev/howto/deployment/fastcgi/
>
> > > > ?
>
> > > > Specifics of the trouble you are running into would help people provide
> > > > guidance, without specifics it's hard to say what might be going wrong.
>
> > > > Karen
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to