A couple of weeks ago I sent the message quoted below to the list. One reader (Daniel Roseman) replied and suggested that I might not need to ask the hosting service to install anything, quoting documentation from the FastCGI section, but it seemed to me (as explained in my reply on 11/28/2010) that mod_fastcgi had to be installed, which it isn't (or at least it's not in /etc/apache2/mods-available/).
Anyway, I got through to the hosting provider's tech support with my request and got this reply: According to Django requirements (http://packages.debian.org/lenny /python-django) and our experience there is no need to have mod_python or mod_wsgi installed on the server. So, you could try to run Django web site on the server. If any problem arises we will install the mod_wsgi module. I wonder if they are referring to the development server here. Please correct me if I'm wrong, but I understood from the documentation that a vanilla installation of Apache would not be sufficient to deploy production Django applications, except possibly through (old-fashioned) CGI: some form of integration (mod_wsgi, mod_python, mod_fastcgi, ...) would be needed. Is that right? In any case, they are willing to install mod_wsgi. Not being very familiar with Apache configuration, can someone tell me how much of the WSGI configuration mentioned in the Django docs for WSGI deployment (http://docs.djangoproject.com/en/1.2/howto/deployment/modwsgi/) can be done with an .htaccess file, and how much I will have to ask them to do for me? Thanks, --Todd Todd Wilson wrote, on 11/27/2010 07:20 PM: > I'm helping some friends improve a portal website they have created > using PHP, but which would be ideal for Django, in the sense that a lot > of the work they've already done, and would like to do as they improve > the site, would be easy to do in Django. They have a hosting contract > with Intermedia (http://www.intermedia.net/) and would very much like to > keep it. I've gotten ssh access to their server and went poking around > a bit, and, although python is available on the server (version 2.5.2), > there doesn't seem to be any support for WSGI, mod_python, FastCGI, or > the other deployment options listed in the documentation (at least I > didn't see them in /etc/apache2/mods-available/), and it doesn't look > like they support other frameworks (Rails, Drupal, Zope) either. > > My question: I've always set up my own servers and don't have any > experience with web hosting; is there a minimal sort of request that I > could make to Intermedia that, if granted, would make it possible for me > (and presumably others) to deploy a Django site using their service, or > should I just try to convince my friends to find a different hosting > service? It seems like there would be many to choose from: > > http://code.djangoproject.com/wiki/DjangoFriendlyWebHosts > > Thanks, > > --Todd > > -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.