[Ilugc] Perl Script Execution Error

  • From: rajaramcomputers@xxxxxxxxxxx (ramkumar lakshminarayanan)
  • Date: Sat Mar 31 10:21:22 2007

   Dear Friends,

   Thank you all for all the comments regarding the perl script executiion
   error.

   I have made the following modification in my server and it is working.

   It was httpd.conf which was restricting the cgi and perl from getting
   executed.
   I've modified, /usr/local/apache/http/conf/httpd.conf file

   Under ScriptAlias, I've added 2 directory listing
   #
      # "/usr/local/apache/cgi-bin" should be changed to whatever your
   ScriptAliased
      # CGI directory exists, if you have that configured.
      #
       <Directory "/usr/local/apache/cgi-bin">
          AllowOverride None
          Options None
          Order allow,deny
          Allow from all
      </Directory>
   #### UPTO THIS WAS ORIGINAL FOLLOWING WAS ADDED.

      <Directory "/home/rajarams/www/cgi-bin">
          AllowOverride None
          Options +ExecCGI
          AddHandler cgi-script cgi pl
      </Directory>

      <Directory "/home/*/www/cgi-bin">
          AllowOverride None
          Options ExecCGI
          SetHandler cgi-script
      </Directory>

   Then I've restarted the apache services. It is working.

   Regds,

   L.Ramkumar.

    

    

     ----------------------------------------------------------------------

   Catch the complete World Cup coverage with MSN

Other related posts: