Thanks John, This seemed to solve my problem !
Many thanks Pete -----Original Message----- From: John P. Gibbons [mailto:[EMAIL PROTECTED] Sent: Tuesday, 20 July 2004 2:51 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: Apache2 and EMBPERL_OBJECT_ADDPATH I'm no Embperl 2.0 expert, but if I recall correctly PerlSetEnv (or SetEnv for that matter) won't work by default. Try removing the PerlSetEnv like so: EMBPERL_OBJECT_ADDPATH /var/website/htdocs/uk;/var/website/htdocs/shared/;/var/website/htdocs/ Cheers, John On Jul 20, 2004, at 12:30 PM, Pete Moran wrote: > Hi all, > > I have started using apache 2 and Embperl 2.0b11 - however I have > noticed that I can't seem to add additional search paths. > > A sample configuration > > <Directory "/var/website/htdocs/admin"> > PerlSetEnv EMBPERL_OBJECT_ADDPATH > /var/website/htdocs/uk;/var/website/htdocs/shared/;/var/website/htdocs/ > <files *html> > Embperl_AppName admin > Embperl_Object_Base base.epl > Embperl_UriMatch "\.html.?|\.epl$|\.dxml" > SetHandler perl-script > PerlHandler Embperl::Object > Options ExecCGI > </files> > > </Directory> > > However, when I try and execute something in /var/website/htdocs/uk, > then get a error - I have checked and the additional search paths do > not > seem to get added. Anyone got any ideas why is this the case with > apache2 (works fine with apache 1.3.xxx) ? > > > > Regards > > > Pete > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.718 / Virus Database: 474 - Release Date: 9/07/2004 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.718 / Virus Database: 474 - Release Date: 9/07/2004 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]