Re: ssl.conf and httpd.conf in Centos

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



IncludeOptional will include any files if present, based on the pattern. If no file can be included, it won't cause issues.

Further, you don't need to use separate files for everything. You can use a single monolithic file for everything, if you prefer that approach.

Running apachectl -V will show the first read config file. You can take it from there. 

On Thu, Sep 6, 2018 at 2:02 PM Mahmood Naderan <nt_mahmood@xxxxxxxxx.invalid> wrote:
Hi,
In Centos with the name of httpd, I see two IncludeOptional statements in /var/etc/httpd/conf/httpd.conf

# grep -r IncludeOptional /etc/httpd/
/etc/httpd/conf/httpd.conf:IncludeOptional conf.d/*.conf
/etc/httpd/conf/httpd.conf:IncludeOptional sites-enabled/*.conf



I don't see such statements in the ssl configuration.

# grep -r IncludeOptional /etc/httpd/conf.d/ssl.conf
#



I want to know should I manually add include statements for the ssl configuration file? Or ssl.conf inherits from httpd.conf?

Thanks for any feedback.


Regards,
Mahmood

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux