URL question

John Abreau jabr at blu.org
Fri Jul 2 20:43:01 EDT 2004


On Fri, 2004-07-02 at 18:09, Eric wrote:

> Hi.  What are the guidelines for writing a URL?  I looked around but
> pages like this, http://www.computerhope.com/jargon/u/url.htm
> tell me little.
> 
> Like, say I want to access a repository from the net, where do I put the
> port, or where do I put the path, etc.
> 
> svn://caffeinated.homelinux.net:3690

I believe the generic format is 

    service://user:password@hostname:port/path/to/resource?options

where for http, the "options" are of the form 

    param1=value1&param2=value2 

I dug around on google, and found that rfc1738 defines the syntax of 
URLs. You can find this rfc at 

    http://www.faqs.org/rfcs/rfc1738.html

-- 
John Abreau / Executive Director, Boston Linux & Unix
Email jabr at blu.org / WWW http://www.abreau.net / PGP-Key-ID 0xD5C7B5D9
PGP-Key-Fingerprint 72 FB 39 4F 3C 3B D6 5B E0 C8 5A 6E F1 2C BE 99

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 307 bytes
Desc: This is a digitally signed message part
URL: <http://lists.blu.org/pipermail/discuss/attachments/20040702/59fb0ae0/attachment.sig>


More information about the Discuss mailing list