2009/4/29 Vincent Foley <
vfo...@gmail.com>:
>
> But that step needs to be done for every site that we deploy, doesn't
> it? Our motivation for wanting to be "rootless" is to be able to more
> freely choose shared hosting providers who won't necessarily give us
> the same flexibility our current provider does. ("Why not stick with
> this nice provider," you might ask? Just a precaution.)
>
> I understand that their execution models are different, but I'd love
> if I could emulate the PHP experience of dropping files with a FTP
> client in a directory on the shared host and have the site up and
> running.
Yes, understand where you are coming from. At the moment mod_wsgi uses
static configuration and doesn't support either dynamic or external
configuration options as provided by fastcgi systems. I have explained
this limitation and what might be done about it in blog posts
previously. See for example:
http://blog.dscpl.com.au/2009/03/future-roadmap-for-modwsgi.html
http://blog.dscpl.com.au/2009/04/improving-commercial-pythonwsgi-hosting.html
There are hacky workarounds, but not anything that is going to be
satisfactory for commodity web hosting.
Thus, for commodity web hosting, only options at this point is fastcgi
and perhaps Phusion Passenger if web hosting company even understands
that it has some support for WSGI.
That or you use a web hosting company like WebFaction that gives you
your own Apache instance, but still within a shared system.
Graham