Re: Configure Django with mod_python on Ubuntu server

2010-04-16 Thread Carlo Trimarchi
On 16 April 2010 16:05, Owen Nelson wrote: > Opps! Since it's an alias, you need to tell apache what server location > to map. > For example, if you want http://localhost/ to map to your application: > WSGIScriptAlias / /path/to/my/wsgi/my.wsgi > Or if you wanted http://localhost/myapp to map inst

Re: Configure Django with mod_python on Ubuntu server

2010-04-16 Thread Owen Nelson
Opps! Since it's an alias, you need to tell apache what server location to map. For example, if you want http://localhost/ to map to your application: WSGIScriptAlias / /path/to/my/wsgi/my.wsgi Or if you wanted http://localhost/myapp to map instead WSGIScriptAlias /myapp /path/to/my/wsgi/my.wsgi -

Re: Configure Django with mod_python on Ubuntu server

2010-04-16 Thread Owen Nelson
The WSGIScriptAlias directive should point directly to the wsgi script -- in your case the line should read: WSGIScriptAlias /home/carlo /home/carlo/mysite/django.wsgi -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, s

Re: Configure Django with mod_python on Ubuntu server

2010-04-16 Thread Carlo Trimarchi
On 16 April 2010 14:55, Karen Tracey wrote: > mod_python development is moribund, mod_wsgi has an active helpful > maintainer. It's reasonably straightforward to configure mod_wsgi to get > control only for a certain portion of the URL space, getting that config > correct for mod_python/Django is

Re: Configure Django with mod_python on Ubuntu server

2010-04-16 Thread Karen Tracey
On Fri, Apr 16, 2010 at 10:46 AM, Carlo Trimarchi wrote: > On 16 April 2010 14:42, Karen Tracey wrote: > > Why are you trying to use mod_python here instead of mod_wsgi? mod_wsgi > is a > > lot easier to configure properly for this type of setup. > > Not sure. I thought it was the preferred way,

Re: Configure Django with mod_python on Ubuntu server

2010-04-16 Thread Tom Evans
On Fri, Apr 16, 2010 at 3:46 PM, Carlo Trimarchi wrote: > On 16 April 2010 14:42, Karen Tracey wrote: >> Why are you trying to use mod_python here instead of mod_wsgi? mod_wsgi is a >> lot easier to configure properly for this type of setup. > > Not sure. I thought it was the preferred way, byt m

Re: Configure Django with mod_python on Ubuntu server

2010-04-16 Thread Carlo Trimarchi
On 16 April 2010 14:42, Karen Tracey wrote: > Why are you trying to use mod_python here instead of mod_wsgi? mod_wsgi is a > lot easier to configure properly for this type of setup. Not sure. I thought it was the preferred way, byt maybe I'm wrong. Is there any advantage in using one instead of t

Re: Configure Django with mod_python on Ubuntu server

2010-04-16 Thread Karen Tracey
Why are you trying to use mod_python here instead of mod_wsgi? mod_wsgi is a lot easier to configure properly for this type of setup. Karen -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@google

Configure Django with mod_python on Ubuntu server

2010-04-16 Thread Carlo Trimarchi
Hi. I share a server with other people where we usually develop php applications. I like to program in Python and I wanted to start usind Django so today I tried to install and configure it. It seems I succeded, because if I put this in the httpd.conf file it display the "Django is working" page.