I have a new website and I want to include a perl chat script in a specific table on every page. I can get the SSI to work perfectly if the files calling the chat script are in the main directory. But if I call the chat script from a different file than my main directory, it can't find it.
That's the code I am trying to use to call the CGI script. This is on a sub domain (cgi.domain.com) so that's why there's a folder /cgi/, but it's the main folder on this sub domain.<!--#include virtual="/home/richards/public_html/cgi/chat.cgi"-->
It works for all files calling the chat script in the /cgi/ folder but anything outside this folder (ie: /cgi/tutorials/, /cgi/about/) can't locate it.
This is an example of the error using the exact code as shown above.
Does anyone know what I did wrong? The file path IS right.unable to include file "/home/richards/public_html/cgi/chat.cgi" in pa +rsed file /home/richards/public_html/cgi/tutorials/index.shtml
Thanks.
Retitled by davido.
In reply to OT: Using global SSIs by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |