Re: Installation of django in user account

2008-11-06 Thread Daniel Hepper

> On Wed, Nov 5, 2008 at 12:18 PM, Tim O'Toole <[EMAIL PROTECTED]> wrote:
> > But I obviously cant  do the following without root access
> >
> > ln -s `pwd`/django-trunk/django SITE-PACKAGES-DIR/django
> >
> > Whilst I can set the PYTHONPATH, I can't then write to PythonPath in
> > the Apache configuration file.
> 
> You may want to try out a deployment option other than
> Apache/mod_python, then, but I'm honestly a bit curious how you're
> planning to use mod_python at all if you don't have access to the
> Apache configuration file.

Wouldn't it be possible to put the configuration in a .htaccess file,
given that AllowOverride is set?

If I put the settings that would normally go into a location directive
directly into .htaccess, everythings seems to work just fine. 

This might be slower, is there anything else to be said against this
solution?


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



Re: Installation of django in user account

2008-11-06 Thread James Bennett

On Wed, Nov 5, 2008 at 12:18 PM, Tim O'Toole <[EMAIL PROTECTED]> wrote:
> But I obviously cant  do the following without root access
>
> ln -s `pwd`/django-trunk/django SITE-PACKAGES-DIR/django
>
> Whilst I can set the PYTHONPATH, I can't then write to PythonPath in
> the Apache configuration file.

You may want to try out a deployment option other than
Apache/mod_python, then, but I'm honestly a bit curious how you're
planning to use mod_python at all if you don't have access to the
Apache configuration file.


-- 
"Bureaucrat Conrad, you are technically correct -- the best kind of correct."

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



Re: Installation of django in user account

2008-11-06 Thread [EMAIL PROTECTED]

No one?

On Nov 5, 6:18 pm, "Tim O'Toole" <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I was wondering how feasile it is it to install Django in a user
> account without root access. I followed the instruction at:
>
> http://docs.djangoproject.com/en/dev/topics/install/#installing-devel...
>
> But I obviously cant  do the following without root access
>
> ln -s `pwd`/django-trunk/django SITE-PACKAGES-DIR/django
>
> Whilst I can set the PYTHONPATH, I can't then write to PythonPath in
> the Apache configuration file.
>
> I generally place my html/php files in a public_html directory in my
> local account, but I see that mod_python 3.1 is installed, However I
> fear the network is locked down too tightly for me to experiment with
> Django - anyone care to comment on that?
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Installation of django in user account

2008-11-05 Thread Tim O'Toole

Hi all,

I was wondering how feasile it is it to install Django in a user
account without root access. I followed the instruction at:

http://docs.djangoproject.com/en/dev/topics/install/#installing-development-version

But I obviously cant  do the following without root access

ln -s `pwd`/django-trunk/django SITE-PACKAGES-DIR/django

Whilst I can set the PYTHONPATH, I can't then write to PythonPath in
the Apache configuration file.

I generally place my html/php files in a public_html directory in my
local account, but I see that mod_python 3.1 is installed, However I
fear the network is locked down too tightly for me to experiment with
Django - anyone care to comment on that?

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