On Mar 13, 3:12 pm, joemanfoo <joeman...@gmail.com> wrote:
> I've gotten things to work for me, using the same tutorial, but I've
> always used the absolute path to my project in the PythonPath
> portion...try changing your PythonPath setting to:
>
> PythonPath "['F:/django'] + sys.path"
>
> HTHs
>
> On Mar 13, 2:11 pm, waltbrad <waltb...@hotmail.com> wrote:
>
> > I'm trying to get this setup on my computer to simulate what I will
> > have online in preparation for any problems that might be encountered.
>

Thanks for the response. I found that changing that to the absolute
path didn't change anything. But you inspired me to take a second look
and I discovered that what I listed above was not what I actually had
in my file.  I forgot to put a leading slash in <Location "/
testproject/">,  I had "testproject/".   Once I corrected that the
service worked fine.
> > I've got apache2 and mod_python working together, I was able to get
> > the basic Hello World and a form/response on it, so I know that's
> > working.  I've had Django 1.0 and Python 2.5 working since November.
>
> > Based on what is prescribed in django docs on django/apache and what
> > is setout here:
>
> >http://wiki.thinkhole.org/howto:django_on_windows
>
> > I have put the following into my httpd.con:
>
> > <Location "/testproject/">
> > SetHandler python-program
> > PythonHandler django.core.handlers.modpython
> > SetEnv DJANGO_SETTINGS_MODULE testproject.settings
> > PythonOption django.root c:/django
> > PythonDebug On
> > PythonPath "['/django'] + sys.path"
> > </Location>
>
> > MaxRequestsPerChild 1
>
> > The testproject exists at c:\django\testproject  and I can get the
> > Congrats page through the builtin server.  But with this configuration
> > I get a 404 on apache.
>
> > I've checked and double checked and triple checked everything. My
> > paths, spelling...
>
> > I can't see where I've gone wrong.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to