Koozali.org: home of the SME Server

server side includes

bob

server side includes
« on: December 29, 2003, 03:17:00 AM »
Have done some digging, and can not find an answer to this one.
I an running a hit counter script that is called from file called from index.shtml that is in a virtual domain. the file is called by  . It will not update the countit.dat file that is located in the cgi-bin for the ibay. I have applied permissions for the script to run, and to allow the dat file to be written to (775 for the perl script, and 666 for the dat file. I have this script working on a website that is currently hosting the page, but am getting ready to host the page myself. The error log contains the following entries

(2)No such file or directory: exec of /home/e-smith/files/ibays/skip/cgi-bin/countit.pl failed
Premature end of script headers: /home/e-smith/files/ibays/skip/cgi-bin/countit.pl

The file and the directory do exist.


Any ideas??

[%sig%]

bob

Re: server side includes
« Reply #1 on: December 29, 2003, 03:53:44 AM »
I forgot to mention I am running SME 6 final release

bob

Re: server side includes
« Reply #2 on: December 29, 2003, 05:45:34 AM »
I finally figgured it out myself. It was a combination of things. I had to re-upload the file as ASCII  not auto. My FTP client was having a hard time setting proper file permisions, so I use MC and now everything works

Bob