• Motsognir server generates bad links?

    From B. P. TBC@21:1/5 to All on Sat Dec 9 03:31:08 2017
    Hi all!

    I tried to make an own Gopher site. I installed the Motsognir server (to an OpenSuSE linux server), and I created this gopherspace file:
    iMy gopher
    1World weather /0/groundhog/obsg?i gopher.floodgap.com 70
    But when I load this site in a browser (I use Netscape Navigator 9 for Gopher sites), the link become modified: gopher://gopher.floodgap.com/1/0/groundhog/obsg?i
    And - naturally - it doesn't work. The server adds an extra "/1" to the link. If I modify the gophermap file to this:
    1World weather /groundhog/obsg?i gopher.floodgap.com 70
    the link become also wrong:
    gopher://gopher.floodgap.com/1/groundhog/obsg?i
    Please help me, what is the mistake, or what is the solution to create a working link in my gopherspace?

    Thanks:
    P.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Mateusz Viste@21:1/5 to B. P. TBC on Sat Dec 9 19:00:27 2017
    On Sat, 09 Dec 2017 03:31:08 -0800, B. P. TBC wrote:
    when I load this site in a browser (I use Netscape Navigator 9 for
    Gopher sites), the link become modified: gopher://gopher.floodgap.com/1/0/groundhog/obsg?i
    And - naturally - it doesn't work. The server adds an extra "/1" to the
    link. If I modify the gophermap file to this:
    1World weather /groundhog/obsg?i gopher.floodgap.com
    70
    the link become also wrong:
    gopher://gopher.floodgap.com/1/groundhog/obsg?i

    Hi, I think you are confused about what a gophermap is supposed to
    contain. The behavior you describe is correct in both cases. Your
    gophermap is simply not reflecting what you try to achieve. Why do you
    indicate a '1' gopher type, if the target document is actually not a
    directory? Your second example was almost correct, you just need to use
    the proper type for your target (in this case '0', for a text file,
    instead of '1', which would be a directory). Try this:

    0World weather /groundhog/obsg?i gopher.floodgap.com
    70

    You might want to read Motsognir's manual for some simple examples. http://sourceforge.net/p/motsognir/code/HEAD/tree/trunk/manual.pdf?
    format=raw

    I hope this helps.

    Mateusz
    --
    gopher://gopher.viste.fr

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)