On 3/2/2011 5:53 PM, Vern Hamberg wrote:

(Maybe the caret is superfluous - I've seen an example of Alias that, of
course, would not have the caret, and that has me wondering.)


Superfluous? With the caret, this will match:

http://host:port/imageserver/whateverelse

Without the caret that'll _still_ match. Maybe that's why you think it's superfluous?

However, without the caret, this would _also_ match (with the caret, it won't):

http://host:port/foo/bar/imageserver/whateverelse

The caret means "at the start". Without the caret, it doesn't matter where "/imageserver/" appears in the URL... it doesn't have to be at the beginning, because Vern didn't use a caret.

Whether that makes the caret "superfluous" depends on what other URLs the site uses, I guess.


The URL for the above could be

http://ourIPaddress:port/imageserver/vernspgm?name=vern&date=11/22/2009

Gosh, I hope you aren't really doing HTTP by IP address. Yuck, spit, blech.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.