here is some background information, I'm writing a Apache/Tomcat cluster installer basically it is a script that can be called with a domain name and a base port e.g. www.example.com 10010 this scipt generates 2 tomcat and 2 apache instances with a lb in front and all the backend connections are automaticly configured, the apache--- >tomcat connection is made trough mod_proxy_ajp and a balancer.
The Problem is apache, I have compiled apache from source so that it can be used as a template for all other instances, the bad thing is the --prefix so that the executables refer to the "template" config files.
Is there a way to compile apache as a "template" with a relative path or someting like that ?