CALENDAR SCRIPTS
month.pl and week.pl
DIRECTORY PATH INFORMATION

The scripts in the month.pl and week.pl files require you to specify the directory path to your calendar data files (head, tail, 2000, etc.). So after specifying the calendar script in your URL, http://huc.edu/cgi-bin/month.pl, you have a directory path to your calendar's data files that is defined for the computer as "?dir=". The calendar scripts need to know where your files are on the server in order to fill in the blank calendar.

When you FTP into the AIT server, you only see / as your directory path. That is because the rest of the directory path is hidden from you. The initial main directory you FTP into has a directory path of:
/www/htdocs/xx/xx000

where xx are the letters and 000 are the numbers in your congregational number xx000. If you publish the calendar data files to this directory, that is the directory path you would use, followed by qualifiers (&ymw=mws for example) listed in the calendar documentation.

However, if you publish the calendar data files to a subdirectory, you would have to add that directory's name to the directory path.

So for instance:

Congregation or001 puts their data files into their main directory, which to them is "/" when they FTP in. Their calendar files would thus be at:
www/htdocs/or/or001
which would thus translate into the URL:
http://huc.edu/cgi-bin/month.pl?dir=/www/htdocs/or/or001&ymw=mws

Congregation nj001 however puts their data files into a subdirectory "calendar," which when they FTP in, is seen as /calendar/. Their calendar files would thus be at:
www/htdocs/nj/nj001/calendar
which would thus translate into the URL:
http://huc.edu/cgi-bin/month.pl?dir=/www/htdocs/nj/nj001/calendar&ymw=mws


To the HUC-JIR home page

Copyright © 2002 Hebrew Union College-Jewish Institute of Religion