I have a client that already had agoracart installed on her site move her site to our server. She just ftp'd the whole site including the store over. Ther permissions look fine, but the cgi's actually show the cgi code, they don't display what they should. I checked to be sure the files are 755 and that the webserver was set to exec cgi's from that directory. I run apache with mod_perl on fedora core 3. I downloaded the test_id.cgi and it does the same thing. I do have another cgi installed and working fine. In my apache logs I see:
[Fri Aug 05 12:27:04 2005] [error] [client 166.102.93.104] (2)No such file or directory: exec of '/var/www/cgi-bin/test_id.cgi' failed
[Fri Aug 05 12:27:04 2005] [error] [client 166.102.93.104] Premature end of script headers: test_id.cgi
It's not the command it's running, nor the perl path (I checked that too). If I copy the perl code out of the middle of that script and put it in my other script, it works fine. I can't figure out why the agora files, even the test_id.cgi won't execute.
This is the folder that I've put the test files in:
drwxr-xr-x 3 root root 4096 Aug 5 12:39 .
drwxr-xr-x 7 webd users 4096 Aug 5 12:20 ..
-rwxr-xr-x 1 root root 310 Aug 5 10:47 ctest.cgi
-rwxr-xr-x 1 root root 2777 Aug 5 12:39 test_id.cgi
-rwxr-xr-x 1 root root 1280 Aug 5 12:36 testid.cgi
the testid.cgi and ctest work, but the agora test_id.cgi doesn't.