Re: [users@httpd] Redirection via HTTPS

2015-02-11 Thread YUSUI T
2015-02-09 16:31 GMT+09:00 Daniel : > > > 2015-02-08 21:15 GMT+01:00 Yann Ylavic : >> >> On Sun, Feb 8, 2015 at 9:03 PM, Yann Ylavic wrote: >> > On Sun, Feb 8, 2015 at 7:36 AM, YUSUI T >> > wrote: >> >> >> >>

Re: [users@httpd] Redirection via HTTPS

2015-02-11 Thread YUSUI T
2015-02-10 0:36 GMT+09:00 Jason Cillo : > In case this is helpful to someone, a book I bought on .htaccess recommends > this to require SSL/HTTPS by port: > > > RewriteCond %{SERVER_PORT} ^80$ > RewriteRule ^(.*)$ https://%{SERVER_NAME}%{REQUEST_URI} [R=301, L] > > > ...Jason Thank you a

Re: [users@httpd] Redirection via HTTPS

2015-02-09 Thread YUSUI T
2015-02-09 16:31 GMT+09:00 Daniel : > > > 2015-02-08 21:15 GMT+01:00 Yann Ylavic : >> >> On Sun, Feb 8, 2015 at 9:03 PM, Yann Ylavic wrote: >> > On Sun, Feb 8, 2015 at 7:36 AM, YUSUI T >> > wrote: >> >> >> >>

Re: [users@httpd] Redirection via HTTPS

2015-02-09 Thread YUSUI T
2015-02-09 5:15 GMT+09:00 Yann Ylavic : > On Sun, Feb 8, 2015 at 9:03 PM, Yann Ylavic wrote: >> On Sun, Feb 8, 2015 at 7:36 AM, YUSUI T wrote: >>> >>> root@hostname:~# tail -n 6 /etc/apache2/mods-available/ssl.conf >>> >>> ServerName

Re: [users@httpd] Redirection via HTTPS

2015-02-09 Thread YUSUI T
2015-02-09 4:43 GMT+09:00 Chris Arnold : > >> Server should be SSL-aware but has no certificate configured [Hint: >> SSLCertificateFile] ((null):0) >> [Sun Feb 08 13:31:27.595849 2015] [ssl:emerg] [pid 7124] AH02312: >> Fatal error initialising mod_ssl, exiting. > > Are you sure you have a cert con

Re: [users@httpd] Redirection via HTTPS

2015-02-08 Thread YUSUI T
2015-02-08 20:30 GMT+09:00 Chris Arnold : > You probably could have left that entry in and just added the Redirect > statement (not sure what flavor of OS you are using). OS I am using is Ubuntu 14.04.1 LTS (GNU/Linux 2.6.32-042stab093.5 x86_64). > root@hostname:~# tail -n 6 /etc/apache2/mods-a

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

[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/