Re: Apache 2.0.47, mod_perl.c

2003-08-21 Thread John Francis Lee
Hello Stas, I found and downloaded the rpm for mod_perl. Thanks. When I try to install it : [EMAIL PROTECTED] rpms]# rpm -Uvh mod_perl-1.99_09-6.i386.rpm warning: mod_perl-1.99_09-6.i386.rpm: V3 DSA signature: NOKEY, key ID 897da07a error: Failed dependencies: httpd-mmn = 20020903 is

Apache installation not accepting perl-script Handler

2003-08-21 Thread Gareth Kirwan
I have a mod perl installation, but it won't accept a perl-script handler. In a Location directive I set the handler to perl-script. It fails to execute the test file properly. I set it to cgi-script and it executes the file fine ( though I get complaints about doing Apache-request aftter

RE: Apache installation not accepting perl-script Handler

2003-08-21 Thread Gareth Kirwan
BTW - The script looks like this: #!/usr/local/bin/perl -w use strict;use Apache; print "Content-Type: text/html"; my $r = Apache-request; 1; and the error looks like this: Can't locate object method "request" via package "Apache" at /u/virtual/devel.*.com/perl-bin/Inslink.pl

RE: Apache installation not accepting perl-script Handler

2003-08-21 Thread Gareth Kirwan
I'm not using Apache 2.0 I'm using Apache 1.3. It seems that the url you posted: http://perl.apache.org/docs/2.0/user/porting/porting.html#Using_C_ModPerl__M ethodLookup__to_Discover_Which_mod_perl_2_0_Modules_Need_to_Be_Loaded Relates specifically to Apache 2.0 and mod_perl 2 ? Thanks G

Re: Apache installation not accepting perl-script Handler

2003-08-21 Thread Stas Bekman
When reporting problems, please *always* follow the guidelines: http://use.perl.org/bugs/ BTW - The script looks like this: #!/usr/local/bin/perl -w use strict; use Apache; print Content-Type: text/html; that has to be: print Content-Type: text/html\n\n; my $r = Apache-request; 1; and

Re: Apache 2.0.47, mod_perl.c

2003-08-21 Thread Perrin Harkins
On Thu, 2003-08-21 at 03:38, John Francis Lee wrote: I have the existing apache rpm 2.0.40 installed on rh 8.0 Not finding an rpm for apache 2.0.47, I downloaded, compiled and installed the source. What are you trying to do? Are you trying to get mod_perl working? You mentioned CGI scripts

RE: Apache installation not accepting perl-script Handler

2003-08-21 Thread Gareth Kirwan
Works a treat Stas, thank you very much. Ironically I've been using mod perl for a long time, but I've never known that it had to have a PerlHandler of Apache::Registry... Mainly because the module discription states that the module is used for running existing mod_cgi scripts under mod_perl. I

Re: pod files

2003-08-21 Thread Philippe M. Chiasson
On Fri, 2003-08-08 at 09:48, Stas Bekman wrote: ColinB wrote: A relatively trivial point, but I notice that the pod files cgi_to_mod_perl.pod mod_perl.pod mod_perl_tuning.pod these files are a history and they don't really exist any longer, other than in the distibution (should

Re: Apache 2.0, mod_perl filter question

2003-08-21 Thread Stas Bekman
Ilia Rassadzin wrote: Hello mod_perl, I have some problems with filtering HTTPS traffic. I modified for my needs FilterSnoop module from Stas Bekman filter tutorial. It perfectly sees HTTP data, but not HTTPS. Does anyone have any suggestions(ideas) about how to implement a filter which will see