Hello guys and girls. I have a question. In my apache configuration I
have this:
WSGIScriptAlias /misite "rute_to_file.wsgi"
The users can access from:
http://mysite/
and
https://mysite/
I need to enable the access only from "
https://mysite/". Every access
from "
http://mysite/" must to be redirected to "
https://mysite/". How
can i do this?
Normally I use mod_rewrite, and thats works fine for the static files,
php, etc, but I don't have idea how do this with mod_wsgi.
Additionaly, can be very helpful if somebody now how configure an
"Require Auth" with mod_wsgi.
Sometime ago somebody asked the same in stackoverflow, without get
answers.
Thanks for read, and sorry for my poor english.