Apacheでhttpをhttpsへリダイレクトする設定です。
mod_rewriteを使います。
<VirtualHost *:80> ServerName www.next-hop.net <ifModule mod_rewrite.c> RewriteEngine On LogLevel alert rewrite:trace3 RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [R,L] </ifModule> </VirtualHost>