ERROR : Can't locate URI.pm in @INC ?

2004-01-05 Thread S D
I am trying to use the LWP module & the perl module
contains  :

.
.
use LWP::UserAgent;
.
.


This line throws error :

Can't locate URI.pm in @INC (@INC contains:
/opt/ora9/product/9.2/Apache/perl/lib/5.00503/i686-linux
/opt/ora9/product/9.2/Apache/perl/lib/5.00503
/opt/ora9/product/9.2/Apache/perl/lib/site_perl/5.005/i686-linux
/opt/ora9/product/9.2/Apache/perl/lib/site_perl/5.005
/project/linux/902/APACHE/src/pdc_perl/bin/Linux/Opt/lib/5.00503/i686-linux
/project/linux/902/APACHE/src/pdc_perl/bin/Linux/Opt/lib/5.00503
/project/linux/902/APACHE/src/pdc_perl/bin/Linux/Opt/lib/site_perl/5.005/i686-linux
/project/linux/902/APACHE/src/pdc_perl/bin/Linux/Opt/lib/site_perl/5.005
. /opt/ora9/product/9.2/Apache/Apache/
/opt/ora9/product/9.2/Apache/Apache/lib/perl
/opt/ora9/product/9.2/Apache/perl/lib/5.00503
/opt/ora9/product/9.2/Apache/perl/lib/site_perl/5.005)
at (eval 14) line 3.
B
--- 

Now in the path shown above (below
/opt/ora9/product/9.2/Apache/perl/lib/5.00503
/opt/ora9/product/9.2/Apache/perl/lib/site_perl/5.005/i686-linux),
 Apache/URI.pm is present. There is no other file
named URI in any other packages. 

Also, in the UserAgent.pm, there is no direct
reference to any URI.pm module.

So, which 'URI.pm' is being referred here & how is it
to be included in @INC ?

Thanks,
S

__
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree

-- 
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html



Re: ERROR : Can't locate URI.pm in @INC ?

2004-01-05 Thread Ruslan U. Zakirov
S D wrote:
I am trying to use the LWP module & the perl module
contains  :

.
.
use LWP::UserAgent;
.
.

This line throws error :

Can't locate URI.pm in @INC (@INC contains:
/opt/ora9/product/9.2/Apache/perl/lib/5.00503/i686-linux
/opt/ora9/product/9.2/Apache/perl/lib/5.00503
/opt/ora9/product/9.2/Apache/perl/lib/site_perl/5.005/i686-linux
/opt/ora9/product/9.2/Apache/perl/lib/site_perl/5.005
/project/linux/902/APACHE/src/pdc_perl/bin/Linux/Opt/lib/5.00503/i686-linux
/project/linux/902/APACHE/src/pdc_perl/bin/Linux/Opt/lib/5.00503
/project/linux/902/APACHE/src/pdc_perl/bin/Linux/Opt/lib/site_perl/5.005/i686-linux
/project/linux/902/APACHE/src/pdc_perl/bin/Linux/Opt/lib/site_perl/5.005
. /opt/ora9/product/9.2/Apache/Apache/
/opt/ora9/product/9.2/Apache/Apache/lib/perl
/opt/ora9/product/9.2/Apache/perl/lib/5.00503
/opt/ora9/product/9.2/Apache/perl/lib/site_perl/5.005)
at (eval 14) line 3.
B
--- 

Now in the path shown above (below
/opt/ora9/product/9.2/Apache/perl/lib/5.00503
/opt/ora9/product/9.2/Apache/perl/lib/site_perl/5.005/i686-linux),
 Apache/URI.pm is present. There is no other file
named URI in any other packages.
locate URI.pm ?

There is standalone module URI on CPAN. You have to install it.

	Good luck. Ruslan.
Also, in the UserAgent.pm, there is no direct
reference to any URI.pm module.
So, which 'URI.pm' is being referred here & how is it
to be included in @INC ?
Thanks,
S
__
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree


--
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html


Perl conf: multiple customlog

2004-01-05 Thread Francesc Guasch
I'm trying to build a configuration with some customlogs.
Here's what I tried unsuccessfully, someone could give
me any hint about it ?
 $VirtualHost{$vhost}={
ServerName=>$HostName,
ServerAlias=>$ServerAliases,
DocumentRoot=>$ebd->{ApacheDocumentRoot},
CustomLog=>[
  "$log_proxy combined-proxy env=proxy",
  "$log_no_proxy combined env=!proxy"
],

 }
I also tried:

CustomLog=>{
  $log_proxy => 'combined-proxy env=proxy',
  $log_no_proxy => 'combined env=!proxy'
},
CustomLog=>{
   'combined-proxy env=proxy' => $log_proxy
   'combined env=!proxy' => $log_no_proxy
},
I only can make it work if I only have one CustomLog entry
in a scalar but I need both.
Thank you for your time.



--
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html