On Sep 26, 8:26 am, "Xian Chen" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I want to run my Django app on a shared web server.
>
> As so many people share this server, I install python and Django(1.0) under
> my home directory.
>
> How can I configure the Apache with mod_python to make the django under my
> directory running?
>
> The server administrator refused to install Django in the /usr/bin directory

With mod_python you cannot make it use a different Python installation
than the one it was compiled with. The best you can manage is to use
virtualenv to build a Python virtual environment in your home
directory where you install all the Python modules/packages you want
and then refer to that.

  http://pypi.python.org/pypi/virtualenv

Only problem I see is that documentation for virtualenv seems to have
changed lately and no longer mentions the easy approach for using it
with mod_python. It has some new mechanism mentioned which I can't see
at the moment how it works.

Graham
--~--~---------~--~----~------------~-------~--~----~
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