<div dir="ltr">If you can't set 2 environmental variables, then you can't run Koha at all. <br><br>If your Apache processes run as your own user, you might be able to set the environmental variables in a profile. This seems unlikely though. <br>
<br>You also might be able to use .htaccess, but do you know whether Bluehost actually supports .htaccess? and supports SetEnv in .htaccess? Really your host should tell you how to accomplish this: it's a very common configuration.<br>
<br>--joe<br><br><div class="gmail_quote">On Wed, Aug 13, 2008 at 11:16 AM, Dwayne Collins <span dir="ltr"><<a 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">
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><font color="#888888">
Dwayne</font><div><div></div><div class="Wj3C7c"><br>
<br>
Joe Atzberger wrote:
<blockquote 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 href="mailto:dcollins@prcsa.ca" target="_blank">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>
</div></div></div>
</blockquote></div><br></div>