This section is not same across diff releases. Check this note 167194.1 for
complete examples of these
methods. HTH, Rajesh -----Original
Message----- From the httpd.conf
file... ### Section 3: Virtual
Hosts Patrice. -----Original 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. both should be working. HTH, Rajesh -----Original
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----- 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 -----Original
Message----- 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
see the 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. |
Title: Message
- iAS Apache name-based virtual hosting Boivin, Patrice J
- RE: iAS Apache name-based virtual hosting Matthew Zito
- RE: iAS Apache name-based virtual hosting RAJESH DAYAL
- RE: iAS Apache name-based virtual hosting Boivin, Patrice J
- RE: iAS Apache name-based virtual hosting RAJESH DAYAL
- RE: iAS Apache name-based virtual hosting Boivin, Patrice J
- RAJESH DAYAL