In case anyone else ends up with same problem, I was using request.path
instead of request.path_info.
P.
On Friday, 23 May 2014 14:58:11 UTC+10, Spaceman Paul wrote:
>
> Playing around some more, and inserting some trace statements in the
> django code, I can see
> (for the example ^times$ patt
Ugh nevermind.
Yes it's a bug - but in my code. I'll figure it out.
On Friday, 23 May 2014 14:58:11 UTC+10, Spaceman Paul wrote:
>
> Playing around some more, and inserting some trace statements in the
> django code, I can see
> (for the example ^times$ pattern):
>
> 1) When WSGIScriptAlias is
Playing around some more, and inserting some trace statements in the django
code, I can see
(for the example ^times$ pattern):
1) When WSGIScriptAlias is the server root:
The RegexURLResolver.resolve(self,path) method (in
django.core.urlresolvers.py) is called three times,
each time with path="
I've worked around it by creating another A-record and pointing each
application to the server root of the respective
virtual host, but this should not be necessary.
On Thursday, 22 May 2014 23:50:57 UTC+1, Spaceman Paul wrote:
>
> Nothing in wsgi.conf.
>
> Relevant bits of apache conf:
>
>
> .
Nothing in wsgi.conf.
Relevant bits of apache conf:
WSGIScriptAlias /awma
/home/paul/src/awma-apache/internationalguidelines/wsgi.py
Nothing in /var/log/apache2/error.log
Access.log just says:
152.91.9.9 - - [23/May/2014:08:27:17 +1000] "GET /awma/ HTTP/1.1" 404 1476
"-" "Mozilla
Maybe post your apache.conf or/and your wsgi file. Maybe check your Apache
logs.
K
On Wednesday, May 21, 2014 11:01:29 PM UTC-7, Spaceman Paul wrote:
>
> No that's what I've got.
>
> P.
>
>
>>>
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
No that's what I've got.
P.
On Thursday, 22 May 2014 15:14:01 UTC+10, WongoBongo wrote:
>
> Maybe
>
> WSGIScriptAlias /awma /var/www/djangoapp/djangoapp/wsgi.py
>
> K
>
> On Wednesday, May 21, 2014 9:27:14 PM UTC-7, Spaceman Paul wrote:
>>
>> My application works fine in runserver and in apache/w
Maybe
WSGIScriptAlias /awma /var/www/djangoapp/djangoapp/wsgi.py
K
On Wednesday, May 21, 2014 9:27:14 PM UTC-7, Spaceman Paul wrote:
>
> My application works fine in runserver and in apache/wsgi mapped to root,
> but when I map wsgi to a directory, url lookups fail.
>
> E.g.
>
> Request URL: h
8 matches
Mail list logo