An HTTP URL has this format: http://host:port/path?args
Foxy URL patterns deal only with the host and path parts (future releases may handle arguments).
Rules:
| Pattern (equivalent) | Matches | Does not match |
|
* / */* |
Matches anything | |
|
site.com site.com/ site.com/* |
site.com www.site.com www.site.com/images/logo.gif |
www.mysite.com www.site.org |
|
.site.com |
www.site.com images.site.com |
site.com |
|
/dir */dir |
anything.org/dir www.foobar.com/dir/file.html |
anything.org/directory www.foobar.com/dir2/file.html |
See also RFC 1738 - Uniform Resource Locators.