Re: Configure Mod_Python fo Django on Apache server on Ubuntu

2008-04-06 Thread HangingClowns
; > > 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

Re: Configure Mod_Python fo Django on Apache server on Ubuntu

2008-04-06 Thread Michael
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 > > &

Re: Configure Mod_Python fo Django on Apache server on Ubuntu

2008-04-06 Thread HangingClowns
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

Re: Configure Mod_Python fo Django on Apache server on Ubuntu

2008-04-06 Thread Michael
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

Re: Configure Mod_Python fo Django on Apache server on Ubuntu

2008-04-06 Thread HangingClowns
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:

Re: Configure Mod_Python fo Django on Apache server on Ubuntu

2008-04-06 Thread Michael
: > > 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

Re: Configure Mod_Python fo Django on Apache server on Ubuntu

2008-04-06 Thread keith
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

Re: Configure Mod_Python fo Django on Apache server on Ubuntu

2008-04-06 Thread Graham Dumpleton
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

Re: Configure Mod_Python fo Django on Apache server on Ubuntu

2008-04-06 Thread Will Boyce
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

Re: Configure Mod_Python fo Django on Apache server on Ubuntu

2008-04-05 Thread HangingClowns
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

Re: Configure Mod_Python fo Django on Apache server on Ubuntu

2008-04-05 Thread Michael
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

Configure Mod_Python fo Django on Apache server on Ubuntu

2008-04-05 Thread HangingClowns
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