digitald Posted June 6, 2003 Posted June 6, 2003 I am trying to add time & date to a page using a script called textclock, this is the command I am using to make the call to my cgi bin <!--#exec cgi="/cgi-bin/nph-textclock.cgi"--> but nothing is happening is there something i'm missing here? Quote
Lianna Posted June 8, 2003 Posted June 8, 2003 Guess this one slipped through... sorry. Still having trouble with it? If so, can you give us the page URL? Quote
KevinW Posted June 9, 2003 Posted June 9, 2003 I believe the problem is that using such an include file requires that the actual web page be renamed from .htm(l) to .shtm(l). But that's just off the top of my head. Can someone verify this? -kw Quote
boxturt Posted June 9, 2003 Posted June 9, 2003 Completely overlooked that part because I do my includes differently but I do believe KW is correct. -Ty Quote
Singer Posted June 9, 2003 Posted June 9, 2003 Yes, that is right: for Apache 1.3.27 (what's being run here) it must be .shtml. I had that problem a few months ago and after posting a trouble ticket, the folks here got me going in the right direction. If my memory serves me correctly, the explanation is that this improves server efficiency: Apache won't try to do SSI parsing on non-SHTML files. A note: when I first ran into this, I was running Apache 2.0.43 on my PC. Version 2.0.43 does support other extensions for SSI (I was using .inc), so I was completely befuddled for awhile until the folks here pointed out the impact of the version differences to me. Quote
digitald Posted June 12, 2003 Author Posted June 12, 2003 Thanks for your replies For now I have just removed this code from my page but i will experiment per everyones advice & see if i can get it to work. Rock Sign Rock Sign Rock Sign Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.