Bug 65605 - Default configuration of the ssl module should be conditional
Summary: Default configuration of the ssl module should be conditional
Status: NEW
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: mod_ssl (show other bugs)
Version: 2.4.49
Hardware: PC
: P2 normal (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-09-30 08:46 UTC by Zdenek Juran
Modified: 2021-09-30 08:46 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Zdenek Juran 2021-09-30 08:46:09 UTC
Hello,
Here is my use case:

Initial situation is you install httpd and mod_ssl and configure security
During lifecycle you may found situation that you want to switch off secured content and let unsecured landing page running.
Quick solution could be to just disable mod_ssl module and reload config.
But during start, an unknown directives are reported (ssl).
This is caused by default mod_ssl config that is not enclosed in
<IfModule ssl_module>
</IfModule>

The same situation can happen if you install httpd and mod_ssl and you want to run just unsecured web for testing purposes by disabling mod_ssl module.

Could it be possible to enclose default module configuration by IfModule condition?

This could apply to any default config of any module.

Regards,
Zdenek