httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From YUSUI T <yusui.tomik...@gmail.com>
Subject Re: [users@httpd] Redirection via HTTPS
Date Wed, 11 Feb 2015 08:11:07 GMT
2015-02-10 0:36 GMT+09:00 Jason Cillo <cilloja@yahoo.com.invalid>:
> In case this is helpful to someone, a book I bought on .htaccess recommends
> this to require SSL/HTTPS by port:
>
> <IfModule mod_rewrite.c>
>     RewriteCond %{SERVER_PORT} ^80$
>     RewriteRule ^(.*)$ https://%{SERVER_NAME}%{REQUEST_URI} [R=301, L]
> </IfModule>
>
> ...Jason

Thank you and I am sorry I am late.
I tried with .htaccess at first. But I take another way because it was
disabled on /~user.

Yusui

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message