diff --git a/www/Makefile b/www/Makefile index 416564af..743d4b3b 100644 --- a/www/Makefile +++ b/www/Makefile @@ -2,13 +2,14 @@ # This file is part of REMIND. # Copyright (C) 1992-1997 by David F. Skoll -# $Id: Makefile,v 1.1 1997-01-16 04:00:26 dfs Exp $ +# $Id: Makefile,v 1.2 1997-01-16 04:05:31 dfs Exp $ # The complete name of your www host. Example: www.mycompany.com WWWHOST = www.skoll.ca # WWWHOST = www.mycompany.com -# The complete path to where the scripts actually live. +# The complete path to where the scripts actually live, as seen by +# the UNIX operating system. SCRIPTDIR = /var/lib/httpd/cgi-bin # SCRIPTDIR = /home/dfs/Remind/www/TEST @@ -16,7 +17,7 @@ SCRIPTDIR = /var/lib/httpd/cgi-bin # they live in WWWHOST/cgi-bin, supply /cgi-bin CGIDIR = /cgi-bin -# Location. Typically, a city name. Example: Ottawa +# Location. Typically, the name of your city or town. Example: Ottawa LOCATION = Ottawa # LOCATION = New York diff --git a/www/README b/www/README index e6e6f28a..e66c3fe4 100644 --- a/www/README +++ b/www/README @@ -1,41 +1,40 @@ README -$Id: README,v 1.1 1997-01-16 04:00:26 dfs Exp $ +$Id: README,v 1.2 1997-01-16 04:05:31 dfs Exp $ HTML Hebrew Calendar Server -This is a very rudimentary Hebrew calendar server for the WWW. It supplies -local sunrise and sunset times, moon phases, upcoming Jewish holidays, -and PostScript calendars. +This is a very rudimentary Hebrew calendar server for the WWW. It +supplies local sunrise and sunset times, moon phases, upcoming Jewish +holidays, and PostScript calendars. It only works under UNIX. +I've only tested it with Linux and NCSA's httpd. To install it, you need the Remind package, available via ftp from ftp://ftp.doe.carleton.ca/pub/remind-3.0. You should install Remind, setting the lattitude, longitude, location and time zone as appropriate for your machine. -Once you have Remind installed, follow these steps to set up your WWW server. +Once you have Remind installed, follow these steps to set up your WWW +server: -1) Unpack all of the files into a convenient directory +1) Edit the Makefile in this directory. See the comments in the Makefile + for details. -2) edit "cal_dispatch" as instructed in the comments at the beginning - of the file. +2) Type "make install" -3) Do "grep -i HREF *" to find all the hypertext links. Edit them - to point to the proper place on your system. The links should be - set as follows: +3) Test it out. It will generate links of the form: - http://your.system.name/your_bin_name/cal_dispatch?what + http://www.your_server.com/your_cgi-bin/cal_dispatch?what - Where "what" is one of: - sunrise, sunset, hebdate, calps, moon or hebps. +where "what" is one of: + sunrise -- show info about sunrise times. + sunset -- show info about sunset times. + hebdate -- show today's Hebrew date. + calps -- get a blank PostScript calendar. + moon -- show info about moon phases. + hebps -- get a PostScript calendar with Jewish holidays. - You must have the ability to execute cal_dispatch from within your - WWW server; consult your system administrator for details/permission. + (Visit http://www.doe.carleton.ca/~dfs/ for previews.) -4) Do "grep -i ottawa *" to find all references to "Ottawa" in the - scripts. Change them as appropriate for your location. - -5) TEST ALL YOUR LINKS THOROUGHLY - -6) Enjoy! +4) Enjoy!