LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   cgi script not running (https://www.linuxquestions.org/questions/programming-9/cgi-script-not-running-451749/)

furqan_sindhu 06-05-2006 07:00 AM

cgi script not running
 
hey all !

i have successfully run a cgi script on my local server. but when i uploaded it on the server for general public access in the cgi-bin directory of the server, it was not accessible. what might be the reason ???

zaichik 06-05-2006 08:42 AM

Could be the permissions on the file; the web user will have to have execute permissions. Can other scripts in the cgi-bin directory execute? If not, the permissions on the directory could be incorrect, or the ScriptAlias directive is not set up correctly or something along those lines.

The error_log (Apache, right?) will hopefully offer some useful information (something more useful than 'premature end of script headers' ;) ).


All times are GMT -5. The time now is 01:59 PM.