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.

-- 
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 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to