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

podświetlone jako actionscript (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 z oponami | | Opony zimowe | | Perfumy Sklep | | Sklep sportowy | | Wklejacz kodów | | Best Fully Automatic Coffee Machines UK 2025 | | Bamboo Socks UK | | Decking UK | | summer house UK | | SUV Tyres UK |