force_https_ssl_on_a_website
Differences
This shows you the differences between two versions of the page.
force_https_ssl_on_a_website [2025/03/20 18:37] – created juckins | force_https_ssl_on_a_website [2025/03/20 18:38] (current) – juckins | ||
---|---|---|---|
Line 23: | Line 23: | ||
</ | </ | ||
+ | ---- | ||
+ | __Using httpd.conf__: | ||
+ | |||
+ | Edit / | ||
+ | |||
+ | < | ||
+ | # Force <DIR> to use SSL | ||
+ | RewriteEngine on | ||
+ | RewriteCond | ||
+ | RewriteRule ^/< | ||
+ | </ | ||
+ | |||
+ | Example: | ||
+ | < | ||
+ | # Force Nagios to use SSL | ||
+ | RewriteEngine on | ||
+ | RewriteCond | ||
+ | RewriteRule ^/ | ||
+ | </ |
force_https_ssl_on_a_website.1742510279.txt.gz · Last modified: 2025/03/20 18:37 by juckins