lawrence_Wickli
Jun 27, 2006Nimbostratus
Matchng a specific directory.
Hello all,
I am trying to match a specific directory and redirect apropriately without using regex rules. Here is what I have so far:
if { [string tolower [HTTP::uri]] starts_with "/about_us" } {
pool p_http_aboutus
I need it to ignore case and I need it to be limited to just the first /about_us directory and /about_us/ and not /about_us1 etc.
I have multiple of these to parse so I am considering a class to help but right now I just need to limit it to exactly the directories I need with out the wildcard on the back side.
Any recomendation on how I should approach this?