I have installed the geomyidae gopher server, and I am experiencing some
differences in behaviour between different gopher clients as follows:
Currently, my gopher directory, contains a single welcome.txt file which
contains a single one line greeting message.
If I use Debian iceape, I point the browser at the gopher server address as
follows:
gopher://markhobley.yi.org/
This reveals an index page as follows:
Index of
gopher://markhobley.yi.org/
File:welcome.txt
If I now click on the link File:welcome.txt , the browser jumps to an
address as follows:
gopher://neptune/0/welcome.txt
^
|
Note that a zero has appeared here after the server name.
I get an error on the browser as follows:
400 Bad Request
Your request has bad syntax or is inherently impossible to satisfy.
thttpd/2.25b 29dec2003
I don't know whether that zero should be there, but I tried removing that
component of the address, and the error 400 still occurs.
Something else weird is happening. The host name markhobley.yi.org resolves
to neptune on my network. My /etc/hosts is as follows:
10.0.0.8 markhobley.yi.org markhobley
10.0.0.8 neptune.markhobley.yi.org neptune
If I point the browser at the address
gopher://markhobley.yi.org/ then, as
already mentioned, this resolves to the index page.
If I point the browser to
gopher://neptune/ then I get the 400 Bad Request
error, rather than the gopher index page.
The webserver does not exhibit this problem, and pointing the browser at
either
http://markhobley.yi.org/ or
http://neptune/ gives me the appropriate
web pages.
If I now try the gopher address again, this time with a traditional console
mode gopher client (in this case I am using the Debian package called
"gopher") , then I get the following behaviour:
Connect to a new Gopher Server------------------------+
| |
| Hostname markhobley.yi.org |
| Port 70
I get the index page as I expect:
markhobley.yi.org
--> [1] welcome.txt
I now follow the link, and I get the content of the text file:
welcome.txt (0k) 100%
+------------------------------------------------------------------------------+
Welcome to Mark Hobley's Gopher Server!
So, it looks like the gopher server is working, but something is screwed on
the browser client side.
Does anyone know what is going wrong when I try to view the gopher site
through the browser?
Mark.
--
Mark Hobley
Linux User: #370818
http://markhobley.yi.org/