Forum Moderators: phranque

Message Too Old, No Replies

Dynamic includes

using 'modular' include files to minimise redundant changes

         

nalin

11:08 pm on Aug 31, 2004 (gmt 0)

10+ Year Member



We run a number of hosts on ip based virtual hosting with an extensive dose of mod_rewrite

I am in the process of load balancing our main server with a second server running a second flavor of linux and apache 2.x instead of 1.x series. Given the profusion of mod_rewrite rules and the huge number of minimal changes that are necessary to set up the server (for instance slightly off directory paths - httpd vs apache2, www vs localhost/www etc) I have decided that I want to implement more modular apache configuration. Note that I realize I could minimise these changes with symbolic links etc - I would prefer not to because there are redundancies above and beyond this configuration issue.

2 Questions:
Is there a manner in which one can define and use variables in apache2.conf?

<snip (configuration error on my part preventing this)>