No, that didn't work either - I guess it would be helpful if someone could give me the correct settings for appache2 to run django 0.95 apps.- can someone point me to some examples? I've tried searching the net, but nothing seems to cover the basics...
On Mar 11, 8:45 am, "Nathan R. Yergler" <[EMAIL PROTECTED]> wrote: > I don't do tons of mod_python, but one thing that I immediately notice > is that you're mod_python to handle the "/' location, but requesting > the "/python" location. Does it work if you dohttp://mydom.net/? > > On 3/11/07, Mikey <[EMAIL PROTECTED]> wrote: > > > > > I have mod-python working - I got a test page to work, but I can't > > seem to get apache to execute python code with in my django app. This > > is what I get when browsing to the django app..http://www.mydom.net/python > > > [DIR] Parent Directory - > > [ ] __init__.py 11-Mar-2007 08:23 0 > > [ ] __init__.pyc 11-Mar-2007 08:25 123 > > [ ] manage.py 11-Mar-2007 08:23 546 > > [ ] settings.py 11-Mar-2007 08:25 2.8K > > [ ] settings.pyc 11-Mar-2007 08:25 1.8K > > [DIR] test/ 11-Mar-2007 08:54 - > > [ ] urls.py 11-Mar-2007 08:23 225 > > [ ] urls.pyc 11-Mar-2007 08:55 220 > > > I'm a new linux user and probably don't have something configured > > properly. > > > I've followed as much of the online documentation and google help as I > > can. I have this in a file under sites-enabled > > > <VirtualHost *> > > ServerName surface > > DocumentRoot /home/mike/www/ > > <Location /> > > SetHandler python-program > > PythonHandler django.core.handlers.modpython > > PythonPath "['/home/mike/downloads/trunk/'] + sys.path" > > SetEnv DJANGO_SETTINGS_MODULE python.settings > > PythonDebug On > > </Location> > > <Location /media/> > > SetHandler None > > </Location> > > </VirtualHost> > > > Is is something in this file that I haven't configured properly? I did > > a 'django-admin.py startproject python in the /home/mike/www/ > > directory > > Does that mean my DJANGO_SETTINGS_MODULE is python.settings? Any help > > would be greatly appreciated :) > > > Mike. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---

