This page will demonstrate various features of the Skypoint WWW server. To see the code that makes up this page, execute the following Unix command:
view /var/spool/www/www/index.shtmlIf you don't want to login to unix, ftp to ftp.skypoint.com, login with your Skypoint login id, and execute the following ftp commands:
cd /var/spool/www/www get index.shtml index.www quitThe file index.www will be a copy of this HTML file.
Hit counter instructions:
1) Execute the following Unix commands from your home directory:
cd www mv ./index.html ./index.shtml touch ./access_count chmod 777 ./access_count2) Put this line in index.shtml:
<!--#exec cmd="/usr/local/bin/counter.pl" -->May God help us.
Setup information:
This is how it works. You call the program imagemap in cgi-bin, and pass it the name of a label in the file imagemap.conf. The label in imagemap.conf points to a map file. The information in the map file controls what co-ordinates of the image perform what action.
The following is in index.html. The file immap.gif is the GIF file that is displayed:
<A HREF="/cgi-bin/imagemap/www-map"><IMG SRC="immap.gif" ISMAP></A>The following entry is from /usr/local/web/prod/imagemap.conf:
www-map : /var/spool/www/www/wwwmapThe following is what the file /var/spool/www/www/wwwmap looks like:
rect /members/www/a.html 50,52 135,208 rect /members/www/b.html 150,52 231,208 rect http://www.microsoft.com/ 241,52 371,208