I have a setup whereby I proxy 3rd.domain.tld with Apache to
127.0.0.1:xxxx running django.
When I access 127.0.0.1:xxxx/admin, I get the admin page as intended.
However, if I attempt access with 3rd.domain.tld/admin, I get an error
----
Page not found (404)
Request Method:
GET
Request URL:
http://127.0.0.1:xxxx/error/HTTP_UNAUTHORIZED.html.var
Using the URLconf defined in testsite.urls, Django tried these URL
patterns, in this order:
1. ^admin/
The current URL, /error/HTTP_UNAUTHORIZED.html.var, didn't match any of
these.
----
The .html.var, maybe that of Apache server.
The urls.py file contains:
----
from django.conf.urls.defaults import *
urlpatterns = patterns('',
# Example:
# (r'^testsite/', include('testsite.apps.foo.urls.foo')),
# Uncomment this for admin:
(r'^admin/', include('django.contrib.admin.urls')),
)
----
What is the right way to setup such access,so that I can administer my
apps?
Thanks,
Ed
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---