I've been doing this a while now, so I'm not sure what I've overlooked to cause 
this behavior. I'm migrating my server from 4.0.20 on one host to a new host on 
4.0.23. I'm coping parts of the resin.xml file in chunks, verifying each host 
as I go. The first went smoothly, as did the second. When I added the third, it 
seems to work, but it serves up pages from the second. Here are the relevant 
bits:

<host host-name="latencyzero.com" root-directory="/lz/var/www/com/latencyzero">
        <host-alias-regexp>tycho.latencyzero.com[\.]?</host-alias-regexp>       
                
        <host-alias-regexp>(www\.)?latencyzero.com[\.]?</host-alias-regexp>     
                
        <web-app id="/" document-directory="www">
<//>


<host host-name="roderickmann.org" 
root-directory="/lz/var/www/org/roderickmann">
        <host-alias-regexp>(www\.)?roderickmann.org[\.]?</host-alias-regexp>    
                
        <host-alias-regexp>(www\.)?rickmann.org[\.]?</host-alias-regexp>        
                
        <web-app id="/" document-directory="www">
<//>

<host host-name="mgfb.roderickmann.org" 
root-directory="/lz/var/www/org/roderickmann">
        <host-alias-regexp>mgfb\.roderickmann.org[\.]?</host-alias-regexp>      
                
        <host-alias-regexp>blog\.roderickmann.org[\.]?</host-alias-regexp>      
                
        <web-app id="/" document-directory="mgfb">
<//>


Browsing to "http://latencyzero.com/"; gets the first content correctly. 
Browsing to "http://roderickmann.org/"; gets the second content correctly. 
Browsing to "http://mgfb.roderickmann.org/";, however, returns the content from 
the second webapp.

Any ideas? Thanks!

-- 
Rick



_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to