Re: [users@httpd] Redirection via HTTPS

2015-02-07 Thread YUSUI T
2015-02-08 12:42 GMT+09:00 Chris Arnold : > >Hello. > I> have a question about 301 redirection of https. > > >My website is accessible with both of >non-subdomain http(s):// > mydomain.com and >subdomain-www http(s)://www.mydomain.com. >Both have > the same IP address. > I> would like to chang

RE: [users@httpd] Redirection via HTTPS

2015-02-07 Thread Chris Arnold
>Hello. I> have a question about 301 redirection of https. >My website is accessible with both of >non-subdomain >http(s)://mydomain.com and >subdomain-www >http(s)://www.mydomain.com. >Both have the same IP >address. I> would like to change http

[users@httpd] Redirection via HTTPS

2015-02-07 Thread YUSUI T
Hello. I have a question about 301 redirection of https. My website is accessible with both of non-subdomain http(s)://mydomain.com and subdomain-www http(s)://www.mydomain.com. Both have the same IP address. I would like to change https://mydomain.com/ to redirection for https://www.mydomain.com/

[users@httpd] Redirect HTTP to HTTPS

2015-02-07 Thread Chris Arnold
Apache 2.4.10 on SLES 12. I am trying to redirect a subdomain address from http to https. So when a user forgets to use https they will still land on the correct page. I tried using: RewriteEngine On RewriteCond %{HTTPS} off RewriteCond %{HTTP_HOST} ^(sub1|sub2|sub3)\. [NC] RewriteRule (.*) ht