Hi,

I'm trying to configure a specific application (developed in Python/Django)
to run only through HTTPS, what I need is redirect a specific directory to
HTTPS:

FROM

http://myserver.com/dashboard

TO

https://myserver.com/dashboard

I created some redirect rules on apache httpd.conf like that:

RewriteCond %{HTTPS} !=on

RewriteRule ^/dashboard$ https://%{SERVER_NAME}/dashboard [R=301,L]

The redirect from HTTP to HTTPS is working fine... but after redirected to
the HTTPS address the login page does not work anymore... looks like the
POST parameters are missing… if I comment my redirect rules everything
works fine again

Has anyone have any idea if I forgot any step to do that ? Other ideas ?

I also tried to use http://wiki.apache.org/httpd/RedirectSSL

But I don't have a VirtualHost I need to do this redirect in a directory
only.

Any ideas ?

Thanks in advance,

-- 
Best Regards,
Felipe Roman
LinkedIn http://au.linkedin.com/in/feliperoman

Reply via email to