You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Edward Wijaya <ew...@singnet.com.sg> on 2005/01/26 14:31:54 UTC

[users@httpd] Trying to enable CGI script for the first time - (newbie question)

Hi,

I am trying my very first perl-cgi script testing it with Lincoln Stein's  
script like this: http://stein.cshl.org/WWW/software/CGI/examples/tryit.txt


And I store this script as "test.pl" under /var/www/cgi-bin directory

My problem is why upon opening -- http://localhost/cgi-bin/test.pl -- it  
gives
     this:    http://paste.phpfi.com/48065
instead of
     this?    http://stein.cshl.org/WWW/software/CGI/examples/tryit.cgi


By the way this is my
httpd.conf: http://paste.phpfi.com/48067
and
httpd2.perl.conf: http://paste.phpfi.com/48068

Can anybody suggest what's wrong with my approach? H
Thanks a lot beforehand.

-- 
Edward WIJAYA
Singapore

---------------------------------------------------------------------
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