.htaccess redirection resulting alias plus directory name

Posted by austin cheney on Server Fault See other posts from Server Fault or by austin cheney
Published on 2010-05-04T15:26:26Z Indexed on 2010/05/04 15:28 UTC
Read the original article Hit count: 254

Filed under:
|
|
|
|

I am using .htaccess file to redirect all web traffic in a folder to ssl, because the directory prompts users for a login. When a user logs in they are redirected from https://subdir.mailmarkup.org/ to https://subdir.mailmarkup.org/~homedir/subdir.

I want users to be redirected from http to https, and this is occuring successfully, however, I do not want users redirected from the first path mentioned above to the second. How do I prevent this?

© Server Fault or respective owner

Related posts about htaccess

Related posts about ssl