CATEGORY: SSI - Server Side Includes

QUESTION:
Hi, I tried to do SSI, but I am having a problem. This is my index.shtml file. <!--#exec cgi="/home/username/domainname-www/cgi-bin/test.cgi" --> It is just not working. It always shows the message "[an error occurred while processing this directive]". Is there anyway that I can see the error message on my script?

ANSWER:
You have the path wrong... the path is relative to the URL location, not the server path...
it should be:

/cgi-bin/test.cgi

...NOT:
/home/username/domainname-www/cgi-bin/test.cgi


Eddie
############################################################

Please be advised that this is a SUPPLEMENTAL Online Manual.

The PRIMARY Online Manual is inside your Online Control Panel... to access it, just click Documentation link at very bottom of Online Control Panel screen.

You should always consult the Online Manual inside your control panel first... and only consult this SUPPLEMENTAL Online Manual as a last resort.

if after consulting the Control Panel Documentation, you still need assistance, please CONTACT SUPPORT

top