Finally realized to move the URL pattern into the other
Service block that points to the back end, and then put the Service
block that does the redirect after that so that anything that falls
through redirects. So, now this works exactly like I want, redirecting
all requests not in the 'secure' directory back to HTTP, while
maintaining the rest of their path.

That's a good technique, and I'm glad you got it sorted out. This is a larger issue though - pound doesn't have a negation operator on its regular expressions. For instance in perl you could do:

! $foo =~ /bar/
or
$foo !~ /bar/

equivalently. Writing a "positive" regexp for a negative meaning turns out to be a very annoying problem. I guess you could do it as:

$foo =~ /[^b][^a][^r]/

but for more complex matches the increase in complexity is disheartening.

Regards,
--
Dave Steinberg
http://www.geekisp.com/
http://www.steinbergcomputing.com/

--
To unsubscribe send an email with subject unsubscribe to [EMAIL PROTECTED]
Please contact [EMAIL PROTECTED] for questions.

Reply via email to