Jump to content

Recommended Posts

Posted
Try CHMOD'ing your .htaccess file to 755.

 

OK, I've chmoded my .htaccess file to 755 and it didn't help but shouldn't the .htaccess file ALWAYS be 644?

 

Byron

 

 

 

Posted

Hi,

 

Did you try to see output from the script? Try use CGI::Carp.

At first you have to install it from cpanel, and add the code shown below to you script before use modules.

 

best regards

 

BEGIN {
   my $homedir = ( getpwuid($>) )[7];
   my @user_include;
   foreach my $path (@INC) {
       if ( -d $homedir . '/perl' . $path ) {
           push @user_include, $homedir . '/perl' . $path;
       }
   }
   unshift @INC, @user_include;
}

use CGI::Carp qw(fatalsToBrowser);

Posted

djbob, it seems that all of my cgi/perl files are working in every directory except my root directory:

 

CGI-BIN (works)

http://byrondallas.heliohost.org/cgi-bin/time.pl

 

TEST (works)

http://byrondallas.heliohost.org/test/time.pl

 

ROOT (doesn't work)

http://byrondallas.heliohost.org/time.pl

 

Hopefully that will give you some clue to what's going on?

 

Byron

 

 

Hi,

 

Did you try to see output from the script? Try use CGI::Carp.

 

best regards

 

My cPanel Error Log is showing a 500 Error - File does not exist.

 

Regards,

Byron

 

 

Posted

Just wanted to let you know tha ALL cgi/perl files are working fine now just incase you didn't already know. :)

 

Thanks,

Byron

 

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...