Re: [users@httpd] How to permanently disable default config files

2020-06-12 Thread Scott A. Wozny
the feedback! 🙂 Scott From: Yehuda Katz Sent: June 11, 2020 7:31 PM To: users@httpd.apache.org Subject: Re: [users@httpd] How to permanently disable default config files You can use yum-plugin-post-transaction-actions to delete the files (not currently available in C

Re: [users@httpd] How to permanently disable default config files

2020-06-12 Thread Scott A. Wozny
I'll check with the CentOS crew. Thanks very much. 🙂 Scott From: Frank Sent: June 11, 2020 6:54 PM To: users@httpd.apache.org Subject: Re: [users@httpd] How to permanently disable default config files On 10/06/20 05:29 PM, Scott A. Wozny wrote: >

Re: [users@httpd] How to permanently disable default config files

2020-06-11 Thread Yehuda Katz
You can use yum-plugin-post-transaction-actions to delete the files (not currently available in CentOS 8 though): Create a file named /etc/yum/post-actions/httpd.action With the content: httpd*:update:rm -f /etc/httpd/conf.d/file_to_delete You should also be able to leave the files empty instead o

Re: [users@httpd] How to permanently disable default config files

2020-06-11 Thread Frank
On 10/06/20 05:29 PM, Scott A. Wozny wrote: > Running the Centos7 packaged httpd, I didn't want the config files in > /etc/httpd/conf.d (autoindex.conf, userdir.conf and welcome.conf) to > load. I thought I was being clever and renamed them all to name.disable > so they there there for my refer

[users@httpd] How to permanently disable default config files

2020-06-10 Thread Scott A. Wozny
Running the Centos7 packaged httpd, I didn't want the config files in /etc/httpd/conf.d (autoindex.conf, userdir.conf and welcome.conf) to load. I thought I was being clever and renamed them all to name.disable so they there there for my reference, but wouldn't load the modules and settings. T