SSLãèããã«ä½ããã¦ãããã¼ã¸ãã.htaccessã ãã®å¤æ´ã§SSL対å¿ããæ¹æ³ããç´¹ä»ãã¾ãã ãã¡ããããµã¼ããSSLã«å¯¾å¿ãã¦ããå¿ è¦ã¯ããã¾ããâ¦ã ããã«.htaccessã¨mod_rewriteãå ¥ã£ã¦ããå¿ è¦ãããã¾ãã SSLãã¼ã¸ã«ãããHTMLãã¡ã¤ã«(PHPçã§ãå¯)ã®ãããã£ã¬ã¯ããªã«.htaccessãã¡ã¤ã«ãä½æããä¸ã®æã追å ãã¾ãã RewriteEngine on RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [R,L] ãã¡ã¤ã«ãåå¥ã«æå®ãããå ´åã¯ã¡ãã£ã¨é¢åã§ããä¸è¨ã®ããã«ãã¾ãã ããã§ã¯ä¾ã¨ãã¦foo.htmlã¨bar.htmlãSSLãã¼ã¸ã¨ãããã以å¤ã¯SSLã§ãªããã¼ã¸ã¨ãã¾ãã RewriteEngine on Rew
{{#tags}}- {{label}}
{{/tags}}