; > > to load and that is how django starts up. The third part is a
> > templates
> > > > > directory, which is where all the django templates go. The last part
> > is
> > > > the
> > > > > SQL we won't get into that here
t; > > be defined by you inside of settings.py. Apache (generally www-data)
> > > should
> > > > be given permission to read and execute these files.
> >
> > > > You should make sure django is in your python path. This is simple
> open
> > &
simple open
> > up a
> > > python shell and type 'import django'. make sure your project 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
rtualHost that I have included from my main
> apache.conf
> > file:http://dpaste.com/43421/
> >
> > I hope that helps you all:
> >
> > Michael
> >
> > On Sun, Apr 6, 2008 at 8:03 AM, <[EMAIL PROTECTED]> wrote:
> >
> > > Exact same issue
un, Apr 6, 2008 at 8:03 AM, <[EMAIL PROTECTED]> wrote:
>
> > 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:
:
>
> 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
figure 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 <[EMAIL PROTECTED]> wrote:
> I s
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
> H
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 just
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) doe
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 erro
12 matches
Mail list logo