You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Mohit Anchlia <mo...@gmail.com> on 2010/02/19 23:08:50 UTC

[users@httpd] Re: Executing CGI

Got it working cgi_module wasn't loaded.

On Fri, Feb 19, 2010 at 11:35 AM, Mohit Anchlia <mo...@gmail.com> wrote:
> 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
>
> <Directory /usr/local/apache2/cgi-bin/>
>    Options +ExecCGI
>    AddHandler cgi-script .cgi .pl
>    AllowOverride None
>    Order allow,deny
>    Allow from all
> </Directory>
>
> my cgi
>
> #!/usr/bin/perl
>
> print "Got it!"
>

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> 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