Re: Using django/mod_wsgi with apache httpd ErrorDocument seems to confuse reverse URL mapping

2016-06-27 Thread Patrick Ethier
in different ways, but the most straight-forward seems to be the FORCE_SCRIPT_NAME in settings.py On Monday, June 27, 2016 at 3:09:13 PM UTC+2, Patrick Ethier wrote: > > Hi, I'm trying to set up mod_wsgi and Django to handle authentication and > I'm getting a weird problem. A

Using django/mod_wsgi with apache httpd ErrorDocument seems to confuse reverse URL mapping

2016-06-27 Thread Patrick Ethier
Hi, I'm trying to set up mod_wsgi and Django to handle authentication and I'm getting a weird problem. After much troubleshooting I've distilled it down to the configs below: /etc/httpd/conf.d/10-django.conf ServerName site.internal DocumentRoot