Hello Everyone,
Internal case CPANEL-27774 is open to address an issue where the specific reason why the
Force HTTPS Redirect option is disabled in the cPanel UI. I'll monitor this case and update this thread with more information on it's status as it becomes available.
In the meantime, here's a look at the potential reasons the
Force HTTPS Redirect option is disabled in the cPanel UI:
1. The
ea-apache24-config-runtime version is lower than 1.0-140. Here's an example of how to check the version of this RPM:
Code:
rpm -qa|grep ea-apache24-config-runtime
If you're using a lower version, run the "yum update" command to ensure you are using the latest EA4 RPMs.
2. The
Allow cPanel users to install SSL Hosts option is disabled under the
System tab in
WHM >> Tweak Settings.
3. Mod_Rewrite is
not installed. Here's the command to use to confirm that Mod_Rewrite is installed:
If it's installed, the command output should look like this:
Code:
# httpd -M|grep rewrite
rewrite_module (shared)
4. Custom Apache templates are overriding the the
vhost.default Apache template. You can read about how custom Apache templates are configured on the link below:
Custom Templates - EasyApache 4 - cPanel Documentation
Thank you.