I implemented this but it doesn't works !! :/<br><br>you can check it, it's on-line...<br><br>:/<br><br><div class="gmail_quote">2012/5/3 Cameron Kaiser <span dir="ltr"><<a href="mailto:spectre@floodgap.com" target="_blank">spectre@floodgap.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">> I don't know how to implement this hack... ^^<br>
> I'm staying close to rfc 1436.<br>
<br>
</div>This is the disambiguator in Bucktooth:<br>
<br>
($orq, $gplus) = split($TAB, $grequest, 2);<br>
$orq =~ s/%3[fF]/\?/g;<br>
if (length($gplus) && $gplus !~ /^[\$\+\!]/) {<br>
# not a real gopher plus request<br>
$orq = $grequest;<br>
undef $gplus;<br>
}<br>
if ($gplus eq '$') { # this is for UMN gopher<br>
$j = <<"EOF";<br>
+-1<br>
+INFO: 1Main menu (non-gopher+) $MYHOST $MYPORT<br>
+ADMIN:<br>
Admin: Server Administrator<br>
Server: $SERVER<br>
+VIEWS:<br>
application/gopher+-menu: <512b><br>
+ABSTRACT:<br>
This gopher supports standard gopher access only. Use this<br>
kludge to disable gopher+ client requests by your client.<br>
.<br>
EOF<br>
$j =~ s/\n/\r\n/sg;<br>
print STDOUT $j;<br>
&log("\"$orq\" <$gplus> [300 \"\" forced g+ redirect]");<br>
exit;<br>
}<br>
<br>
$grequest is a line read from stdin. It's a pretty reliable hack and has been<br>
in Bucktooth since the very beginning.<br>
<div class="im"><br>
--<br>
------------------------------------ personal: <a href="http://www.cameronkaiser.com/" target="_blank">http://www.cameronkaiser.com/</a> --<br>
Cameron Kaiser * Floodgap Systems * <a href="http://www.floodgap.com" target="_blank">www.floodgap.com</a> * <a href="mailto:ckaiser@floodgap.com">ckaiser@floodgap.com</a><br>
</div>-- "Now you're playing with POWER!" -------------------------------------------<br>
<div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
Gopher-Project mailing list<br>
<a href="mailto:Gopher-Project@lists.alioth.debian.org">Gopher-Project@lists.alioth.debian.org</a><br>
<a href="http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/gopher-project" target="_blank">http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/gopher-project</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Damien CAROL<br>
<a href="gopher://dams.zapto.org/1/" target="_blank">gopher://dams.zapto.org/1/</a><br>