login community faq

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 Nov 27 '11 at 19:38

dorseye's gravatar image

dorseye
11

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.

(Nov 27 '11 at 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?

(Nov 27 '11 at 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!

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

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

answered Nov 28 '11 at 05:33

Marelisa12's gravatar image

Marelisa12
1

Your answer
If you have an answer to the above question, then use the form below. Otherwise, use the appropriate 'add new comment' button above to post your feedback.
toggle preview

Plans & prices    Sign up    Why WebFaction?    Contact us    Affiliate program    Support    Legal    Jobs    Blog    Control panel login
Powered by OSQA
© Copyright 2003-2012 Swarma Limited - WebFaction is a service of Swarma Limited