[users@httpd] CGI script is not executed

2012-06-07 Thread Thad Humphries
Re thread #103692 On May 19, 2012, at 3:27 AM, Igor Cicimov wrote: The name should be test.cgi On May 19, 2012 5:29 PM, "Allen Liu" wrote: > Hi experts, > I just set up my first httpd server 2.4.2. It is a simple setup, I took > almost everything as default setting. > After it was started, I t

Re: [users@httpd] CGI script is not executed

2012-05-19 Thread Igor Cicimov
If you look in apache config file you will find a line like this: AddHandler cgi-script .cgi .pl which tells apache to handle the files with .cgi and .pl as cgi scripts. Without this apache will handle them as default text/html file. So the script alis is useless without proper handle, it just de

Re: [users@httpd] CGI script is not executed

2012-05-19 Thread Allen Liu
Hi Igor, Could you tell a little bit more why the name should be test.cgi ? I am sure there is a file with name test-cgi in cgi-bin directory with 755. So wonder why test.cgi should be used as you said. Do you mean all scripts should have .cgi suffix? Httpd.conf doc indicated that ScriptAlias speci

Re: [users@httpd] CGI script is not executed

2012-05-19 Thread Igor Cicimov
The name should be test.cgi On May 19, 2012 5:29 PM, "Allen Liu" wrote: > Hi experts, > I just set up my first httpd server 2.4.2. It is a simple setup, I took > almost everything as default setting. > After it was started, I tried test-cgi located in cgi-bin directory. The > issue was that the

[users@httpd] CGI script is not executed

2012-05-19 Thread Allen Liu
Hi experts, I just set up my first httpd server 2.4.2. It is a simple setup, I took almost everything as default setting. After it was started, I tried test-cgi located in cgi-bin directory. The issue was that the script didn't run. The browser only displayed the script contents. Can anyone hel