RE: iAS Apache name-based virtual hosting

2003-07-22 Thread Boivin, Patrice J
Title: Message



I have 
that in place, except that since we are only doing virtual hosting by name, I 
used an asterisk instead of an IP address in the tags.

i.e.
NameVirtualHost *

VirtualHost *
...
/VirtualHost

Patrice.

  -Original Message-From: RAJESH DAYAL 
  [mailto:[EMAIL PROTECTED]Sent: Tuesday, July 22, 2003 2:59 
  AMTo: Multiple recipients of list ORACLE-LSubject: RE: 
  iAS Apache name-based virtual hosting
  
  Hi,
  Did you specify the 
  documentroot in the new virtual-host definition.?
  From documentation the full 
  specs for name based Virtual-Hosting is
  
  NameVirtualHost 144.25.187.172 
  
  
  VirtualHost 144.25.187.172 
  
   DocumentRoot 
  /usr/local/apache/htdocs1 
   ServerName hostname1 
  
   ErrorLog logs/error_log 
  
   CustomLog logs/access_log 
  common 
  /VirtualHost 
  
  HTH,
  Rajesh
  
  
  http://www.gridapp.com 
  
  -Original 
  Message-From: 
  [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Boivin, Patrice 
  JSent: Monday, July 21, 2003 
  2:14 PMTo: Multiple 
  recipients of list ORACLE-LSubject: iAS Apache name-based virtual 
  hosting
  Has anyone managed to 
  make name-based virtual hosting work on Apache bundled into iAS for 
  Win32?
  
  We configured Apache 
  here, but strangely the original hostname still works.
  
  We seethe same
  page whether we type in the virtual hostname or the actual host 
  name.
  
  I would have thought 
  that with a VirtualHost tag, the actual host name would not point to 
  the virtual host's page.
  
  I must have forgotten 
  to do something somewhere...
  
  Patrice.


RE: iAS Apache name-based virtual hosting

2003-07-22 Thread RAJESH DAYAL
Title: Message









I think with name based virtual hosting you have to have a different virtual
server name and diff IP Address (In port based virtual hosting you can have same
host names but can listen on different ports). The server has to be able to
listen on this new address (probably this name/IP resolution can be done at DNS
level). 



Also the apache is supposed to listen on both the server names, so your
old server-name will keep working.



In my case I used MS Cluster administrator to create another virtual IP
address and corresponding virtual host name.



So suppose the original server was configured with name say server11 with
IP address 176.80.0.60, and additional virtual server name server12 with IP 176.80.0.65
was configured. Then the newly created virtual hostname server12 will have
following entry in httpd.conf :



#

NameVirtualHost 176.80.0.65 



VirtualHost 176.80.0.65 


DocumentRoot /usr/local/apache/htdocs1 


ServerName server12 


ErrorLog logs/error_server12_log 


CustomLog logs/access_ server12_log common 

/VirtualHost

##



you should be able to do http to both the servers i.e.



http://server11 

http://server12



both should be working.



HTH,

Rajesh









-Original
Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]On Behalf Of Boivin,
Patrice J
Sent: Tuesday, July 22, 2003 5:24
PM
To: Multiple recipients of list
ORACLE-L
Subject: RE: iAS Apache name-based
virtual hosting



I have that in place,
except that since we are only doing virtual hosting by name, I used an asterisk
instead of an IP address in the tags.



i.e.

NameVirtualHost *



VirtualHost *

...

/VirtualHost



Patrice.

-Original Message-
From: RAJESH DAYAL
[mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 22, 2003 2:59
AM
To: Multiple recipients of list
ORACLE-L
Subject: RE: iAS Apache name-based
virtual hosting

Hi,

Did you specify the documentroot in the new
virtual-host definition.?

From documentation the full specs for name
based Virtual-Hosting is



NameVirtualHost 144.25.187.172 



VirtualHost 144.25.187.172 


DocumentRoot /usr/local/apache/htdocs1 


ServerName hostname1 

 ErrorLog
logs/error_log 

 CustomLog
logs/access_log common 

/VirtualHost 



HTH,

Rajesh






http://www.gridapp.com 



-Original
Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Boivin,
Patrice J
Sent: Monday, July 21, 2003 2:14
PM
To: Multiple recipients of list
ORACLE-L
Subject: iAS Apache name-based
virtual hosting

Has
anyone managed to make name-based virtual hosting work on Apache bundled into
iAS for Win32?



We
configured Apache here, but strangely the original hostname still works.



We
seethe same page whether we type in the virtual hostname or the actual
host name.



I would
have thought that with a VirtualHost tag, the actual host name would
not point to the virtual host's page.



I must
have forgotten to do something somewhere...



Patrice.










RE: iAS Apache name-based virtual hosting

2003-07-22 Thread Boivin, Patrice J
Title: Message



From 
the httpd.conf file...

### 
Section 3: Virtual Hosts## VirtualHost: If you want to maintain multiple 
domains/hostnames on your# machine you can setup VirtualHost containers for 
them. Most configurations# use only name-based virtual hosts so the server 
doesn't need to worry about# IP addresses. This is indicated by the 
asterisks in the directives below.#

Patrice.

  -Original Message-From: RAJESH DAYAL 
  [mailto:[EMAIL PROTECTED]Sent: Tuesday, July 22, 2003 11:09 
  AMTo: Multiple recipients of list ORACLE-LSubject: RE: 
  iAS Apache name-based virtual hosting
  
  I 
  think with name based virtual hosting you have to have a different virtual 
  server name and diff IP Address (In port based virtual hosting you can have 
  same host names but can listen on different ports). The server has to be able 
  to listen on this new address (probably this name/IP resolution can be done at 
  DNS level). 
  
  Also 
  the apache is supposed to listen on both the server names, so your old 
  server-name will keep working.
  
  In my 
  case I used MS Cluster administrator to create another virtual IP address and 
  corresponding virtual host name.
  
  So 
  suppose the original server was configured with name say server11 with IP 
  address 176.80.0.60, and additional virtual server name server12 with IP 
  176.80.0.65 was configured. Then the newly created virtual hostname server12 
  will have following entry in httpd.conf 
  :
  
  #
  NameVirtualHost 176.80.0.65 
  
  
  VirtualHost 176.80.0.65 
  
   DocumentRoot 
  /usr/local/apache/htdocs1 
   ServerName server12 
  
   ErrorLog 
  logs/error_server12_log 
   CustomLog logs/access_ 
  server12_log common 
  /VirtualHost
  ##
  
  you 
  should be able to do http to both the servers 
  i.e.
  
  http://server11 
  
  http://server12
  
  both 
  should be working.
  
  HTH,
  Rajesh
  
  
  
  
  -Original 
  Message-From: 
  [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Boivin, Patrice 
  JSent: Tuesday, July 22, 
  2003 5:24 PMTo: Multiple 
  recipients of list ORACLE-LSubject: RE: iAS Apache name-based 
  virtual hosting
  
  I have 
  that in place, except that since we are only doing virtual hosting by name, I 
  used an asterisk instead of an IP address in the tags.
  
  i.e.
  NameVirtualHost 
  *
  
  VirtualHost 
  *
  ...
  /VirtualHost
  
  Patrice.
  -Original 
  Message-From: RAJESH 
  DAYAL [mailto:[EMAIL PROTECTED]Sent: Tuesday, July 22, 2003 2:59 
  AMTo: Multiple recipients of 
  list ORACLE-LSubject: RE: 
  iAS Apache name-based virtual hosting
  Hi,
  Did you specify the 
  documentroot in the new virtual-host definition.?
  From documentation the full 
  specs for name based Virtual-Hosting is
  
  NameVirtualHost 144.25.187.172 
  
  
  VirtualHost 144.25.187.172 
  
   DocumentRoot 
  /usr/local/apache/htdocs1 
   ServerName hostname1 
  
   ErrorLog logs/error_log 
  
   CustomLog logs/access_log 
  common 
  /VirtualHost 
  
  HTH,
  Rajesh
  
  
  http://www.gridapp.com 
  
  -Original 
  Message-From: 
  [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Boivin, Patrice 
  JSent: Monday, July 21, 2003 
  2:14 PMTo: Multiple 
  recipients of list ORACLE-LSubject: iAS Apache name-based virtual 
  hosting
  Has anyone managed to 
  make name-based virtual hosting work on Apache bundled into iAS for 
  Win32?
  
  We configured Apache 
  here, but strangely the original hostname still works.
  
  We seethe same 
  page whether we type in the virtual hostname or the actual host 
  name.
  
  I would have thought 
  that with a VirtualHost tag, the actual host name would not point to 
  the virtual host's page.
  
  I must have forgotten 
  to do something somewhere...
  
  Patrice.


RE: iAS Apache name-based virtual hosting

2003-07-22 Thread RAJESH DAYAL
Title: Message









This section is not same across diff releases. 



Check this note 167194.1 for
complete examples of these
methods.



HTH,

Rajesh



-Original
Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]On Behalf Of Boivin,
Patrice J
Sent: Tuesday, July 22, 2003 6:30
PM
To: Multiple recipients of list
ORACLE-L
Subject: RE: iAS Apache name-based
virtual hosting



From the httpd.conf
file...



### Section 3: Virtual
Hosts
#
# VirtualHost: If you want to maintain multiple domains/hostnames on your
# machine you can setup VirtualHost containers for them. Most configurations
# use only name-based virtual hosts so the server doesn't need to worry about
# IP addresses. This is indicated by the asterisks in the directives below.
#



Patrice.

-Original Message-
From: RAJESH DAYAL
[mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 22, 2003 11:09
AM
To: Multiple recipients of list
ORACLE-L
Subject: RE: iAS Apache name-based
virtual hosting

I think with name based virtual hosting you have to
have a different virtual server name and diff IP Address (In port based virtual
hosting you can have same host names but can listen on different ports). The
server has to be able to listen on this new address (probably this name/IP
resolution can be done at DNS level). 



Also the apache is supposed to listen on both the
server names, so your old server-name will keep working.



In my case I used MS Cluster administrator to create
another virtual IP address and corresponding virtual host name.



So suppose the original server was configured with
name say server11 with IP address 176.80.0.60, and additional virtual server
name server12 with IP 176.80.0.65 was configured. Then the newly created
virtual hostname server12 will have following entry in httpd.conf :



#

NameVirtualHost 176.80.0.65 



VirtualHost 176.80.0.65 


DocumentRoot /usr/local/apache/htdocs1 


ServerName server12 


ErrorLog logs/error_server12_log 


CustomLog logs/access_ server12_log common 

/VirtualHost

##



you should be able to do http to both the servers
i.e.



http://server11 

http://server12



both should be working.



HTH,

Rajesh









-Original
Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]On Behalf Of Boivin,
Patrice J
Sent: Tuesday, July 22, 2003 5:24
PM
To: Multiple recipients of list
ORACLE-L
Subject: RE: iAS Apache name-based
virtual hosting



I have
that in place, except that since we are only doing virtual hosting by name, I
used an asterisk instead of an IP address in the tags.



i.e.

NameVirtualHost
*



VirtualHost
*

...

/VirtualHost



Patrice.

-Original Message-
From: RAJESH DAYAL
[mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 22, 2003 2:59
AM
To: Multiple recipients of list
ORACLE-L
Subject: RE: iAS Apache name-based
virtual hosting

Hi,

Did you specify the documentroot in the new
virtual-host definition.?

From documentation the full specs for name
based Virtual-Hosting is



NameVirtualHost 144.25.187.172 



VirtualHost 144.25.187.172 


DocumentRoot /usr/local/apache/htdocs1 

 ServerName
hostname1 

 ErrorLog
logs/error_log 

 CustomLog
logs/access_log common 

/VirtualHost 



HTH,

Rajesh






http://www.gridapp.com 



-Original
Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Boivin, Patrice J
Sent: Monday, July 21, 2003 2:14
PM
To: Multiple recipients of list
ORACLE-L
Subject: iAS Apache name-based
virtual hosting

Has
anyone managed to make name-based virtual hosting work on Apache bundled into
iAS for Win32?



We
configured Apache here, but strangely the original hostname still works.



We
seethe same page whether we type in the virtual hostname or the actual
host name.



I would
have thought that with a VirtualHost tag, the actual host name would
not point to the virtual host's page.



I must
have forgotten to do something somewhere...



Patrice.










RE: iAS Apache name-based virtual hosting

2003-07-21 Thread Matthew Zito
Title: Message




Did 
you add a NameVirtualHost (ip address) entry to your config file? 
Otherwise it won't enable name-based vhosting for a particular 
IP.

Matt

--Matthew ZitoGridApp SystemsEmail: 
[EMAIL PROTECTED]Cell: 646-220-3551Phone: 212-358-8211 x 359http://www.gridapp.com 

  
  -Original Message-From: 
  [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of 
  Boivin, Patrice JSent: Monday, July 21, 2003 2:14 
  PMTo: Multiple recipients of list ORACLE-LSubject: iAS 
  Apache name-based virtual hosting
  Has anyone managed to make name-based 
  virtual hosting work on Apache bundled into iAS for 
  Win32?
  
  We configured Apache here, but strangely 
  the original hostname still works.
  
  We seethe same page whether we 
  type in the virtual hostname or the actual host 
  name.
  
  I would have thought that with a 
  VirtualHost tag, the actual host name would not point to the virtual 
  host's page.
  
  I must have forgotten to do something 
  somewhere...
  
  Patrice.


RE: iAS Apache name-based virtual hosting

2003-07-21 Thread RAJESH DAYAL
Title: Message









Hi,

Did you specify the documentroot in the new
virtual-host definition.?

From documentation the full specs for name
based Virtual-Hosting is



NameVirtualHost 144.25.187.172 



VirtualHost 144.25.187.172 


DocumentRoot /usr/local/apache/htdocs1 


ServerName hostname1 

 ErrorLog
logs/error_log 

 CustomLog
logs/access_log common 

/VirtualHost 



HTH,

Rajesh






http://www.gridapp.com 



-Original
Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Boivin,
Patrice J
Sent: Monday, July 21, 2003 2:14
PM
To: Multiple recipients of list
ORACLE-L
Subject: iAS Apache name-based
virtual hosting

Has
anyone managed to make name-based virtual hosting work on Apache bundled into
iAS for Win32?



We
configured Apache here, but strangely the original hostname still works.



We
seethe same page whether we type in the virtual hostname or the actual
host name.



I would
have thought that with a VirtualHost tag, the actual host name would
not point to the virtual host's page.



I must
have forgotten to do something somewhere...



Patrice.