Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Overriding directives / containers in configuration files |
|
Author |
|
svaradar
Joined: 31 Jan 2017 Posts: 2 Location: India, Bangalore
|
Posted: Tue 31 Jan '17 12:31 Post subject: Overriding directives / containers in configuration files |
|
|
I am using Apache 2.2 on Linux. Our team has various instances of Apache 2.2 instances which caters to different services. We would like to have all the standard configurations in the httpd.conf and other .conf files in the instance config directories and we would like to advice the service teams to make any service specific changes by overriding the specific settings in a separate .conf file in a subdirectory under the instance config directory. We would be having Include directives within httpd.conf to include these .conf files from the sub directories. Our assumption is that any directive in any of the .conf files can be overridden and the overridden values will take effect. Please confirm if this is correct or if there are any exceptions to this rule.
Looking forward to some advice.
Thank you,
Srini. |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Wed 01 Feb '17 13:00 Post subject: |
|
|
override does not work how you like it to be in apache und less you use .htaccess files, but I would not use them. |
|
Back to top |
|
svaradar
Joined: 31 Jan 2017 Posts: 2 Location: India, Bangalore
|
Posted: Wed 01 Feb '17 16:49 Post subject: |
|
|
Thanks James for your reply. Can you please elaborate on how actually override works (or) point to any relevant documentation.
Regards,
Srini. |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Fri 10 Feb '17 18:24 Post subject: |
|
|
What do you want to override? A subdirectory setting? |
|
Back to top |
|
|
|
|
|
|