<document>
<s1>
<s2>
<example> <resin> ... <server> ... <host id='www.foobar.com, foobar.com' app-dir='foobar/docs'> <web-app id='/'> <servlet-mapping url-pattern='/servlets/*' servlet-name='invoker'/> </web-app> </host> <host regexp='([^.]*).users.com' app-dir='/home/$1/public_html'> ... </host> </server> </resin> </example> <note>Only the Resin Java process understands regexps. Because mod_caucho, isapi_srun and the other web server plugins don't understand the regexps, you may need to do additional work to make the web server send the request to Resin.</note>
</s2>
</s1>
</document>