Kashub's Code Barn - "Force to use HTTPS - apache rewrite to SSL site"

podświetlone jako php-brief (dodał(a) kashub @ 2010-09-11 14:31:52)

Podświetl ten kod w:
Ostatnio dodane:
Losowe wpisy:
# use entered domain
RewriteCond %{HTTPS} !=on
RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [R,L]
 
# redirect to another domain, which use SSL
RewriteCond %{HTTPS} !=on
RewriteRule .* https://somessl.example.com%{REQUEST_URI} [R,L]
 
| Sklep sportowy | | Gdzie przenieść blog za darmo? | | Best Cold Press Slow Juicers UK 2025 | | Best Toasters UK 2025 | | Best UK Deals | | Decking UK | | Gazebo UK | | Garden furniture UK | | Tyres UK | | Motorcycle Tyres UK |