Re: must I use mod-perl

2003-07-14 Thread Ged Haywood
Hi there, On Sun, 13 Jul 2003, Dennis Stout wrote: I downloaded source for Apache, PHP, and mod_perl and compiled it all and had it working in about the time it took to download it + compile time + about 5 minutes. There is no config to mod_perl really. Either it's there or it isn't.

Re: Few Important Questions

2003-07-14 Thread Stas Bekman
Eric Cholet wrote: Mustafa Tan wrote: Hi Everybody, mod_perl is a great software. Thanks for everybody who spent time on it and make it available. When you send a reply to this, can you also describe how we can help, as an individiual, to support mod_perl and people behind it financially.

[mp2] Apache::DBI

2003-07-14 Thread Beau E. Cox
Hi - I am running Apache 2.0.47/mod_perl 1.99-dev-10-cvs on SuSE Linux 8.2. I am trying to install and use Apache::DBI. 1) I get this error in make test: is($thread_1, $thread_2, got the same connection both times); It seems the I do not get the same connection. 2) The documentation

[ANNOUNCE] Apache::SessionManager 0.05

2003-07-14 Thread Enrico Sorcinelli
The uploaded file Apache-SessionManager-0.05.tar.gz has entered CPAN as file: $CPAN/authors/id/E/EN/ENRYS/Apache-SessionManager-0.05.tar.gz size: 20891 bytes md5: 59a42fa50c52871843f50ae8e820e5a7 Changes from previous version - + Added syntax control

Re: [mp2] Apache::DBI

2003-07-14 Thread Haroon Rafique
On Yesterday at 10:01pm, BEC=Beau E. Cox [EMAIL PROTECTED] wrote: BEC BECShould I use 'connect' in my startup.pl? BEC BEC Have any of you sucessfully installed and used ADBI under BEC mod_perl 2? Any advice on what I'm missing? BEC Hi Beau, I'm using apache 2.0.46, mod_perl 1.9909, perl

Re: [MP2 - BUG ?] Issue handing Apache config. error messages

2003-07-14 Thread Issac Goldstand
Right. Could you possibly clarify the difference between SetHandler perl-script and SetHandler modperl? I'm still not sure I've got the straight of it yet... Issac Stas Bekman wrote: Sreeji K Das wrote: [...] You need to use 'SetHandler perl-script' for that, see:

Re: segmentation fault under mod_perl+XML::XPath

2003-07-14 Thread Ruslan U. Zakirov
Hello, Ged and other. Thanks for long suggestion letter. I've solved my problem with mod_perl compiled staticaly. GH Hi there, GH Haven't seen any replies, so I thought you'd like to hear from someone. :) Thanks... GH On Wed, 2 Jul 2003, Ruslan U. Zakirov wrote: I've tried to use

Re: module ported and doc addition...

2003-07-14 Thread Stas Bekman
Shannon Eric Peevey wrote: Shannon Eric Peevey wrote: Hi! Just wanted to let everyone know that I have just finished porting the Apache-AuthExpire module to work with both modperl1 and 2. It is a: # Small mod_perl handler to provide Authentication phase time outs for #

Re: Socket-based porotocol module: how to re-use connection?

2003-07-14 Thread Stas Bekman
Jie Gao wrote: Hi All, I am playing with a socket-based protocol module based on Stas' MyApache::EchoSocket. I wonder what is needed to enable the function of re-using connections? As long as you don't quit the handler you keep the connection open. However I still have to investigate what are

Re: [ANNOUNCE] libapreq-1.2 release

2003-07-14 Thread Stas Bekman
Joe Schaefer wrote: libapreq-1.2.tar.gz (Apache::Request) is now on CPAN: file: $CPAN/authors/id/J/JO/JOESUF/libapreq-1.2.tar.gz size: 277549 bytes md5: ae08726f11ca25a215d4d854d675c3ff and at www.apache.org: file: http://www.apache.org/dist/httpd/libapreq-1.2.tar.gz sig:

