Monday, March 4, 2013

I18N URL patterns and wsgi

Hello,

I have a Django project (Django 1.4.5) at an URL like this:

http://host/subdir/django-app

This is implemented with apache + WSGI and is configured in the apache configuration:

WSGIScriptAlias /subdir /some/path/to/django-app.wsgi

Now I implemented I18N and tried it on the webserver. It changed the URLs to:

http://host/<language>/subdir/django-app

Which of course does not work. I expected it to do something like:

http://host/subdir/<language>/django-app

Am I doing something wrong? I can't find out how to change that behaviour.

Regards

Sebastian

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment