Re: Apache->server_root_relative(); not found

2002-06-04 Thread Stas Bekman
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

Re: Apache->server_root_relative(); not found

2002-06-04 Thread m31
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

Re: Re: Apache->server_root_relative(); not found

2002-06-04 Thread Per Einar Ellefsen
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

Re: Apache->server_root_relative(); not found

2002-06-04 Thread Stas Bekman
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

Re: Re: Apache->server_root_relative(); not found

2002-06-04 Thread m31
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

Re: Apache->server_root_relative(); not found

2002-06-03 Thread Per Einar Ellefsen
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

Re: Apache->server_root_relative(); not found

2002-06-03 Thread Stas Bekman
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

Re: Apache->server_root_relative(); not found

2002-06-03 Thread m31
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 {

Re: Apache->server_root_relative(); not found

2002-06-03 Thread Stas Bekman
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 >

Apache->server_root_relative(); not found

2002-06-02 Thread m31
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

Re: Apache->server_root_relative not found?

2000-12-21 Thread Doug MacEachern
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

Apache->server_root_relative not found?

2000-11-27 Thread The BOFH
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