On Jan 18, 3:36 pm, Malcolm Tredinnick <malc...@pointy-stick.com>
wrote:
> On Jan 18, 2:53 pm, Adam Yee <adamj...@gmail.com> wrote:
>
> > It was a slam dunk for completing the tutorial in the development
> > server, but I can't figure out this issue I'm having with the generic
> > views while using my apache server.  I'm unable to get the vote view
> > to redirect correctly.
>
> > My apache error seen here with both urls.py and views.py.  The apache
> > config is at the bottom.
>
> >http://dpaste.com/110275/
>
> I'm in the middle of something else at the moment and my internet
> connection is dodgy, so I can't reliably look this up, however, one
> wild guess: Since the error you're seeing suggests that the '/mysite'
> portion is being stripped, this is possibly one of the cases where the
> Alias (or WSGIAlias in this case) has to end with a trailing slash.
> You've written the WSGIAlias as "/mysite", try "/mysite/" instead.

No, mod_wsgi does things properly here and so not needed. You may be
confusing things with how certain FASTCGI modules for Apache are a bit
stupid and require a trailing slash after the script path specified as
last argument.

Graham

> Again, this may be complete rubbish, but it's a common enough error
> with Alias commands, although I can't remember how it works with
> trailing script specifications (like ..../django.wsgi). Still, it will
> only take 30 seconds to test and if I'm wrong, you're no worse off.
>
> Regards,
> Malcolm
--~--~---------~--~----~------------~-------~--~----~
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