Hi,

Some comments regarding reverse uri mappings.

This is the simplest way of accomplishing the reverse mapping (I'm not
sure if this is correct terminology).

There is additional option for the uri map configuration 'reverse' :

[uri:/examples/*.gif]
info=Extension mapping
reverse=1

All the 'normal' mappings are skipped for such a directive, so first we
will map the /examples context. The second call to the mapUri will check
only the 'reverse' flagged uri mappings. If both are mapped then the
DECLINED is returned, meaning that we mapped the context but don't wish
to map the *.gif files in the context.

The drawback is that we are calling the mapUri twice, first for positive
and then for negative mappings.

Of course this could be accomplished in the single call using regular
expressions, with all the drawbacks using pcre.

MT.


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to