Welcome, Guest. Please login or register.
Did you miss your activation email?


Login with username, password and session length

Search

 
Advanced search

8043 Posts in 1856 Topics- by 2099 Members - Latest Member: roi
Pages: [1]   Go Down
Print
Author Topic: ssi.html problem  (Read 319 times)
0 Members and 1 Guest are viewing this topic.
Phillip
Guest
« on: June 12, 2004, 11:39:00 PM »

I am attempting to use the ssi.html template.
My problem is the SSI call <!--#exec cgi="/cgi-bin/calendar.pl"--> displays the default calendar instead of the ssi.html template.
The server is Linux with Ensim pro.
Any help would be appreciated.
Thanks
Phillip
Logged
musicvid
New Member
*

Karma: 1
Offline Offline

Posts: 8


WWW
« Reply #1 on: June 13, 2004, 01:06:00 AM »

<!--#exec cgi="/cgi-bin/calendar.pl?template=ssi.html"-->

--OR-- If the above doesn't work --

<!--#include virtual="/cgi-bin/calendar.pl?template=ssi.html"-->

------------------

Logged
Phillip
Guest
« Reply #2 on: June 13, 2004, 10:21:00 AM »

Thanks musicvid.
The "include virtual" did the trick.
Phillip
Logged
musicvid
New Member
*

Karma: 1
Offline Offline

Posts: 8


WWW
« Reply #3 on: June 13, 2004, 05:38:00 PM »

On the same subject, you'll probably have to pass the duration too, like this:
<!--#include virtual="/cgi-bin/calendar.pl?template=ssi.html&duration=14d"-->

You can use days d or months m in the call.
The ssi.txt doesn't work for everyone, so passing the variables this way is the most reliable.

------------------

Logged
Pages: [1]   Go Up
Print
Jump to: