Tuesday, October 25, 2022

Set Force HTTPS Using .htaccess file

 RewriteEngine On

RewriteCond %{HTTPS} !=on
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

No comments:

Post a Comment

Upload file to server using Power Shell Command

 scp file_name.zip username@server_ip/server_address:/directory_path