Sharing Apache Modules across multiple virtual domains
Posted on 2005-05-02
I am expecting detailed information regarding "How to's" for this question. Points will not be awarded for posts which say "refer to this link", etc. Unfortunately, I have only been working with RH for a couple of years now and it seems that many of the technical documents require me to do more research just to understand them. For example, I am trying to get Horde installed and configured but I am having a lot of trouble. I do not mind doing the work but most of the time I have already found and followed the documentation for the implementions. The reason I am posting is because I have been unable to find the information I need or I am having trouble implemention process discribed in the docs to get the task completed.
I am setting up a web server for hosting multiple domains. I am using RH7.3, Apache2.x.x, PHP4.x, Majordomo, and Horde. So far I have been able to configure my name-based virtual hosts, SSL, FTP access, and Sendmail. I am interested in offering the Packages across multiple domains. My question is do I have to install these packages in each users /home directory in order for them to be used by each domain or can I install them once on the server and somehow give the user the ability to make their own configuration file which will be used?
So, 1) Lets say I build one domain/website with all the functionality I want. Is there a way to "copy" the framework and functionality to other domains/websites which will be on the same server stored under the individual user accounts /home directory? I believe I can copy files into the users /home directory when I create the user account but I do not know how to define all of the files which would need to be copied. It seems that the core files would need to be in directories which the user will not have access to.
2) I am concerned about using disk capacity. If I need to install multiple instances of each package into the users /home directory that is fine. But if I can accomplish the same results by installing the package once on the server and then placing configuration files in each users /home directory which will be used for their respective domain/website I think that would be better.
Thank you for your time and assistance.