Forum Discussion
hooleylist
May 13, 2010Cirrostratus
Hi Peter,
Nice work; that looks like a good start. One small thing: do you want to prepend /aaa or /bbb to all URIs, or just if the requested URI is /?
For the former, you could use something like this:
if {not ([HTTP::path] starts_with "/aaa")}{
HTTP::path "/aaa[HTTP::path]"
}
And for the latter:
if {[HTTP::path] eq "/"}{
HTTP::path "/aaa[HTTP::path]"
}
Aaron