Thanks Tony, that does make sense!
On Thu, Mar 10, 2011 at 10:07 AM, Tony Zakula <[email protected]> wrote: > Hi Dale. > > On Thu, Mar 10, 2011 at 10:02 AM, Dale <[email protected]> wrote: >> Regarding the Redirection Handler, there are two directives (Regular >> Expression and Substitution) for a matching Rule, per: >> >> http://www.cherokee-project.com/doc/modules_handlers_redir.html >> >> I'm trying to figure out what string the RegEx is run against. The >> documentation infers that it is the request, so specifically would it >> be the URI passed by GET in the header? >> >> For example if the URL is >> http://www.example.com/viewcomments?photoid=123 does the regex run >> against: >> >> http://www.example.com/viewcomments?photoid=123 >> -or- >> example.com/viewcomments?photoid=123 >> -or- >> /viewcomments?photoid=123 >> -or- >> ... something else >> >> I'm happy to help clarify the documentation if someone can point me in >> the right direction. Thanks! > > > It is ran against /viewcomments?photoid=123 > > If you look at the example - /(\d+)$ -> > http://example.com/inst/photogallery/viewphoto?photoid=$1 > > That first slash on the left starts after the host and you can > reference the host with {vhost} on the right side. > > Does that make sense? > > TonyZ > _______________________________________________ Cherokee mailing list [email protected] http://lists.octality.com/listinfo/cherokee
