quote:
I checked my web host and was told that ssi's must have a .shtml extension to work properly on my server.
Yes, the pages that have the SSI tag in them, not the page being called by it.
quote:
You can not call that file directly and expect anything to be displayed. Templates are only meant to be called through and parsed by the calendar script.++ I do not understand this.
To see an example of what the actual template file will look like once called through the script, look at the following URL:
http://www.evranch.org/cgi-bin/calendar/calendar.pl?template=ssi.html
quote:
I am trying to get a list calendar for today to call from my sites home page.?
Then you change the parameters in the ssi.txt file and call the calendar script from a web page with a .shtml file extension with an SSI tag like:
<!--#exec cgi="/cgi-bin/calendar/calendar.pl"-->
or
<!--#exec cmd="/cgi-bin/calendar/calendar.pl" -->
or
<!--#include virtual="/cgi-bin/calendar/calendar.pl"-->
depending on which your server understands.
NOTE: You should not need to include the ?template=ssi.shtml (as shown in the example above) in your SSI calls as the script should know to use that template when called via SSI (provided you change the reference to it in the ssi.txt file since you've changed the file name from what it was originally).
Dan O.
[This message has been edited by DanO (edited August 20, 2003).]