Re: mod_python, apache and django

2010-08-28 Thread Graham Dumpleton
On Aug 28, 5:21 am, Jesse wrote: > I'm loading django onto Windows XP professional with Apache. > Unfortunately, I need mod_python which only works with python 2.3. > Django needs python 2.4 and above.  Is there a way around this? The mod_python download page at www.modpython.org links to binar

Re: mod_python, apache and django

2010-08-27 Thread Russell Keith-Magee
On Sat, Aug 28, 2010 at 7:27 AM, Jesse wrote: > Do I not need it to run Apache on Windows with Django?  Or what is the > alternative?  This is the 5th server I've set up and I've always used > mod_python until now.  How do I get past this mod_python step? Seriously - the answer is to stop using m

Re: mod_python, apache and django

2010-08-27 Thread Jesse
Do I not need it to run Apache on Windows with Django? Or what is the alternative? This is the 5th server I've set up and I've always used mod_python until now. How do I get past this mod_python step? Jesse On Aug 27, 2:16 pm, Steve Holden wrote: > On 8/27/2010 3:21 PM, Jesse wrote:> I'm loadi

Re: mod_python, apache and django

2010-08-27 Thread Steve Holden
On 8/27/2010 3:21 PM, Jesse wrote: > I'm loading django onto Windows XP professional with Apache. > Unfortunately, I need mod_python which only works with python 2.3. > Django needs python 2.4 and above. Is there a way around this? > Thx > Stop needing mod_python? It's obsolete now. regards Ste

mod_python, apache and django

2010-08-27 Thread Jesse
I'm loading django onto Windows XP professional with Apache. Unfortunately, I need mod_python which only works with python 2.3. Django needs python 2.4 and above. Is there a way around this? Thx -- You received this message because you are subscribed to the Google Groups "Django users" group. T

Re: apache and django

2008-11-10 Thread Graham Dumpleton
Are you setting up Apache to serve your Django static media as instructions indicate you to do? If you have, have you put in the direct URL to where the static media should hosted into your browser to see if it works? Have you then compared that URL to what HTML pages are trying to access for the

Re: apache and django

2008-11-10 Thread prem1er
Hey everyone, thanks for all your help. I'm currently able to get django running now on apache. But the style sheets aren't working so I'm guessing I have the paths wrong somewhere in my apache config. Anyone see a problem? I feel like it has to do with PythonOption django.root / When I have

Re: apache and django

2008-11-10 Thread Graham Dumpleton
On Nov 10, 5:50 pm, "DULMANDAKH Sukhbaatar" <[EMAIL PROTECTED]> wrote: > > Ok.  But are the configuration lines any different or will they > > change.  If anyone has a good tutorial written could you please post > > it.  Also, What does this line mean ? > > SetEnv DJANGO_SETTINGS_MODULE mysite.s

Re: apache and django

2008-11-10 Thread prem1er
ServerName www.dev.xxx.us ServerAlias dev.xxx.us DocumentRoot /home/dev/djprojects/xxx Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow,deny allow from all AddHandler mod_p

Re: apache and django

2008-11-10 Thread Brandon Martin
On Mon, 10 Nov 2008 12:55:44 -0800 (PST), prem1er <[EMAIL PROTECTED]> wrote: > > Ok this is where I'm at. Here is my config file for sites-available. > > > ServerName www.dev.xxx.us > ServerAlias dev.xxx.us > DocumentRoot /home/dev/djprojects/xxx > > Option

Re: apache and django

2008-11-10 Thread prem1er
Ok this is where I'm at. Here is my config file for sites-available. ServerName www.dev.xxx.us ServerAlias dev.xxx.us DocumentRoot /home/dev/djprojects/xxx Options Indexes FollowSymLinks MultiViews AllowOverride None Order all

Re: apache and django

2008-11-10 Thread prem1er
Thanks for your replies everyone. I'm looking into it more now and will let you know if I have any other questions. On Nov 10, 8:44 am, Brandon Martin <[EMAIL PROTECTED]> wrote: > I would just like to note here that when I first installed django with > apache and mod_python most of the problem I

Re: apache and django

2008-11-10 Thread Brandon Martin
I would just like to note here that when I first installed django with apache and mod_python most of the problem I had was on the apache side with vhosts not django. Each operating system handles apache configs a little different. The guide on django's web site is great for the base informatio

Re: apache and django

2008-11-10 Thread Steve Holden
If you read your httpd.conf file you will find at some point there is a line that includes the configuration data from the sites-enabled directory. This idea is to be able to switch sites on and off by adding and removing symbolic links from sites-enabled. Make sure you *always* edit the files in

Re: apache and django

2008-11-09 Thread DULMANDAKH Sukhbaatar
> Ok. But are the configuration lines any different or will they > change. If anyone has a good tutorial written could you please post > it. Also, What does this line mean ? > SetEnv DJANGO_SETTINGS_MODULE mysite.settings See http://httpd.apache.org/docs/2.2/mod/mod_env.html. I suggest you to

Re: apache and django

2008-11-09 Thread prem1er
Ok. But are the configuration lines any different or will they change. If anyone has a good tutorial written could you please post it. Also, What does this line mean ? SetEnv DJANGO_SETTINGS_MODULE mysite.settings Thanks. On Nov 9, 11:56 pm, "DULMANDAKH Sukhbaatar" <[EMAIL PROTECTED]> wrote:

Re: apache and django

2008-11-09 Thread DULMANDAKH Sukhbaatar
> Thank you, but as I've mentioned I have tried to follow these > instructions and have had no luck. Why is it instructing me to > configure my httpd.conf file when my sub domain exists in sites- > available/sites-enabled? It seems that you use Debian based distro. Debian based systems have sepa

Re: apache and django

2008-11-09 Thread prem1er
Thank you, but as I've mentioned I have tried to follow these instructions and have had no luck. Why is it instructing me to configure my httpd.conf file when my sub domain exists in sites- available/sites-enabled? I know that mod_python is working because I set up a test .py file that displays

Re: apache and django

2008-11-09 Thread DULMANDAKH Sukhbaatar
Please follow instructions on http://docs.djangoproject.com/en/dev/howto/deployment/modpython/ to setup django and mod_python. And it's interesting that how do you know that mod_python is working? -- Regards Dulmandakh --~--~-~--~~~---~--~~ You received this m

apache and django

2008-11-09 Thread prem1er
Hey everyone, I'm new to django and python, but I have just completed the tutorial with everything up and running correctly. I'm trying to move django over to apache for further development at dev.mysite.com. I have have looked at the documentation on the django site and also at others from a