LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > External Applications > CGI/Perl/Python > ERROR: missing environment variable 'SCRIPT_FILENAME'!

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 01-07-2010, 04:27 PM
dougconran dougconran is offline
Member
 
Join Date: Jan 2010
Posts: 15
Default ERROR: missing environment variable 'SCRIPT_FILENAME'!

I'm trying to use Perl with Fast CGI but get the above error.

I've set up a Context pointing to my Perl scripts in /cgi-bin/ and everything works fine when the Type is CGI.

I've set up an External app pointing to lsperl.fpl, and linked that to the cgi-bin context (re-configured for Fast CGI). I've also confirmed that I have the FCGI module in my Perl path but, as soon as I try to run the Perl script I get the error.

The log files don't report any problems.

Can anyone suggest what I'm doing wrong?

Many thinaks

Doug
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 11:10 AM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.