in reply to enabling PERL file type in Apache/web

I am not as heavy as many of the other monks here reguarding apache or mod_perl. If it works fine as a .cgi it should work fine as a .pl, assuming of course it is a bonified perl. I have worked with both cases. Make sure you have checked everything, however mundane before you blame it on perl, it's not the one configuring the web server.

Somethings things to consider:

  1. Again make sure your line in httpd.conf is correct: AddHandler cgi-script .cgi .pl
  2. Did you restart your web server after you changed the httpd.conf file?
  3. Make sure your .pl is in cgi-bin
  4. Is the permissions on the file correct?
I'm sure others could add more and I hope they will.

Gyro

Replies are listed 'Best First'.
Re: Re: enabling PERL file type in Apache/web
by stu7 (Initiate) on Feb 04, 2002 at 02:50 UTC
      Thank you gyro... no, I wasn't really blaming perl... 
    I guess some perl monks dont have a sense of humor :) 
     (note that   :)  <- is a smiley, and not a LABEL :) oops,
    now I'm in an endless smiley loop :)
    
      Even though it is probably the Apache config which is 
    causing the problem, it's necessary to running perl scripts...
    therefore, I assumed a lot of people here would already 
    know specifically what was wrong.
    
      Anyway, thanks for answering... I have tried all those 
    suggestions, and they are all necessary.
    
    
    
      Read the Apache docs and start over with a default httpd.conf and check your permissions and ownerships. And check to see what your platform requires, and check out the Apache mail lists as well.

      Update: As pointed out to me this is off topic. If you are using another product inconjunction with perl check out their docs and news groups. Gyro