Re: mod_perl configuration

2009-04-07 Thread William A. Rowe, Jr.
sandhya pawar wrote: > mod_perl.so has been successfully installed to > C:/PROGRA~1/APACHE~1/Apache2.2/modules. > To enable mod_perl, put in the directives >LoadFile "C:/Path/to/Perl/bin/perl510.dll" >LoadModule perl_module modules/mod_perl.so > in httpd.conf. For more information, visit >

mod_perl configuration

2009-04-07 Thread sandhya pawar
operating System: Vista ActivePerl5.10 Apache 2.2.11 mod_perl2.004 Mod_perl has been installed successfully for Perl5.10. C:\>ppm install http://cpan.uwinnipeg.ca/PPMPackages/10xx/mod_perl.ppd Downloading mod_perl-2.04...done Unpacking mod_perl-2.04...done Generating HTML for mod_perl-2.

Re: [mp2] accessing mod_perl configuration from another C module

2006-09-14 Thread Srebrenko Sehic
On 9/14/06, Srebrenko Sehic <[EMAIL PROTECTED]> wrote: I need to tap into PerlSetVar table from another C module. In mp1, you can do something like the following: #include "mod_perl.h" perl_dir_config *c = (perl_dir_config *) ap_get_module_config(r->per_dir_config, &perl_module); table *pe

[mp2] accessing mod_perl configuration from another C module

2006-09-14 Thread Srebrenko Sehic
I need to tap into PerlSetVar table from another C module. In mp1, you can do something like the following: #include "mod_perl.h" perl_dir_config *c = (perl_dir_config *) ap_get_module_config(r->per_dir_config, &perl_module); table *perl_vars = c->vars; char *value = ap_table_get(perl_vars,

Re: mod_perl configuration trouble

2005-06-23 Thread Jan Eden
Geoffrey Young wrote on 22.06.2005: > >>But this does not solve my real problem, i.e. that the modules are >>not found when running my scripts. >> >>[Wed Jun 22 18:04:12 2005] [error] Can't locate Apache/RequestRec.pm > >you initially said you were using mod_perl 2.0.1. if that's true >it's Apach

Re: mod_perl configuration trouble

2005-06-22 Thread Jan Eden
Jan Eden wrote on 22.06.2005: >Geoffrey Young wrote on 22.06.2005: > >> >>>..[Wed Jun 22 17:20:49 2005] [error] Insecure directory in >>>$ENV{PATH} while >>running with -T switch >> >>clean up your path and you should be ok - this is keeping >>Apache::Test* from loading properly. in other words,

Re: mod_perl configuration trouble

2005-06-22 Thread Geoffrey Young
> But this does not solve my real problem, i.e. that the modules are not > found when running my scripts. > > [Wed Jun 22 18:04:12 2005] [error] Can't locate Apache/RequestRec.pm you initially said you were using mod_perl 2.0.1. if that's true it's Apache2::RequestRec you're after, not Apache::

Re: mod_perl configuration trouble

2005-06-22 Thread Jan Eden
Geoffrey Young wrote on 22.06.2005: > >> ..[Wed Jun 22 17:20:49 2005] [error] Insecure directory in $ENV{PATH} while >running with -T switch > >clean up your path and you should be ok - this is keeping Apache::Test* >from loading properly. in other words, it's not that it can't find the >module

Re: mod_perl configuration trouble

2005-06-22 Thread Geoffrey Young
> ..[Wed Jun 22 17:20:49 2005] [error] Insecure directory in $ENV{PATH} while > running with -T switch clean up your path and you should be ok - this is keeping Apache::Test* from loading properly. in other words, it's not that it can't find the modules it needs, they just can't load because s

Re: mod_perl configuration trouble

2005-06-22 Thread Jan Eden
Joe Cullin wrote on 22.06.2005: >Also, PerlHandler was replaced with PerlResponseHandler in 2.0. > >PerlResponseHandler ModPerl::Registry > >It's kind of tough learning mod_perl right now, because all the >books give 1.0 examples, and 2.0 seems to have a lot of small >differences. The docs at per

Re: mod_perl configuration trouble

2005-06-22 Thread Joe Cullin
Also, PerlHandler was replaced with PerlResponseHandler in 2.0. PerlResponseHandler ModPerl::Registry It's kind of tough learning mod_perl right now, because all the books give 1.0 examples, and 2.0 seems to have a lot of small differences. The docs at perl.apache.org are a good reference. H

Re: mod_perl configuration trouble

2005-06-22 Thread Jan Eden
Geoffrey Young wrote on 22.06.2005: >Jan Eden wrote: >>Hi, >> >>I recently installed mod_perl 2.0.1 as a DSO to Apache 2.0.53 (on >>OS X 10.3.9). The simple example from the docs works: >> >>Can't locate loadable object for module Apache::Constants in @INC >>Can't load Perl module Apache::Registry

Re: mod_perl configuration trouble

2005-06-22 Thread Geoffrey Young
Jan Eden wrote: > Hi, > > I recently installed mod_perl 2.0.1 as a DSO to Apache 2.0.53 (on OS > X 10.3.9). The simple example from the docs works: > > Can't locate loadable object for module Apache::Constants in @INC > Can't load Perl module Apache::Registry for server 127.0.0.1:0, > exiting...

mod_perl configuration trouble

2005-06-22 Thread Jan Eden
Hi, I recently installed mod_perl 2.0.1 as a DSO to Apache 2.0.53 (on OS X 10.3.9). The simple example from the docs works: Alias /perl/ /home/httpd/httpd-2.0/perl/ SetHandler perl-script PerlResponseHandler ModPerl::Registry PerlOptions +ParseHeaders Options +ExecCGI