Executing CGI

Executing CGI

am 19.02.2010 20:35:23 von mohitanchlia

Apache 2:

My cgi shows complete text of the script instead of executing it like
a cgi script. Am I missing something in below configuration


Options +ExecCGI
AddHandler cgi-script .cgi .pl
AllowOverride None
Order allow,deny
Allow from all


my cgi

#!/usr/bin/perl

print "Got it!"

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

Re: Executing CGI

am 19.02.2010 23:08:50 von mohitanchlia

Got it working cgi_module wasn't loaded.

On Fri, Feb 19, 2010 at 11:35 AM, Mohit Anchlia wr=
ote:
> Apache 2:
>
> My cgi shows complete text of the script instead of executing it like
> a cgi script. =A0Am I missing something in below configuration
>
>
> =A0 =A0Options +ExecCGI
> =A0 =A0AddHandler cgi-script .cgi .pl
> =A0 =A0AllowOverride None
> =A0 =A0Order allow,deny
> =A0 =A0Allow from all
>

>
> my cgi
>
> #!/usr/bin/perl
>
> print "Got it!"
>

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org