Re: Problem Accessing Perl ModulesThrough .htaccess

2007-04-09 Thread Tom Phoenix
On 4/9/07, Wijaya Edward <[EMAIL PROTECTED]> wrote: works on plain cmdline (with/without "use lib"). But not in through Apache. Sometimes it's difficult to debug what's in your CGI environment. That's what Inside is for: http://search.cpan.org/~phoenix/Inside-1.01/ Hope this helps! --Tom

RE: Problem Accessing Perl ModulesThrough .htaccess

2007-04-09 Thread Wijaya Edward
Hi, > Add this line: > use lib '/home/sadm/lib/site_perl'; > At the top of your script,I think it should work well. As I mentioned earlier. I did. The exact path as you stated above. Still won't work. Although doing $ perl -c helom.cgi works on plain cmdline (with/without "use lib"). But no

Re: Problem Accessing Perl ModulesThrough .htaccess

2007-04-09 Thread Jeff Pang
Tried that too. Still give the same problem. Although I thought it's the .htaccess job to locate those Perl's lib path. Hello, Add this line: use lib '/home/sadm/lib/site_perl'; At the top of your script,I think it should work well. -- mailto: [EMAIL PROTECTED] http://home.arcor.de/je

RE: Problem Accessing Perl ModulesThrough .htaccess

2007-04-09 Thread Wijaya Edward
Hi Jeff, > By the way,why don't include this line in your CGI script? > use lib '/the/module/path'; Tried that too. Still give the same problem. Although I thought it's the .htaccess job to locate those Perl's lib path. >you may need to set the "SetEnv" direction in the httpd.conf. How do yo