JerryBarrett
Technical User
I was directed here by some dude off the perl forum - I'm not sure its appropriate - but here goes.
I have several websites-with a common theme into which I want to insert some URL-unique info - I have a working perl script, but some of the webs are on a Linux server and lots are on a Windows IIS(5) server.
To call the perl script on the Linux system I have to use
<!--#exec cgi="cgi-bin/testtags.pl"-->
or
<!--#exec cgi="./cgi-bin/testtags.pl"-->
and
<!--#exec cgi="/cgi-bin/testtags.pl"--> Will not work.
On the windows IIS I "have" to call the perl script with
<!--#exec cgi="/cgi-bin/testtags.pl"-->
a relative path within the website will not work.
Any ideas how I get this down to one single path definition?
or
Enable some code to check the Server OS and do an if-then - dont forget this has to be server side otherwise search engines wont be able to see the stuff the perl script inserts.
Ideas appreciated please
Regards
Jerry
I have several websites-with a common theme into which I want to insert some URL-unique info - I have a working perl script, but some of the webs are on a Linux server and lots are on a Windows IIS(5) server.
To call the perl script on the Linux system I have to use
<!--#exec cgi="cgi-bin/testtags.pl"-->
or
<!--#exec cgi="./cgi-bin/testtags.pl"-->
and
<!--#exec cgi="/cgi-bin/testtags.pl"--> Will not work.
On the windows IIS I "have" to call the perl script with
<!--#exec cgi="/cgi-bin/testtags.pl"-->
a relative path within the website will not work.
Any ideas how I get this down to one single path definition?
or
Enable some code to check the Server OS and do an if-then - dont forget this has to be server side otherwise search engines wont be able to see the stuff the perl script inserts.
Ideas appreciated please
Regards
Jerry