Hi,

tomcat 3.2.1, mod_jk, apach 1.3.12-2

How do I get this to work (httpd.cnf):

<VirtualHost 203.98.94.46>                      
        ServerName www.icconsulting.com.au      
        ServerAlias w3    w3.icconsulting.com.au    www    icconsulting.com.au
        DocumentRoot /home/httpd/ic/            
</VirtualHost>                                  

Do I have to do a <host></host> for each alias? ( I have some hosts with about a dozen names)

This works fine in apache, this is what I have in server.xml:

<Host name="www.icconsulting.com.au">                                  
<Context path="" docBase="/home/httpd/ic" debug="0" reloadable="true" >
</Context>                                                            
</Host>                                      
                         
<Host name="icconsulting.com.au">                                      
<Context path="" docBase="/home/httpd/ic" debug="0" reloadable="true" >
</Context>                                                            
</Host>                                                                

do I just have to keep repeating these?

Thanx
Scott

Reply via email to