httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Igor Cicimov <icici...@gmail.com>
Subject Re: [users@httpd] CGI script is not executed
Date Sat, 19 May 2012 10:26:27 GMT
The name should be test.cgi
 On May 19, 2012 5:29 PM, "Allen Liu" <allenliu2000@gmail.com> 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 script didn't run. The browser only displayed the script
> contents. Can anyone help ?
>
> I checked httpd.conf which has
>        ScriptAlias /cgi-bin/  "/usr/local/apache2/cgi-bin/"
>
> Here is the directory permission:
>        drwxr-xr-x  2 root root  4096 May 18 16:55 cgi-bin
> scrip in cgi-bin t:
>        -rwxr-xr-x 1 root     games    1135 May 18 15:35 test-cgi
> I know that httpd runs as user 'demon', but I think the cgi file has 755
> permission, it should have no problem.
>
> Any help is appreciated.
>
> Allen Liu
> allenliu2000@gmail.com
> +1 510 936-0101
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>

Mime
View raw message