Talk:Host

From Resin 3.0

Jump to: navigation, search

I have a question regarding the <host-alias-regexp> directive. I am trying to find more verbose documentation on the Caucho web page for the syntax of this directive. What is the regular expression syntax for this directive? Does resin allow us to use PCRE or is it more of a globbing syntax? The Caucho changelogs say that this feature was implemented in version 3.0.3, however I am running 3.1.3 and am having difficulties getting this directive to work. Does anyone know if <host-alias> works w/ globbing (like apache's ServerAlias directive)?
To be more specific, I currently have my <host-alias> lines set up accordingly:

<host-alias>example.com</host-alias>
<host-alias>www.example.com</host-alias>
<host-alias>production.example.com</host-alias>

I would like to be able to do something like this:

<host-alias-regexp>.*example\.com</host-alias-regexp>

Does anyone know if this is possible in Resin 3.1.3?

Sdejean1 13:36, 25 January 2008 (CST)

Personal tools