I'm trying to figure out how I can setup the admin pages for my new django site to use https. Ideally I'd like to have it so that when I go to http://myproject.com it goes to my site as usual, but if I go to http://admin.myproject.com the user gets redirected to https://admin.myproject.com would host a separate django app which just handles everything admin. Right now I'm just trying to get the https site to work, but https://admin.myproject.com just gives me a server not found error. This is what I have so far:
Anyone have any idea what's wrong? EDIT: Just reworded a little bit to point out that right now I'm trying to get the https://admin.myproject.com site working. I haven't gotten to the redirects yet.
This question is marked "community wiki".
asked 19 Jul '11, 20:15 Rook |
Create 'redirect' apps that sit at the http:// paths,
answered 19 Jul '11, 20:49 johns Thanks, I'll try that after I get the admin page working first. It'll be difficult to make sure the redirect app is working if the target page is still broken.
(20 Jul '11, 08:34)
Rook
|