Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

URL question



Eric asks:
|
| 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
|
| Now if I had to specify a path, where does it go, after the port?
|
| svn checkout
| svn://caffeinated.homelinux.net:3690/home/secretsvn/lookHere cpp
|
| Thanks for any tips/links/etc.


You pretty much got it exactly right.  The order is:

http://host.dom.ain:port/path/to/file

There's more, of course.  For an html file, you might see #foo  after
the file part, which tells the browser to go to the point in the text
labelled with <a name="foo">.  If the URL invokes a program (CGI)  on
the  server  machine,  you  might  see  '?'  followed  by  a  list of
parameters.  But those are just further details to  what  has  turned
into a rather complicated bit of syntax.






BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org