I have a number of name-based virtual hosts set up in apache config
and server.xml.  These work without issue, but I used to have (before
migrating to Open BlueDragon) a "catchall" virtual host on port 8081.

eg.

Virtual Hosts for:
/mnt/data/www/www.mysite.co.uk
/mnt/data/www/www.othersite.co.uk

Catchall "dev" url (192.168.1.101:8081) for:
/mnt/data/www/

OK, that's now the Apache Tomcat page, but have tried to create one on
port 8082, but I've got another Apache Tomcat page!

I thought this might do the trick:

Server.XML:

    <Host name="192.168.1.101:8082" appBase="webapps"
          unpackWARs="true" autoDeploy="true"
          xmlValidation="false" xmlNamespaceAware="false">
          <Context path="" docBase="/mnt/data/www/" />
          <Alias>192.168.1.101:8082</Alias>
    </Host>

Apache sites-available:

Listen 8082
<VirtualHost 192.168.1.101:8082>
  DocumentRoot "/mnt/data/www"
</VirtualHost>

Any ideas how I would achieve this?

Thanks

-- 
Open BlueDragon Public Mailing List
 http://www.openbluedragon.org/   http://twitter.com/OpenBlueDragon
 mailing list - http://groups.google.com/group/openbd?hl=en

 !! save a network - please trim replies before posting !!

To unsubscribe from this group, send email to 
openbd+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.

Reply via email to