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-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to