Re: append_slash and mod_wsgi problem when Django lives in subdirectory

2009-03-06 Thread Benedykt
On Mar 5, 11:51 pm, Graham Dumpleton wrote: > What version of Django are you using? > > Are you perhaps using a pre 1.0 version where SCRIPT_NAME, which > defines mount point, was not being properly handled by Django. Yes, it was the reason - I was using 0.9.7. I upgraded to the current version

Re: append_slash and mod_wsgi problem when Django lives in subdirectory

2009-03-05 Thread Graham Dumpleton
On Mar 6, 5:14 am, Benedykt wrote: > Dear sirs, > I have configured my web server sohttp://localhost/wsgipoints to > Django connected with WSGI: > WSGIScriptAlias /wsgi /var/www/django.wsgi > > Now I can see that when I request URL "http://localhost/wsgi/myapp/ > test/", Django sees URL "myapp/

append_slash and mod_wsgi problem when Django lives in subdirectory

2009-03-05 Thread Benedykt
Dear sirs, I have configured my web server so http://localhost/wsgi points to Django connected with WSGI: WSGIScriptAlias /wsgi /var/www/django.wsgi Now I can see that when I request URL "http://localhost/wsgi/myapp/ test/", Django sees URL "myapp/test/". It is nice when I write url rules - they