Puzzling Apache Problem
I was trying to setup my client's CGI script when I encounter a very strange situation. Apache keeps refusing to execute the script even though all the permissions are right, and the perl interpreter runs fine. The error shows entry that says "No such file or directory /home/site/cgi-bin/script.cgi"I am using the RPM install of apache 1.3.20, redhat 7.2, and the script is a proxy script. I am running mod_cgi.
This is also strange in another respect because there are two sites that are setup, and one of them runs the script fines, while the other gives out error. Yet both sites have identical configuration. I have done many different configurations, and it seems that apache is even able to read the file, because I was able to download the file (not execute it) if I don't set the execCGI option. Another thing also strange was that if I copy the script from the working site to the non-working site, the script also becomes non-working.
So far, the only explanation is that there is an "easter egg" somehow either in apache or linux or something in between that got activated by that directory (renaming it doesn't seem to help either).
I hope this information is not too confusing, but I am very puzzled myself. I would appreciate any kind of help.
Thanks,
Peter