htaccess redirect to https
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301,NE]
RewriteEngine On
RewriteCond %{HTTP:X-Forwarded-Proto} !https
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301,NE] RewriteEngine On
RewriteBase /
RewriteCond %{HTTPS} !=on
RewriteCond %{HTTP_HOST} ^yourdomain\.com [OR]
RewriteCond %{HTTP_HOST} ^www\.yourdomain\.com
RewriteRule .* https://yourdomain.com%{REQUEST_URI} [R=301,L]#htaccess
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301,NE]RewriteEngine On
RewriteCond %{HTTPS} on
RewriteRule (.*) http://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.yourdomain.com/$1 [R,L]
Also in C:
- RuntimeError: You must setup() the GPIO channel first
- arduino keypad wait for key
- binary to hexadecimal in c
- how to do Employing defensive code in the UI to ensure that the current frame is the most top level window
- c program to find number of days in a month using switch case
- epita
- flip exis in dataframe
- kadane's algorithm
- prime check in c
- how to make a linked list in c
- lldb set breakpoint function name
- esp32 dhcp server
- simpy process return value
- reverse function in c
- matplotlib pyplot legend location
- roblox metatable
- htaccess redirect to https
- code: 'EADDRINUSE', [0] errno: 'EADDRINUSE', [0] syscall: 'listen', [0] address: '::', [0] port: 5000
- fwrite c
- print double with 2 decimals c
- #pragma pack(1) in c
- Ionic 3 camera plugin not returning video from photo library on ios
- warning: function returns address of local variable [-Wreturn-local-addr]
- calloc