madcgimonk
Programmer
I have a chat script on the left side of all of my pages (or I am trying to get it that way, anyway) by using SSI.
Works if I am in the main directory (yes, CGI's can be run outside of my cgi-bin). But when I am in a folder, like domain.com/folder1/ , the SSI fails because it can't find it.
How do I make the SSI use a full file path so I don't ever have to change the code? I heard there are 2 different types of SSI codes or something.
Code:
<!--#include file="chat.cgi"-->
Works if I am in the main directory (yes, CGI's can be run outside of my cgi-bin). But when I am in a folder, like domain.com/folder1/ , the SSI fails because it can't find it.
How do I make the SSI use a full file path so I don't ever have to change the code? I heard there are 2 different types of SSI codes or something.