Re: [RELEASE CANDIDATE] Apache::Test 1.03-dev

2003-07-14 Thread Stas Bekman
Rob Bloodgood wrote: Tuesday, June 24, 2003, 1:51:51 PM, you wrote: JS Rob Bloodgood [EMAIL PROTECTED] writes: JS [...] *** root mode: changing the fs ownership to 'nobody' (99:99) /usr/sbin/httpd -X -d /root/.cpan/build/Apache-Test-1.03/t -f /root/.cpan/build/Apache-Test-1.03/t/conf/httpd

Re: informational notice in Makefile.PL

2003-07-14 Thread Stas Bekman
Shannon Eric Peevey wrote: Hi! In an attempt to simplify the install process for dependencies with my modules, I have been using the ExtUtils::AutoInstall module. (Great module, BTW :) ) But, with the current state of affairs with mod_perl and its availability from CPAN, I wanted to through

Re: Books - was How practical is that Practical mod_perl?

2003-07-14 Thread Stas Bekman
Alex McLintock wrote: At 17:40 12/06/03 -0400, Perrin Harkins wrote: On Thu, 2003-06-12 at 17:31, Gedanken wrote: speaking of mod perl books, i have gotten lost somewhere. theres the eagle book, theres stas' book (practical mod_perl i learned today), and theres 'geoffs book'. what is the

Re: 6 months of labour

2003-07-14 Thread Stas Bekman
Clinton Gormley wrote: Hi all Well, my last 6 months of loving labour has finally drawn to a close with the launch of my site. http://www.traveljury.com is supposed to be an IMDB style travel site, which will contain the type of information you would find in Lonely Planet or Rough Guides, but

Re: [mp2] Having trouble setting params with CGI

2003-07-14 Thread Stas Bekman
Michael Maciag wrote: I'm trying to use CGI to get/set params within my mp2 PerlResponseHandler, at least until Apache::Request for mp2 is released. The get works just fine but my clients don't see the params I'm trying to set. Is it likely I just have an error somewhere or is there anything I

Re: ModPerl debugging

2003-07-14 Thread Stas Bekman
Christopher Knight wrote: Im getting an error with ModPerl::Registry and ModPerl::PerlRun (I tried both just in case)(that doesnt happen under CGI) that tells me I have an errror... (ya... that is about how usefull it is) ###SNIP### [Tue Jun 24 08:15:58 2003] [error] 16728: ModPerl::PerlRun: Not

Re: [mp2] Apache::DBI

