I get the Django administration prompt login to the admin with user password at mydomain/pcdata/admin but as soon as I hit enter, I get this:

"The requested URL /admin/ was not found on this server."

and it's at mydomain/admin

Even if I manually go to mydomain/pcdata/admin it just goes back to the authentication page and the admin is never shown.

What do I need to change to be able to view the Admin console in Django, but NOT at the root? Ive already got other site stuff there so it needs to be in the mydomain/pcdata subfolder.

asked 27 Nov '11, 19:38

dorseye's gravatar image

accept rate: 0%

http://{mydomain}/pcdata/admin/ seems to be working for us. Perhaps your urls.py is explicitly matching the trailing slash (i.e. admin/ vs admin)?

You also will still need to configure Django to serve all of the admin media as usual.

(27 Nov '11, 20:28) ryans ♦♦ ryans's gravatar image

I tried it both ways - same result either way. When you you say it seems to be working for you, do you mean that you can actually interface with the admin pages?

(27 Nov '11, 23:13) dorseye dorseye's gravatar image

I mean that the Admin page login shows up at admin/ while a The requested URL /admin/ was not found on this server error appears at admin. We don't have actual login credentials for your Django Admin in order to get further than this - if you'd like us to investigate, please open a support ticket providing a method for us to reproduce the issue. Thanks!

(27 Nov '11, 23:32) ryans ♦♦ ryans's gravatar image

thank you for sharing guys..this is actually very helpful...

permanent link

answered 28 Nov '11, 05:33

Marelisa12's gravatar image

accept rate: 0%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 27 Nov '11, 19:38

question was seen: 2,655 times

last updated: 28 Nov '11, 05:33

Features & prices    Sign up    Contact us    Affiliate program    Support    Legal    Jobs    Blog    Control panel login
© Copyright 2003-2015 Swarma Limited - WebFaction is a service of Swarma Limited