just found out the "deeper" reason - mod_perl now always has path="/"
which is unexpected behaviour. While I can filter out the actual path
from the cgi-environment I dont understand this ..


thnx,
peter
 

On Tue, Jul 16, 2002 at 04:12:02PM +0200, [EMAIL PROTECTED] wrote:
> I just upgraded to apache2 and mod_perl1.99 and the first big
> difference I noticed is that I can include my libraries using relative
> pathes any more.
> 
> Until now I had my mainprogram and its library/ies in the same path.
> 
> like 
> # ls edit.*
> edit.lib.pl  edit.pl
> 
> and in edit.pl I had the line
> 
> require './edit.pl';
> 
> this worked fine with mod_perl1.27
> 
> now I receive a error like this:
> [Tue Jul 16 15:56:33 2002] [error] 25772: ModPerl::Registry: `Can't locate 
>./edit.lib.pl at /data/apache/htdocs/goldfisch/edit.pl line 24'
> 
> 
> and I need to specify the full path in the require-command. While this
> is not a real problem its a suprising behaviour ..
> 
> peter
> 
> 
> -- 
> mag. peter pilsl
> IT-Consulting
> tel: +43-699-1-3574035
> fax: +43-699-4-3574035
> [EMAIL PROTECTED]
> 
> 

-- 
mag. peter pilsl
IT-Consulting
tel: +43-699-1-3574035
fax: +43-699-4-3574035
[EMAIL PROTECTED]

Reply via email to