Thank you, Gudule.

Chris
  ----- Original Message ----- 
  From: Gudule Lapointe 
  To: [email protected] 
  Sent: Wednesday, February 29, 2012 8:52 PM
  Subject: Re: [Opensim-users] use of URL conventions in Config-set




  Some background from the "usual" use of http:
  - The trailing slash is "mandatory" for an URL directing to a folder on the 
web server files tree
  - 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
  - However, the "legal" and safe method is to include the trailing slash 
  - for main site address (http://www.example.com/) 
  - subfolders (http://www.example.com/section/)
  While all decent browser will handle correctly the redirect, opensim is based 
of plenty of submodules which may not do it)


  BUT:
  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.
  In this case, the correct and safe method depends to the framework, it may or 
may not include trailing slash.


  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.


  --
  http://www.speculoos.net/
  secondlife://speculoos.net:8002/
  Speculoos, the belgian cookie-flavored metaverse


  Le 1 mars 2012 à 02:32, Justin Clark-Casey a écrit :


    I've no idea about http but I imagine .net will complain if it's not there.

    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.

    On 29/02/12 09:13, Ovi Chris Rouly wrote:

      Hi,



      Can someone tell me:



      1) is an "http://"; a necessary MUST DO at the beginning of all explicit 
URLs

      in the Config set?

      2) similarly, is a "/" (forward slash) a necessary MUST DO at the end of 
all

      explicit URLs in the Config set?



      I've been using a mixed set of http(s) and slash/no-slash in my Config 
URLs

      for well over 3 years now and am just now getting around to asking this

      question.  Is there a standard convention on this?



      Thanks,



      Chris





      _______________________________________________

      Opensim-users mailing list

      [email protected]

      https://lists.berlios.de/mailman/listinfo/opensim-users





    -- 
    Justin Clark-Casey (justincc)
    http://justincc.org/blog
    http://twitter.com/justincc
    _______________________________________________
    Opensim-users mailing list
    [email protected]
    https://lists.berlios.de/mailman/listinfo/opensim-users





------------------------------------------------------------------------------


  _______________________________________________
  Opensim-users mailing list
  [email protected]
  https://lists.berlios.de/mailman/listinfo/opensim-users
_______________________________________________
Opensim-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/opensim-users

Reply via email to