which is where all the django templates go. The last part
> > is
> > > > the
> > > > > SQL we won't get into that here. The media and the templates folders
> > > > need to
> > > > > be defined by you inside of settings.py. Apache (gen
> should
> > > > be given permission to read and execute these files.
> >
> > > > You should make sure django is in your python path. This is simple
> open
> > > up a
> > > > python shell and type 'import django'. make sure your project is in
> a
&
ect is in a
> > python
> > > path. This is done with the PythonPath in the config file. Other than
> > that
> > > read up on how apache configuration works and the django and mod_python
> > docs
> > > work. I promise they all work on Ubuntu without proble
aste.com/43421/
> >
> > I hope that helps you all:
> >
> > Michael
> >
> > On Sun, Apr 6, 2008 at 8:03 AM, <[EMAIL PROTECTED]> wrote:
> >
> > > Exact same issue here. Tried everything listed. Any other ideas or
> > > possibly a sample c
> Exact same issue here. Tried everything listed. Any other ideas or
> > possibly a sample config for httpd.conf on ubuntu.
>
> > Thanks in advance for your help
>
> > -Original Message-
> > From: Will Boyce <[EMAIL PROTECTED]>
> > Sent: Sunday, Apr
go users <django-users@googlegroups.com>
> Subject: Re: Configure Mod_Python fo Django on Apache server on Ubuntu
>
>
> Assuming your django project (mysite) is in /home/webmaster/
> public_html/django/ then you'll want a trailing "/" in your
> PythonPath.
>
>
ngo-users@googlegroups.com>
Subject: Re: Configure Mod_Python fo Django on Apache server on Ubuntu
Assuming your django project (mysite) is in /home/webmaster/
public_html/django/ then you'll want a trailing "/" in your
PythonPath.
Hope this helps.
On Apr 5, 9:53 pm, HangingClowns <[EMA
On Apr 6, 5:23 pm, Will Boyce <[EMAIL PROTECTED]> wrote:
> Assuming your django project (mysite) is in /home/webmaster/
> public_html/django/ then you'll want a trailing "/" in your
> PythonPath.
No you don't. Trailing slash shouldn't make any difference.
What gives you that idea?
Graham
>
Assuming your django project (mysite) is in /home/webmaster/
public_html/django/ then you'll want a trailing "/" in your
PythonPath.
Hope this helps.
On Apr 5, 9:53 pm, HangingClowns <[EMAIL PROTECTED]> wrote:
> I should have the latest versions available for Apache and mod_python
> cause I
What's the syntax for that? Is that like that chmod?
On Apr 5, 5:08 pm, Michael <[EMAIL PROTECTED]> wrote:
> Simply django can't find your settings.py file. This could be a few things
> but based on where the file is located my bet is that the apache process
> (most likely www-data on ubuntu)
Simply django can't find your settings.py file. This could be a few things
but based on where the file is located my bet is that the apache process
(most likely www-data on ubuntu) doesn't have permissions to access your
settings.py file. Give www-data permissions to access the file and you
should
I should have the latest versions available for Apache and mod_python
cause I just put those onto my server about 2 weeks ago. I'm having
trouble understanding how to edit the Apache config file for Django. I
currently use the code snippet below for my settings in Apache. And
this is what the
12 matches
Mail list logo