Hi Javi, > Thanks but I'd already tried it. I don't understand why in the > production server is not added the preceeding slash to the url. My > urls.py is as follows: > urlpatterns = patterns('candidateTool.assessmentSystem.views', > (r'^$', 'index'), > (r'^enter/$', 'enter'), > (r'^main/$', 'main'), > (r'^exam/(?P<exam_id>\d+)/$', 'exam'), > (r'^myexam/(?P<exam_id>\d+)/$', 'my_exam'), > (r'^solved/(?P<exam_id>\d+)/$', 'solved_exam'), > (r'^report/$', 'report'), > (r'^exams/$', 'exams'), > (r'^admin/(.*)', admin.site.root), > ) > > In the index page is called /enter and I've also tried /enter/ but > neither work :(
Try, putting FORCE_SCRIPT_NAME='' in your settings file. Also, how are you running the application in your production server (Apache/mod_python, lighttpd/flup, nginx/proxy, etc.)? -RD --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---