Jump to content


Recommended Posts

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?

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...