Re: mod_proxy_add_forward

2006-05-04 Thread Kepi

Hi,

I'm using mod_rpaf for many years. I think it can provide you with same
functionality and it is very easy to setup and compile.

http://stderr.net/apache/rpaf/

Kepi

David Romero wrote:

Hi
I need the client ip on a backend server.

docs say.
that i need the mod_proxy_add_forward.c module for apache, but i not 
find the module.

the web page http://develooper.com/code/mpaf/ send Forbidden error

Some one can share to me this module?
Or have other ways to obtain the client ip on a backend server 
(mod_proxy - mod_perl)


Thanks on advantage.




Problem with installing mod_perl - my_perl undeclared

2006-05-01 Thread Kepi
Hi all,

I'm using mod_perl for about two years and have no significant problem.
But yesterday I tried to install mod_perl 2.0.2 on my machine and got
this:

cc -I/usr/local/src/lamps/mod_perl-2.0.2/src/modules/perl
-I/usr/local/src/lamps/mod_perl-2.0.2/xs
-I/home/www/phpperl/include/apache -I/home/www/phpperl/include/apache
-I/home/www/phpperl/include/apache -D_REENTRANT -D_GNU_SOURCE
-DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -I/usr/local/include
-I/usr/lib/perl/5.8/CORE -DMOD_PERL -DMP_COMPAT_1X -DLINUX=2
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -O2 -fPIC \
-c modperl_xsinit.c  mv modperl_xsinit.o modperl_xsinit.lo
modperl_xsinit.c: In function `xs_init':
modperl_xsinit.c:30: error: `my_perl' undeclared (first use in this
function)
modperl_xsinit.c:30: error: (Each undeclared identifier is reported only
once
modperl_xsinit.c:30: error: for each function it appears in.)
modperl_xsinit.c:30: warning: passing arg 3 of `Perl_newXS' from
incompatible pointer type
make[1]: *** [modperl_xsinit.lo] Error 1
make[1]: Leaving directory
`/usr/local/src/lamps/mod_perl-2.0.2/src/modules/perl'
make: *** [modperl_lib] Error 2


I'm compiling with:
perl Makefile.PL MP_APXS=/home/www/perl/sbin/apxs
make

Same problem is with mod_perl 2.0.1 which I installed without problem
some time ago.

I have no idea what I have wrong, from README and other documentation I
cannot see some dependecies which can make this bug. I think that maybe
there is missing some module or some module is corrupted

$ perl -v
This is perl, v5.8.4 built for i386-linux-thread-multi

System is Debian GNU/Linux 3.1 with standard perl modules and some
modules packaged with dh-make-perl from CPAN.

Thanks for any help

--
Ondra 'Kepi' Kudlik
Debian GNU/Linux User



!DSPAM:5,44568a41326636858866211!