I am very new to CGI programming in Perl.
In order to learn it i installed xampp 2 days back. But I am unable to execute my perl code . The code goes as folows:
#!/usr/bin/perl use CGI; $co = new CGI; print $co->header, $co->start_html(title=>'CGI Example'), $co->center($co->hi('Subhayan welcome to CGI')), $co->end_html;
Have saved the code in a text file named : Subhayan1.cgi and kept it in the folder cgi-bin under xampp folder in C drive.
When i try to execute this through my web browser typing : "http://localhost/cgi-bin/Subhayan1.cgi" it comes up with a "Object not found page".
I checked the apache configuration file under : xampp/apache/conf/httpd.conf.
I checked the entry : ScriptAlias /cgi-bin/ "C:/xampp/cgi-bin/"
It looks like pointing to the correct directory.
What is the issue here can anyone help please???