Dagamier wrote:
> Greetings all. Please forgive my newbieness as I am taking over a
> project that is kind of outside my normal scope. My problem is as
> follow:
>
> I have an apache (1.3.20) instance running on my server. Currently it
> supports 5 different schools through virtual hosts. However, the
> schools now want to be able to control their own instance of apache.
In order to support this, one instance for each school, you have to run one
instance of Apache for each school, entirely seperate from the others.
The reason is, that Apache runs one daemon as root, that controls all other
instances of Apache that will run as childprocesses.
Only one controlling instance, so only one controlling user.
The amount of child processes of Apache is based on the server settings for
number of children. Read about this in detail at
www.apache.org.
> This would include having their logs seperated rather than in one huge
> log file as they currently are. I'm heard of being able to chroot
This is no problem, just specify individual logfile locations in each
corresponding VirtualHost container.
> apache, but am not familiar with how I could use that to my advantage
> of having the schools being able to bring down/up their own instance
> if they had a problem with just their instance without affecint the
> other schools. Any pointers in the right direction would be greatly
> appreciated.
As mentioned, this is not an option. However, if each school runs their own
server, the problem is eliminated. All it takes is a permanent connection
to the Internet at a relative bandwidth, depending on amount of hits.
What I don't see, is the reason why? Why does each school want full control
over their webserver? Basically there should be no need for this.
What could be considered an eventual advantage is the use of individual
..htaccess files. Maybe that's worth looking into?
But again, depends on the reasons for these wishes of individuality and
control.
HTH,
/Andreas
--
Registeret Linux user #292411