On Thu, Oct 16, 2008 at 11:56 PM, bruno desthuilliers <[EMAIL PROTECTED]> wrote: > > On 16 oct, 16:58, "Stephen Moore" <[EMAIL PROTECTED]> wrote: >> On Thu, Oct 16, 2008 at 10:42 PM, felix <[EMAIL PROTECTED]> wrote: >> >> > possibly it may be on YOUR pythonpath but it won't be on apache's >> > pythonpath. >> >> k then.. >> >> well I added PythonPath "['/home/iambob/web', >> '/home/iambob/web/testSite'] + sys.path" to my httpd.conf so the >> relevant section becomes >> >> <Location ""> > > Isn't it supposed to be <Location "/"> ? > > (or "/whatever")
I'm making it for now that just plain "http://localhost" accesses it. I'll probably change it at another point but it doesn't seem to make a difference.... > > >> PythonPath "['/home/iambob/web', '/home/iambob/web/testSite'] + sys.path" > > if testSite is your django project directory, you shouldn't have to > add it to the pythonpath - the pythonpath is a list of path to > directories *containing* python modules and packages. k then >> and if so, how would I rectify that? > > You need to know the user under which Apache is running (wait... > Ubuntu ? This should be www-data then) and give read access to this > user. Something like > > # cd /home/iambob/web > # sudo chgrp -R www-data testSite > # sudo chmod g+r www-data testSite yeah, doing that seems to have no difference even setting it so anyone can read those files doesn't seem to do anything... --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---