Apache http’den https’e yönlendirmek
Aşağıdaki blok ile sunucuya http’den gelen bağlantıları https olarak yönlendirebilirsiniz.
<VirtualHost *:80>
RewriteEngine on
ReWriteCond %{SERVER_PORT} !^443$
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI}</VirtualHost>
Bir cevap yazın