From: Jason L. <jr...@ow...> - 2003-01-15 20:17:56
|
Olivier, Thanks for following up on this. Also, I wanted to point out a potential problem with the SSI Random Image Displayer documentation. In the "INSTALLATION" section, the HTML executable code suggests that you can call this script remotely (or locally) by simply putting in an absolute URL. I've just attempted this with two physically separate servers with different Linux/Apache configurations -- calling the script in one server's cgi-bin from an HTML page on the other server, and vice versa -- without success. I always get the "[an error occurred while processing this directive]" message. In fact, I couldn't even get it to work after trying to execute the script on the SAME server using the URL method ... on BOTH servers. But as soon as I replaced this (example) code ... <!--#exec cgi="http://your.host.com/cgi-bin/ssi_rand_image.pl"--> ... with this (example) code ... <!--#exec cgi="/server/path/to/cgi-bin/ssi_rand_image.pl"--> ... the script worked fine on both servers. My only conclusion is that a relative system path is required in the HTML executable, rather than a URL. Am I missing something here, or are cgi-bin directories typically supposed to allow remote calls when SSI is involved ... and these particular two servers are an exception to the rule? Jason __________________________________________________________ Jason LaMar tel >> 740-368-3307 Director of Web Services fax >> 740-368-3328 Ohio Wesleyan University e-mail >> jr...@ow... Delaware, OH 43015 online >> http://web.owu.edu/ |