<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi all,<br>
<br>
Thanks for the information, Joe. I made the changes you suggested and
things still weren't working for me. With a little further
investigation, I've discovered another problem -- Bluehost does not
allow me to make alterations to apache to make the linkages to koha's
conf file.<br>
<br>
Is there a way to use .htaccess to circumvent this?<br>
<br>
I'm beginning to think I should stick to running koha off a server in
the backroom...<br>
<br>
Cheers,<br>
Dwayne<br>
<br>
Joe Atzberger wrote:
<blockquote
cite="mid:235bf14f0808121030n7c7d0df7x6e03bc6f85a57a94@mail.gmail.com"
type="cite">
<div dir="ltr">I don't think you want to use their code. The version
they gave you is an inefficient form that applies to all their users. <br>
<br>
All you want to do is add /home/prcsaca/perl to the "SetEnv
PERL5LIB..." lines in your .conf file.<br>
<br>
So you might have something like:<br>
<div style="margin-left: 40px;">SetEnv PERL5LIB
"/home/prcsaca/perl:/home/prcsaca/kohaclone"<br>
</div>
<br>
--joe<br>
<br>
<div class="gmail_quote">On Tue, Aug 12, 2008 at 12:48 PM, Dwayne
Collins <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:dcollins@prcsa.ca">dcollins@prcsa.ca</a>></span>
wrote: <br>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div bgcolor="#ffffff" text="#000000">
<p>You will need to add <code>/home/prcsaca/perl</code>
to the include path. <br>
You can do this by adding the following code to your script: <code></code></p>
<pre>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;
}
</pre>
</div>
</blockquote>
</div>
<br>
</div>
</blockquote>
</body>
</html>