<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1649" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY
style="WORD-WRAP: break-word; webkit-nbsp-mode: space; webkit-line-break: after-white-space"
bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Thank you, Gudule.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Chris</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=gudule@spekuloos.be href="mailto:gudule@spekuloos.be">Gudule
Lapointe</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=opensim-users@lists.berlios.de
href="mailto:opensim-users@lists.berlios.de">opensim-users@lists.berlios.de</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, February 29, 2012 8:52
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Opensim-users] use of URL
conventions in Config-set</DIV>
<DIV><BR></DIV>
<DIV><BR></DIV>
<DIV>Some background from the "usual" use of http:</DIV>
<DIV><SPAN class=Apple-tab-span style="WHITE-SPACE: pre"></SPAN>- The
trailing slash is "mandatory" for an URL directing to a folder on the web
server files tree</DIV>
<DIV><SPAN class=Apple-tab-span style="WHITE-SPACE: pre"></SPAN>- It generally
doesn't hurt to skip it: if you don't type it in a browser, most (all?)
servers will actually force the browser to redirect to the URL including
trailing slash</DIV>
<DIV><SPAN class=Apple-tab-span style="WHITE-SPACE: pre"></SPAN>- However, the
"legal" and safe method is to include the trailing slash </DIV>
<DIV><SPAN class=Apple-tab-span style="WHITE-SPACE: pre"></SPAN>- for
main site address (<A
href="http://www.example.com/">http://www.example.com/</A>) </DIV>
<DIV><SPAN class=Apple-tab-span
style="WHITE-SPACE: pre"></SPAN>- subfolders (<A
href="http://www.example.com/section/">http://www.example.com/section/</A>)</DIV>
<DIV><SPAN class=Apple-tab-span style="WHITE-SPACE: pre"></SPAN>While all
decent browser will handle correctly the redirect, opensim is based of plenty
of submodules which may not do it)</DIV>
<DIV><BR></DIV>
<DIV>BUT:</DIV>
<DIV><SPAN class=Apple-tab-span style="WHITE-SPACE: pre"></SPAN>Some
frameworks (including those used in some solutions made for OpenSim) make use
of RewriteRules, and in some case urls do look like "folder type" url
while they aren't.</DIV>
<DIV><SPAN class=Apple-tab-span style="WHITE-SPACE: pre"></SPAN>In this case,
the correct and safe method depends to the framework, it may or may not
include trailing slash.</DIV>
<DIV><BR></DIV>
<DIV>In most cases, if you type the URL without slash in your browser and the
slash is happened automatically, you will consider it is needed.</DIV>
<DIV><BR></DIV>
<DIV>--</DIV>
<DIV>
<DIV apple-content-edited="true"><SPAN class=Apple-style-span
style="WORD-SPACING: 0px; FONT: medium Helvetica; TEXT-TRANSFORM: none; COLOR: rgb(0,0,0); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BORDER-COLLAPSE: separate; orphans: 2; widows: 2; webkit-border-horizontal-spacing: 0px; webkit-border-vertical-spacing: 0px; webkit-text-decorations-in-effect: none; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><SPAN
class=Apple-style-span
style="WORD-SPACING: 0px; FONT: medium Helvetica; TEXT-TRANSFORM: none; COLOR: rgb(0,0,0); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BORDER-COLLAPSE: separate; orphans: 2; widows: 2; webkit-border-horizontal-spacing: 0px; webkit-border-vertical-spacing: 0px; webkit-text-decorations-in-effect: none; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px">
<DIV
style="WORD-WRAP: break-word; webkit-nbsp-mode: space; webkit-line-break: after-white-space"><SPAN
class=Apple-style-span
style="WORD-SPACING: 0px; FONT: medium Helvetica; TEXT-TRANSFORM: none; COLOR: rgb(0,0,0); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BORDER-COLLAPSE: separate; orphans: 2; widows: 2; webkit-border-horizontal-spacing: 0px; webkit-border-vertical-spacing: 0px; webkit-text-decorations-in-effect: none; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px">
<DIV
style="WORD-WRAP: break-word; webkit-nbsp-mode: space; webkit-line-break: after-white-space"><SPAN
class=Apple-style-span
style="WORD-SPACING: 0px; FONT: medium Helvetica; TEXT-TRANSFORM: none; COLOR: rgb(0,0,0); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BORDER-COLLAPSE: separate; orphans: 2; widows: 2; webkit-border-horizontal-spacing: 0px; webkit-border-vertical-spacing: 0px; webkit-text-decorations-in-effect: none; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px">
<DIV
style="WORD-WRAP: break-word; webkit-nbsp-mode: space; webkit-line-break: after-white-space"><SPAN
class=Apple-style-span
style="WORD-SPACING: 0px; FONT: medium Helvetica; TEXT-TRANSFORM: none; COLOR: rgb(0,0,0); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BORDER-COLLAPSE: separate; orphans: 2; widows: 2; webkit-border-horizontal-spacing: 0px; webkit-border-vertical-spacing: 0px; webkit-text-decorations-in-effect: none; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px">
<DIV
style="WORD-WRAP: break-word; webkit-nbsp-mode: space; webkit-line-break: after-white-space"><SPAN
class=Apple-style-span
style="WORD-SPACING: 0px; FONT: medium Helvetica; TEXT-TRANSFORM: none; COLOR: rgb(0,0,0); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BORDER-COLLAPSE: separate; orphans: 2; widows: 2; webkit-border-horizontal-spacing: 0px; webkit-border-vertical-spacing: 0px; webkit-text-decorations-in-effect: none; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px">
<DIV
style="WORD-WRAP: break-word; webkit-nbsp-mode: space; webkit-line-break: after-white-space">
<DIV><A href="http://www.speculoos.net/">http://www.speculoos.net/</A></DIV>
<DIV><A
href="secondlife://speculoos.net:8002/">secondlife://speculoos.net:8002/</A></DIV>
<DIV>Speculoos, the belgian cookie-flavored
metaverse</DIV></DIV></SPAN></DIV></SPAN></DIV></SPAN></DIV></SPAN></DIV></SPAN></SPAN></DIV><BR>
<DIV>
<DIV>Le 1 mars 2012 à 02:32, Justin Clark-Casey a écrit :</DIV><BR
class=Apple-interchange-newline>
<BLOCKQUOTE type="cite">
<DIV>I've no idea about http but I imagine .net will complain if it's not
there.<BR><BR>As for slashes, the urls in example files do not have /
terminated urls, as far as I can see, so I would leave them off.<BR><BR>On
29/02/12 09:13, Ovi Chris Rouly wrote:<BR>
<BLOCKQUOTE type="cite">Hi,<BR></BLOCKQUOTE>
<BLOCKQUOTE type="cite"><BR></BLOCKQUOTE>
<BLOCKQUOTE type="cite">Can someone tell me:<BR></BLOCKQUOTE>
<BLOCKQUOTE type="cite"><BR></BLOCKQUOTE>
<BLOCKQUOTE type="cite">1) is an "http://" a necessary MUST DO at the
beginning of all explicit URLs<BR></BLOCKQUOTE>
<BLOCKQUOTE type="cite">in the Config set?<BR></BLOCKQUOTE>
<BLOCKQUOTE type="cite">2) similarly, is a "/" (forward slash) a necessary
MUST DO at the end of all<BR></BLOCKQUOTE>
<BLOCKQUOTE type="cite">explicit URLs in the Config set?<BR></BLOCKQUOTE>
<BLOCKQUOTE type="cite"><BR></BLOCKQUOTE>
<BLOCKQUOTE type="cite">I've been using a mixed set of http(s) and
slash/no-slash in my Config URLs<BR></BLOCKQUOTE>
<BLOCKQUOTE type="cite">for well over 3 years now and am just now getting
around to asking this<BR></BLOCKQUOTE>
<BLOCKQUOTE type="cite">question. Is there a standard convention on
this?<BR></BLOCKQUOTE>
<BLOCKQUOTE type="cite"><BR></BLOCKQUOTE>
<BLOCKQUOTE type="cite">Thanks,<BR></BLOCKQUOTE>
<BLOCKQUOTE type="cite"><BR></BLOCKQUOTE>
<BLOCKQUOTE type="cite">Chris<BR></BLOCKQUOTE>
<BLOCKQUOTE type="cite"><BR></BLOCKQUOTE>
<BLOCKQUOTE type="cite"><BR></BLOCKQUOTE>
<BLOCKQUOTE
type="cite">_______________________________________________<BR></BLOCKQUOTE>
<BLOCKQUOTE type="cite">Opensim-users mailing list<BR></BLOCKQUOTE>
<BLOCKQUOTE type="cite"><A
href="mailto:Opensim-users@lists.berlios.de">Opensim-users@lists.berlios.de</A><BR></BLOCKQUOTE>
<BLOCKQUOTE type="cite"><A
href="https://lists.berlios.de/mailman/listinfo/opensim-users">https://lists.berlios.de/mailman/listinfo/opensim-users</A><BR></BLOCKQUOTE>
<BLOCKQUOTE type="cite"><BR></BLOCKQUOTE><BR><BR>-- <BR>Justin Clark-Casey
(justincc)<BR><A
href="http://justincc.org/blog">http://justincc.org/blog</A><BR>http://twitter.com/justincc<BR>_______________________________________________<BR>Opensim-users
mailing
list<BR>Opensim-users@lists.berlios.de<BR>https://lists.berlios.de/mailman/listinfo/opensim-users<BR></DIV></BLOCKQUOTE></DIV><BR></DIV>
<P>
<HR>
<P></P>_______________________________________________<BR>Opensim-users
mailing
list<BR>Opensim-users@lists.berlios.de<BR>https://lists.berlios.de/mailman/listinfo/opensim-users<BR></BLOCKQUOTE></BODY></HTML>