2003-07-14 Thread Beau E. Cox
- Original Message - From: Haroon Rafique [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, July 14, 2003 3:23 AM Subject: Re: [mp2] Apache::DBI On Yesterday at 10:01pm, BEC=Beau E. Cox [EMAIL PROTECTED] wrote: BEC BECShould I use 'connect' in my startup.pl? BEC BEC Have

Re: [mp2] Can't call method method on an undefined value ... TestRequest.pmline 411

2003-07-14 Thread Stas Bekman
Doug Wyatt wrote: Also, it appears that blib/lib/Bundle/ApacheTest.pm is missing a ';' at the end of the third line. thanks, committed. -- __ Stas BekmanJAm_pH -- Just Another mod_perl Hacker http://stason.org/

Re: mp2: some POST data is showing up as a hashref after I parseit

2003-07-14 Thread Stas Bekman
Carl Brewer wrote: Apache 2.0.46 modperl 1.99-10.dev (CVS snapshot from last night) perl 5.8.0 NetBSD 1.6.1 I've got a form that I'm posting to an MP2 script, and am parsing the output with the following subroutines : sub hash_post { # returns a hash of all the POST values my ($r) = shift;

Re: Question about Apache::Request and query strings

2003-07-14 Thread Stas Bekman
Tom Gazzini wrote: I have a perl function which, amongst other things, needs to redirect the request to another page. It also needs to pass all the query parameters of the original request (both GET and POST) to the redirected page, and also add one parameter of it's own (an error message). Sounds

Re: mod_perl Redirect Error

2003-07-14 Thread Stas Bekman
Rasoul Hajikhani wrote: Hello there, We have just upgraded to : Apache/1.3.27 Ben-SSL/1.48 (Unix) PHP/4.2.3 mod_perl/1.27 configured Running perl 5.6.1. I am getting 302 error message on my redirects. This comes as a complete surprise since the same piece of code works just fine on:

Apache dont run

2003-07-14 Thread AROSO Jose Antonio
Hi. I install the all in one package which contain the modperl 2.0 and de apache server 2.0.46. But after install when i write in command line apache to run the server appears The dynamic link library libxml2.dll could not be found. What do i do? thanks Jose Santos Jose Antonio Aroso Santos

Re: Apache dont run

2003-07-14 Thread Thomas Klausner
Hi! On Mon, Jul 14, 2003 at 04:59:17PM +0100, AROSO Jose Antonio wrote: I install the all in one package which contain the modperl 2.0 and de apache server 2.0.46. But after install when i write in command line apache to run the server appears The dynamic link library libxml2.dll could not

Re: [RFC] web-messaging application for mod_perl

2003-07-14 Thread Stas Bekman
Adi Fairbank wrote: On, or in the near vicinity of Tue, 1 Jul 2003 11:23:00 +0200 Enrico Sorcinelli [EMAIL PROTECTED] has thus spoken: On Mon, 30 Jun 2003 12:57:00 -0700 Adi Fairbank [EMAIL PROTECTED] wrote: Apache::WebMessaging I am about ready to release an intraserver web-messaging

[admin] please trim the quoted text in replies to a minimum

2003-07-14 Thread Stas Bekman
As I'm catching up with a big backlog of mod_perl emails I notice that some readers tend to either respond on top of a message with the original message quoted below it, and some readers nicely followup at the end of the message but keep the whole quoted original message on top. These

Abusing apache auth phases [FWD: [Re: Combining authen-handler with mod_auth]]

2003-07-14 Thread Martin Wickman
Any thoughts on this stuff? I'd like to try my ideas on the list before going ahead and implementing it in practice. - Forwarded message from Martin Wickman [EMAIL PROTECTED] - From: Martin Wickman [EMAIL PROTECTED] Subject: Re: Combining authen-handler with mod_auth On Mon, Jul 07,

Re: errors installing libapreq [RESOLVED]

2003-07-14 Thread Stas Bekman
Chris Devers wrote: Well, I rebuilt Apache/mod_perl, and it seemed to work. For those that hit the same error, the fix -- which I've saved as a script for future reference :) -- is as follows: * Install Apache/mod_perl: #!/bin/sh # chd.build.apachemodperl.sh perl=/sw/bin/perl

Memoize.pm and mod_perl

2003-07-14 Thread sxm124
Has anyone used the Memoize module extensively in a mod_perl environment? I am thinking of using it to cache queries from the database, particularly for lookups (somthing like $obj-get_name_from_id()). In many cases the data is static so I don't mind is staying over from one request to the

Re: Memoize.pm and mod_perl

2003-07-14 Thread Perrin Harkins
On Mon, 2003-07-14 at 14:12, [EMAIL PROTECTED] wrote: Has anyone used the Memoize module extensively in a mod_perl environment? I'd suggest you use Cache::FileCache, MLDBM::Sync, or Cache::Mmap instead. Memoize is cool, but unnecessary if you are planning ahead like this. - Perrin

Re: must I use mod-perl

2003-07-14 Thread Perrin Harkins
On Sun, 2003-07-13 at 16:53, Oskar wrote: Install it if you have a lot of time. It took me week to config it and month for rewritting scripts. Oskar, Is there something specific that would have helped you get going faster? Did you find the documentation you needed? - Perrin

Re: Memoize.pm and mod_perl

2003-07-14 Thread Bill Marrs
I don't know anything about Memoize, but perhap db-level caching would work for you? If you user MySQL, Mysql 4.0.1 and beyond has Query Caching capabilities built into it. http://www.mysql.com/documentation/mysql/bychapter/manual_Reference.html#Query_Cache -=bill

Re: make test fails when calling getaddrinfo() on 255.255.255.255

2003-07-14 Thread Stas Bekman
ColinB wrote: --- Stas Bekman [EMAIL PROTECTED] wrote: ColinB wrote: I am compiling mod_perl 2.0 on Solaris 9. When I run make test for mod_perl 2.0 it fails almost immediately with file vhost.c, line 232, assertion rv == APR_SUCCESS failed after it calls apr_sockaddr_info_get() with the

Re: Dynamically banning hosts

2003-07-14 Thread Perrin Harkins
On Fri, 2003-07-11 at 22:33, Mustafa Tan wrote: Is it possible to dynamically ban IP addresses using mod_perl. [...] Also how can I cope with denial of service attacks? Randal has a column that shows a technique for dealing with this: http://www.stonehenge.com/merlyn/LinuxMag/col17.html You

Bareword Apache::OK not allowed, Apache::PerlSection

2003-07-14 Thread Alexander Newald
Hello, I have installed mod_perl2 (http://perl.apache.org/dist/mod_perl-2.0-current.tar.gz, mod_perl-1.99_09) with cd mod_perl-1.99_09 perl Makefile.PL MP_INST_APACHE2=1 MP_AP_PREFIX=/usr/local/apache2 and added LoadModule perl_module modules/mod_perl.so Perl $ServerName = `hostname`; /Perl

Re: Flushing

2003-07-14 Thread Stas Bekman
Oskar wrote: Hi, I have script that is doing some time consuming operations hence have set $|=1 to disable buffering. It works correctly in command line but when I run it as cgi it does buffers everything and flushing does not work. After reaching timeout limit it displays server error. I have

[DIGEST] mod_perl digest 2002/06/30

2003-07-14 Thread jgsmith
-- mod_perl digest June 30, 2003 - July 13, 2003 -- Recent happenings in the mod_perl world... Features o

Re: module ported and doc addition...

2003-07-14 Thread Shannon Eric Peevey
Stas Bekman wrote: Shannon Eric Peevey wrote: Shannon Eric Peevey wrote: Hi! Just wanted to let everyone know that I have just finished porting the Apache-AuthExpire module to work with both modperl1 and 2. It is a: # Small mod_perl handler to provide Authentication phase

[ANNOUNCE] HTTP-WebTest 2.03

2003-07-14 Thread Ilya Martynov
The URL http://martynov.org/tgz/HTTP-WebTest-2.03.tar.gz has entered CPAN as file: $CPAN/authors/id/I/IL/ILYAM/HTTP-WebTest-2.03.tar.gz size: 90135 bytes md5: cc49ade2d6955fa20dd30b1f88862943 NAME HTTP::WebTest - Testing static and dynamic web content DESCRIPTION This

Re: Apache dont run

2003-07-14 Thread Randy Kobes
On Mon, 14 Jul 2003, AROSO Jose Antonio wrote: I install the all in one package which contain the modperl 2.0 and de apache server 2.0.46. But after install when i write in command line apache to run the server appears The dynamic link library libxml2.dll could not be found. What do i do?

RE: [mod_perl] Re: Content compression FAQ

2003-07-14 Thread Ross Matt-QMR000
I like to be removed from this list but the un-scribe does not work for me. the problem is the mail address that I used way back when has been aliases. -Original Message- From: Jonathan M. Hollin [mailto:[EMAIL PROTECTED] Sent: Friday, July 11, 2003 2:37 AM To: Slava Bizyayev; mod_perl

AuthenNTLM - Help

2003-07-14 Thread Francisco de Assis Tristão
Frank, please, i am trying to configure AuthenNTLM on a solaris 2.8 (SPARC) machine. But i did not find any sample about how to configure httpd.conf. May you help me? I had compiled apache 2 version 2.0.46 with ssl suport (i am configuring it with mod_jk and Tomcat too). Do i need to have mod_perl

Re: must I use mod-perl

2003-07-14 Thread Les Mikesell
From: Oskar [EMAIL PROTECTED] Install it if you have a lot of time. It took me week to config it and month for rewritting scripts. A RedHat 7.3 install with current updates should run mod_perl nicely with only the changes to httpd.conf to load the dso and use it as a handler. However, as to

Virtual Host Logging Perl Script

2003-07-14 Thread Jez Hancock
Hi, I've just written a short perl script to perform logging for our virtual hosts. The code has plenty of comments so I'll paste it below. My question is: would it be possible to use mod_perl in some way to perform the function of the script? In testing the speed of the script seems

Virtual Host Logging Perl Script

2003-07-14 Thread Jez Hancock
Hi, I've just written a short perl script to perform logging for our virtual hosts. The code has plenty of comments so I'll paste it below. My question is: would it be possible to use mod_perl in some way to perform the function of the script? In testing the speed of the script seems

mod-perl - read

2003-07-14 Thread Siva Yendapalli
I am totally a newbie to mod_perl. I could able to get the content length using $r-headers_in("Content-Length"). but I don't see anything in the $buf when I call the function $r-read($buf,$r-headers_in("Content-Length")). I am sure I am doing some thing wrong with the configuration or with

ANNOUNCE: Mason 1.22

2003-07-14 Thread Dave Rolsky
1.22 July 14, 2003 [ ENHANCEMENTS ] - Added $m-has_content to check for content without evaluating it. - Comments are now allowed on separate lines inside %attr and %flags blocks. Task id #475. - $m-subexec and $m-make_subrequest now accept relative paths which are interpreted relative to the

Re: informational notice in Makefile.PL

2003-07-14 Thread Shannon Eric Peevey
Stas Bekman wrote: Shannon, can you please post this follow up to the list? Sorry, thought I got... Eric Peevey wrote: Stas Bekman wrote: Shannon Eric Peevey wrote: Hi! In an attempt to simplify the install process for dependencies with my modules, I have been using the

Re: informational notice in Makefile.PL

2003-07-14 Thread Randy Kobes
On Mon, 14 Jul 2003, Stas Bekman wrote: [ ... ] Are you talking about the dependencies list? by 'the current state of affairs with mod_perl 2.0', you mean that it's not indexed by PAUSE. It's available from CPAN. Actually, once it gets indexed by CPAN it'll break all the other modules which

Re: [admin] please trim the quoted text in replies to a minimum

2003-07-14 Thread Dennis Stout
Of course don't jump to the other exteme edge and overtrim. Use your common sense as a guide to how much is enough to keep the sufficient context. I remember once upon a lot of bluemoons ago, in the days when FidoNet took place over phone line and 2400baud modems, when client readers would

Re: [RFC] web-messaging application for mod_perl

2003-07-14 Thread Adi Fairbank
On, or in the near vicinity of Mon, 14 Jul 2003 18:49:58 +0300 Stas Bekman [EMAIL PROTECTED] has thus written: Probably the best bet is to give it some cool unique name, like Apache::AdiChat and then you are all set, since you are not going to take over any future framework/namespaces...

Re: Combining authen-handler with mod_auth

2003-07-14 Thread Geoffrey Young
Instead of trying to cram multiple perl-script into the same Authen phase, which btw could not be done without patching Apache and/or mod_perl, if by perl-script you mean mod_perl handlers, that's not really true. currently, mod_perl will run all configured PerlAuthenHandlers until one