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

podświetlone jako freebasic (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]
 
| Perfumy Unisex | | Opony całoroczne | | karma dla psa - sklep | | Skracacz linków | | Best Integrated Washing Machines UK 2025 | | Best cetrifugal juicers UK | | Kids Bamboo Socks UK | | UK Fashion Shop | | Toys and Games Shop UK | | Ski Gloves UK Shop |