httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wilda, Jet" <Jet.Wi...@ChasePaymentech.com>
Subject RE: [users@httpd] Diffeerent Apache Daemon on RHEL5.1
Date Wed, 04 Jun 2008 11:17:58 GMT
Hi,

	We basically do approach1, however you will also need to make a copy of the binary if you
truly want separate daemons.

~Jet

________________________________________
From: Vinay Purohit [mailto:Vinay.Purohit@trianz.com] 
Sent: Wednesday, June 04, 2008 12:36 AM
To: users@httpd.apache.org
Subject: [users@httpd] Diffeerent Apache Daemon on RHEL5.1

Hi All,
I would like to create different apache2.2.8 daemon on RHEL5.1 so that they can be started
and stopped without affecting each other. I do the same on windows by creating IP based virtual
server as different daemon. To achieve the same on RHEL5.1 I considered the following two
appraoches. I am incliend towards approach 1. Please suggest if approach 1 is better suited
over approach 2. Any comment ? risks ?
Approach - 1 (Virtual Servers having same IP Address but with different hostnames and port
numbers)
Step 1 - Edit host file with different hostname (daemon) with same IP Address
             Like -   10.10.2.97 - redhat.apple.com
                        10.10.2.97 - vs1.apple.com
                        10.10.2.97 - vs2.apple.com .... Till n number
of daemon.
            For each virtual server configuration            
Step 2 - Create a new server root folder like /usr/App/Apa1
Step 3 - Copy conf, htdocs and logs from existing main Apache build path (/usr/App/Apa) to
/usr/App/Apa1.
Step 4 - Edit httpd.conf file under /usr/App/Apa1/conf as mentioned in the steps below 
a.       ServerName vs1.apple.com:90
b.       Listen 90
c.       DocumentRoot "/usr/App/Apa1/htdocs"
d.       <Directory "/usr/App/Apa1/htdocs">
e.       ServerRoot "/usr/App/Apa1"
 
Step 5 - Edit httpd-ssl.conf under /usr/App/Apa1/conf/extra as following - 
a.       <VirtualHost _default_:636>
b.       ServerName vs1.apple.com:636
c.       Listen 636
d.       DocumentRoot "/usr/App/Apa1/htdocs"
Repeat step 2 to 5 for any additional virtual servers (/usr/App/Apa2.....n) with different
host/server name, server root and ports
Approach - 2 (Virtual Servers having different IP Address with different hostnames and port
numbers)
Step 1 - Create different virtual host with different IP Address
Step 2 - Follow the steps 2 to 5 in Approach - 1
 
\Vinay

 
----------
Learn more about Chase Paymentech Solutions,LLC payment processing services at www.chasepaymentech.com.

THIS MESSAGE IS CONFIDENTIAL.  This e-mail message and any attachments are proprietary and
confidential information intended only for the use of the recipient(s) named above.  If you
are not the intended recipient, you may not print, distribute, or copy this message or any
attachments.  If you have received this communication in error, please notify the sender by
return e-mail and delete this message and any attachments from your computer.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message