Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0002813 [Resin] minor always 07-02-08 09:33 08-07-08 19:17
Reporter ferg View Status public  
Assigned To ferg
Priority high Resolution fixed  
Status closed   Product Version
Summary 0002813: host/regexp priority with host-alias
Description (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?

Additional Information
Attached Files

- Relationships

- Notes
(0003307)
ferg
08-07-08 19:17

server/1f3{6,7,8}
 

- Issue History
Date Modified Username Field Change
07-02-08 09:33 ferg New Issue
08-07-08 19:17 ferg Note Added: 0003307
08-07-08 19:17 ferg Assigned To  => ferg
08-07-08 19:17 ferg Status new => closed
08-07-08 19:17 ferg Resolution open => fixed
08-07-08 19:17 ferg Fixed in Version  => 3.2.1


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
28 total queries executed.
25 unique queries executed.
Powered by Mantis Bugtracker