m31 wrote:
> I think we've narrowed it down to three choices, but why would my @INC
> list one thing from the terminal and another from mod_perl? Are they two
> seperate @INC's?
mod_perl adds a few dirs to @INC on its own, but I still cannot
understand what is your problem. Let's say you want
Per Einar Ellefsen wrote:
> At 13:30 04.06.2002, m31 wrote:
>
>> Well, I printed out my @INC to screen, and now I have directories
>> that do not exist in it from putting the wrong path in the
>> server_root_relative method, can any-one tell me how to remove this
>> dir from @INC? I treid a f
At 13:30 04.06.2002, m31 wrote:
>Well, I printed out my @INC to screen, and now I have directories that do
>not exist in it from putting the wrong path in the server_root_relative
>method, can any-one tell me how to remove this dir from @INC? I treid a
>few ways but to no sucess.
Restart your
m31 wrote:
> Thank you all for your help. You are correct, I didn't dawn on me that
> my ServerRoot is somewhat different than my document root. I was
> expecting it to return my documenrt root.
> (embarasment...hence SERVER_ROOT_relative())
> Well, I printed out my @INC to screen, and now I
Stas Bekman wrote:
>On Mon, 3 Jun 2002, m31 wrote:
>
>>Yes, I'm running it under mod_perl/1.27 which I compiled as a DSO with
>>apxs. This also gave me errors under 1.25, I just pushed @INC to solve
>>it but I would like to use server_root_relative. I have it in a startup
>>script, the one fro
At 02:16 04.06.2002, m31 wrote:
>I am running OSX 10.1.4/Darwin. Dont think that has anything to do with it
>though.
It might. It has been stated on the dev list that the "lib" pragma has a
problem under Darwin. Could you try:
BEGIN {
unshift @INC, Apache->server_root_relative('lib/per
On Mon, 3 Jun 2002, m31 wrote:
> Yes, I'm running it under mod_perl/1.27 which I compiled as a DSO with
> apxs. This also gave me errors under 1.25, I just pushed @INC to solve
> it but I would like to use server_root_relative. I have it in a startup
> script, the one from the eagle book. It g
Yes, I'm running it under mod_perl/1.27 which I compiled as a DSO with
apxs. This also gave me errors under 1.25, I just pushed @INC to solve
it but I would like to use server_root_relative. I have it in a startup
script, the one from the eagle book. It goes like:
#! /usr/bin/perl
BEGIN {
m31 wrote:
> HI, sorry if this is the wrong place, I am new to the mailing list.
This is the right place. If you are new to mod_perl, you probably want
to read the docs first. See: http://perl.apache.org/release/docs/
> I have apache/1.3.23 and mod_perl/1.27 (I just upgraded) and perl/5.6.0
>
HI, sorry if this is the wrong place, I am new to the mailing list.
I have apache/1.3.23 and mod_perl/1.27 (I just upgraded) and perl/5.6.0
When I try:
BEGIN {
use Apache ();
use lib Apache->server_root_relative('lib/perl');
}
I get compilation errors saying that it can't locate object
On Mon, 27 Nov 2000, The BOFH wrote:
> BEGIN {
>use Apache ();
>use lib Apache->server_root_relative('libperl'); ##
> /usr/local/apache/libperl created
> }
...
> perl -cw modperl_startup.pl returns:
>
> Can't locate object method "server_root_relative" via package "Apache" at
> con
Installed Apache with mod_perl on Mandrake 7.2:
[Mon Nov 27 17:44:43 2000] [notice] Apache/1.3.14 (Unix) mod_perl/1.24_01
mod_ssl/2.7.1 OpenSSL 0.9.6 configured -- resuming normal operations
Installed Apache::MP3 from Lincoln Stein, that works fine.
In an effort to start learning the detai
12 matches
Mail list logo