Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
tutorials:gopher [2012/01/28 19:29]
memnon
tutorials:gopher [2012/01/28 19:41]
memnon
Line 277: Line 277:
 ==== Caveat ==== ==== Caveat ====
  
-Besides what was said in the last paragraph of the figlet.cgi example, there'​s also another thing to stress. In that example, and in content ​that will be server ​as a virtual directory (or with an itemtype 1or 7), won't be displayed if you access your script via floodgap proxy (and maybe others). In this case you will need to format the output of your script. Luckily this is very easy. For instance, in the figlet.cgi example you will need to modify the echo ... line this way: +Besides what was said in the last paragraph of the figlet.cgi example, there'​s also another thing to stress. In that example ​(as with anything ​that will be served ​as a virtual directory (or with an itemtype 1 or 7), content ​won't be displayed if you access your script via floodgap proxy (and maybe others). In this case you will need to format the output of your script. Luckily this is very easy. For instance, in the figlet.cgi example you will need to modify the echo ... line this way: 
   echo "​i$i<​TAB><​TAB>​error.host<​TAB>​1"​   echo "​i$i<​TAB><​TAB>​error.host<​TAB>​1"​
 where <TAB> is a tab character (you should already know this!) and error.host and 1 are, respectively,​ a fake server and port number (you could also have written fake instead of error.host and 300 instead of 1). where <TAB> is a tab character (you should already know this!) and error.host and 1 are, respectively,​ a fake server and port number (you could also have written fake instead of error.host and 300 instead of 1).