On 7/25/06, Chris H. <[EMAIL PROTECTED]> wrote:
> I'm trying to deploy Django into a subfolder of a domain,
> http://www.mydomain.com/projects/
>
> I can call up http://www.mydomain.com/projects/admin/ and I get the
> login screen OK, but when I successfully log in I get sent to
> http://www.mydomain.com/admin/ -- which isn't correct. I should get
> sent to http://www.mydomain.com/projects/admin/
>
> Is there any way to tell Djanog that this site is in a sub-folder?

Hey Chris,

I just tried it on my local Django installation, and the log-in works
properly with a subdirectory.  Are you using the newest version of
Django (0.95)? There shouldn't be anything in there that hard-codes
the URL as /admin/...

Adrian

-- 
Adrian Holovaty
holovaty.com | djangoproject.com

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to