Hi Javi, I'm having the same problem... any progress so far?
Thanks. On Nov 10, 8:35 am, Javi <[EMAIL PROTECTED]> wrote: > Hello Rajesh, > > I've tried putting FORCE_SCRIPT_NAME="" but everything continues at > the same state. I'm running the app in Apache2/mod_python. I've pasted > the htttp.conf file athttp://rafb.net/p/Ya1VKT55.html > > I'm going to continue trying to solve it. > > On Nov 5, 7:11 pm, Rajesh Dhawan <[EMAIL PROTECTED]> wrote: > > > 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 -~----------~----~----~----~------~----~------~--~---