Re: everything works except apache seeing django app

2008-10-17 Thread bruno desthuilliers
On 17 oct, 15:48, "Stephen Moore" <[EMAIL PROTECTED]> wrote: > for the record, I fixed the problem > > it seems the permissions have to be correct for every level of the directory. > > so for /home/iambo/web then /, /home, /home/iambob and > /home/iambob/web had to have the right permissions :) d

Re: everything works except apache seeing django app

2008-10-17 Thread Stephen Moore
for the record, I fixed the problem it seems the permissions have to be correct for every level of the directory. so for /home/iambo/web then /, /home, /home/iambob and /home/iambob/web had to have the right permissions :) thankyou for the help. ... :) --~--~-~--~~~--

Re: everything works except apache seeing django app

2008-10-16 Thread Stephen Moore
On Fri, Oct 17, 2008 at 1:04 AM, felix <[EMAIL PROTECTED]> wrote: > > is your app like this > > testSite > __init__.py >models.py >settings.py >etc. ? > > > ie. its not one folder deeper > > testSite > actualSite > __init__.py > models.py > settings.py

Re: everything works except apache seeing django app

2008-10-16 Thread felix
is your app like this testSite __init__.py models.py settings.py etc. ? ie. its not one folder deeper testSite actualSite __init__.py models.py settings.py and did you restart apache ? flix > --~--~-~--~~~---~--~~

Re: everything works except apache seeing django app

2008-10-16 Thread bruno desthuilliers
On 16 oct, 18:06, "Stephen Moore" <[EMAIL PROTECTED]> wrote: > On Thu, Oct 16, 2008 at 11:56 PM, bruno desthuilliers (snip) > > 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 > > >

Re: everything works except apache seeing django app

2008-10-16 Thread Stephen Moore
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 >> > pyt

Re: everything works except apache seeing django app

2008-10-16 Thread bruno desthuilliers
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/w

Re: everything works except apache seeing django app

2008-10-16 Thread Stephen Moore
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 beco

Re: everything works except apache seeing django app

2008-10-16 Thread felix
possibly it may be on YOUR pythonpath but it won't be on apache's pythonpath. here is my /etc/apache2/extra/httpd-vhosts.conf # SUSTAIN BETA PythonPath "['/home/crucial/gitpo/djapps','/home/crucial/gitpo/pluggables','/home/crucial/gitpo','/home/crucial/gitpo/sustain'] + sys.path" Order

everything works except apache seeing django app

2008-10-16 Thread delfick755
hello. I'm trying out django atm, and I've got it working using the manage.py runserver, but I'm having difficulty making my apache server use it properly, getting the ImportError: Could not import settings problem I have it so that the django app is in my home directory, and I've added an appro