2 apaches on 1 linux box
I'm doing name-based IP addresses, and multiple daemons. I already have an apache server working. (this is a production machine.) rather than downloading and compiling apache again, is there some core apache file that I can just find already on the machine, copy it, and create a new instance of apache?
Thank you. B |
Quote:
Tux, |
i'm doing ip-based hosting, and multiple daemons.
so maybe the proper question, then, is .. what do i have to do for multiple daemons? |
here's what apaches says for multiple daemons:
"Create a separate httpd installation for each virtual host. For each installation, use the Listen directive in the configuration file to select which IP address (or virtual host) that daemon services. e.g. Listen www.smallco.com:80 It is recommended that you use an IP address instead of a hostname (see DNS caveats)." |
so, it talks about setting up multiple daemons, but doesn't address exactly how.
|
Doesn’t that just mean that you need to specify a different configuration file using the -f option for each httpd daemon you start?
From man httpd: Quote:
|
doing an intranet and another public website in addition to the SSL-enabled public website that's already up and running. So, the SSL and the intranet is why i'm thinking of doing it this way.
i'll look into what you are talking about with the man page. |
All times are GMT -5. The time now is 12:10 AM. |