[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

apache redirect in htaccess

I'm trying to redirect user from http to https using command in htaccess

Redirect permanent / https://www.mydomain.com/directory

when user enter http://www.mydomain.com/directory I'm trying to redirect
them to https but I'm getting error message

When I use:
https://www.mydomain.com/ apache tells me "redirection limit for this
url exceeded

If I use:
https://www.mydomain.com/directory apache tries to access 

What am I doing wrong?


Reply to: