Kinda.
Posted by Gremlin on 29 January 2000 at 06:15:01:
In Reply to: Der, I think it's broke Grem. posted by The Imp on 29 January 2000 at 00:08:13:
The problem is a limitation in the PERL. The script assumes that the board and the script will be in the same place on the server--or at the same levels, anyway. Since the script is at gremlin.net/cgi-bin/script.pl, and the board is at gremlin.net/cgi-data/board/year/month/index.html, the steps involved don't match up.
It's fine with relative links. An image can source to ../../../../whatever/image.jpeg, and it'll show up in the cgi-bin even though the cgi-bin is less than four generations from the top level--because you can't go above the top level, so the extra ../s are cancelled out.
With static URLs, there's a problem: the script wants the URL to be exactly X steps from the code. It used to be set up at two steps, so the script knew where it was; I changed it over to four steps, so the computer knew where it was. The advantage is that it's a lot faster and less problematic from the main board, where most people will see the message. Unfortunately, it's harder for the computer to find the board from the script now.
The simple solution is to stash the script into cgi-bin/something/somethingelse/somethingelseagain/script.pl, but then I'd have to fix everything I just fixed. Even simpler: hit the BACK button after posting.
Until now, I never realised people were actually clicking on the HREF to return to the board. That would involve a mouse. Mice are not our friends. ALT-LeftArrow and ALT-G are our friends. Or, if you have iBrowse, just stab the B key.
--Gremlin