Url pattern below r^sip/conf and sip/createfile work for development
server but Apache comes up with a 404 error. Note that the error is
shown as Apache error not Django parsing error. So, is it Apache not
using the Python interpreter or something with Django? Note that
changing the name to station/conf and station/createfile works.
urlpatterns = patterns('',
    # Example:
    # (r'^sipprovision/', include('sipprovision.foo.urls')),

    # Uncomment the admin/doc line below and add
'django.contrib.admindocs'
    # to INSTALLED_APPS to enable admin documentation:
    # (r'^admin/doc/', include('django.contrib.admindocs.urls')),

    # Uncomment the next line to enable the admin:
    (r'^admin/(.*)', admin.site.root),
    (r'^ext/(?P<ph>\d+)/$',ExtensionDetail),
    (r'^ext/add/$',ExtensionAdd),
    (r'^ext/add/(?P<context>\w+)',ExtAddToContext),
    (r'^ext/scripts/all$',allscripts),
    (r'^ext/scripts/(?P<sel_context>\w+)',extscripts),
    (r'^sip/conf$',sipconf),
    (r'^station/add/$',station_add ),
    (r'^sip/createfile/$',create_sip_file),
    (r'^sys/(?P<sys>\d+)/$',SysDetail),
)


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to