Mantis - Resin
Viewing Issue Advanced Details
2813 minor always 07-30-08 09:33 08-07-08 19:17
ferg  
ferg  
high  
closed  
fixed  
none    
none 3.2.1  
0002813: host/regexp priority with host-alias
(rep by Shane Cruz)


Would a host-alias for a specific host ID match before the regexp host? For example, assume this configuration:
 
<host id=?myhost.com?>
     <host-name>myhost.com</host-name>
     <host-alias>alias.myhost.com</host-alias>
     ?
</host>
 
<host regexp="([wW]{3}\.)?(.+)\:[0-9]+">
<host-name>${host.regexp[2]}</host-name>
?
</host>
 
Our testing is showing that the regexp is actually matching when the virtual host is alias.myhost.com. Do we need to give each alias its own host block in order for it to match before the regexp hosts?


Notes
(0003307)
ferg   
08-07-08 19:17   
server/1f3{6,7,8}