[Xitami] SSI

Ewen McNeill xitami@lists.xitami.org
Sat, 15 Dec 2001 20:59:02 +1300


In message <008101c1853c$80b63000$f6fea8c0@jjb>, Joe@byrneworld.com writes:
>"Paul Reid" <preid@rci.rutgers.edu> writes:
>>> <!--#exec cgi="http://www.byrneworld.com/cgi-bin/ezcount.exe"-->
>>
>> Doesn't the EXEC function have to point to a Local path, rather
>> than a URL? Something like "C:\Xitami\cgi-bin\excount.exe" ?

If it's a "cgi" then it should be "/cgi-bin/CGINAME"; ie, it should be a
relative URL not a full URL.  This is particularly necessary with Xitami
2.4 and the PerlSSI, which takes a fairly naive approach to resolving
the path (stick the CGI directory name in front of CGINAME and hope for
the best).

If you're having trouble make sure you've got execution of CGIs turned
on, and check cgierr.log for any errors running the CGI.

Ewen

-- 
Ewen McNeill, Technical Consultant, iMatix Corporation  www.imatix.com