|
Currently, I'am serving my django website with http . But for some urls I want to use https. How to do it? |
|
First, you will need to make sure that your application is available over both http and https. This is described here. Once the application can be accessed under both protocols, you then can redirect different pages to different protocols as needed. This is shown here. Hope that helps! Ok! for the 2nd config. for e.g. if I want to redirect urls starting with http://example.com/secure/ to https then in httpd.conf, I would use:
I believe you mean: I suppose
so what reg. expr.? The If it's not working, try escaping the slash ( oh! I got confused between One more thing, in the webfaction cp, for https I've created a website record for my application but only mapped it on Okay, that might work, but if you run into any problems with HTTPS and HTTP URLs mapping incorrectly (for example, it thinks Hope that helps!
showing 5 of 6
show all
|