logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

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.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Overriding directives / containers in configuration files
Author
svaradar



Joined: 31 Jan 2017
Posts: 2
Location: India, Bangalore

PostPosted: Tue 31 Jan '17 12:31    Post subject: Overriding directives / containers in configuration files Reply with quote

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

PostPosted: Wed 01 Feb '17 13:00    Post subject: Reply with quote

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

PostPosted: Wed 01 Feb '17 16:49    Post subject: Reply with quote

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

PostPosted: Fri 10 Feb '17 18:24    Post subject: Reply with quote

What do you want to override? A subdirectory setting?
Back to top


Reply to topic   Topic: Overriding directives / containers in configuration files View previous topic :: View next topic
Post new topic   Forum Index -> Apache