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

podświetlone jako fortran (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]
 
| Zestawy perfum na prezent | | concept for life maine coon - sklep | | tiaki wędka dla kota ważka - sklep | | Skracacz adresów | | Jewelry & Accessories UK | | Buy a Shed UK | | Greenhouses UK | | Gazebo UK | | pressure treated fence panels UK |