Hi everyone, i have an application and i'm trying to run it on Apache. I have the following lines in httpd.conf <Location /seoappsla/> SetHandler python-program PythonHandler django.core.handlers.modpython PythonPath "['/home/sla/'] + sys.path" SetEnv DJANGO_SETTINGS_MODULE seoapp_sla.settings PythonDebug On
Order deny,allow Allow from all </Location> When i go to http://mysite.com/seoappsla/ it goes to the application, but when i try to do anything in the app, it goes to another page, index?blablabla, but it goes to http://mysite.com/index?blablabla . How can i change it to go to http://mysite.com/seoappsla/index?blablabla ??? My urls.py file is this: from django.conf.urls.defaults import * urlpatterns = patterns('', # Example: # (r'^seoapp_sla/', include('seoapp_sla.foo.urls')), # Uncomment this for admin: (r'^admin/', include('django.contrib.admin.urls')), (r'^', 'seoapp_sla.seoappsla.views.index'), (r'^seoappsla/(?P<process_id>\d+)/$', 'seoapp_sla.seoappsla.views.detail'), ) Thanks !!!! --~--~---------~--~----~------------~-------~--~----~ 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 django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---