Re: MP2 Location and PerlModule

2005-01-30 Thread Philippe M. Chiasson
Stas Bekman wrote: angie ahl wrote: [...] It's explained here: http://perl.apache.org/docs/2.0/user/config/config.html#mod_perl_Directives_Argument_Types_and_Allowed_Location I suppose we could add an xref to this section from all config directives to make it more clear. So if you look at PerlM

Re: mod_perl.c:61: `my_perl' undeclared under Cygwin

2005-01-30 Thread Philippe M. Chiasson
Stas Bekman wrote: Nick *** wrote: [...] Yup, I can confirm that it's not working. I get a different error though: /home/stas/apache.org/mp2-svn/src/modules/perl/mod_perl.a(modperl_xsinit.o)(.text+0x11): In function `xs_init': /home/stas/apache.org/mp2-svn/src/modules/perl/modperl_xsinit.c:57: un

Re: [mp2] PerlAccessHandler not overriding PerlAuthenHandler

2005-01-30 Thread Stas Bekman
Geoffrey Young wrote: $r->set_handlers(PerlAuthenHandler => [\&OK]); this is the correct approach - OK means "I authenticated" and lets apache know that it should _not_ call mod_auth. however, the symbol OK doesn't exist in your setup, so you are essentially passing undef. the proper solution is

Re: Barrier to implementing web content compression in mod_perl

2005-01-30 Thread Stas Bekman
Alex Greg wrote: Hi, I've been trying for some considerable time now to implement web content compression for our application, but it seems impossible without a rewrite. [...] Has anyone else come across this problem, or can suggest a solution or alternative approach? I've discussed it with Slava B

Creating a filter for all text/html files

2005-01-30 Thread Scott Gifford
Hello, I'm working on moving a Web server to a new location, and to test it, I'd like to use a simple filter to replace all references to the old server name with the IP address of the new server. This is just for testing, so it's OK that it's not a perfect solution. Basically, I'm doing: s

Barrier to implementing web content compression in mod_perl

2005-01-30 Thread Alex Greg
Hi, I've been trying for some considerable time now to implement web content compression for our application, but it seems impossible without a rewrite. Our application is a (I assume) fairly typical Apache::Registry application. It used to run under mod_cgi but we're now running it under mod_p

Re: apxs:Error: Invalid query string `APR_VERSION'

2005-01-30 Thread [EMAIL PROTECTED]
I suggest you download apreq's current trunk and try that instead. Your problem may be that your debian apache2 binary isn't named "httpd". Trunk should get the true name from apxs now, but it's If I'm successful I'll post it on the appropriate list. :) possible that still doesn't work. If not,

Re: Perl success story in eWeek

2005-01-30 Thread Perrin Harkins
jonathan vanasco wrote: Thats a really funny story -- seeing as it covers UFT and DNC using open source apps. I just checked rnc.org, and predictably, its asp Development of it was outsourced to another country as well. The RNC isn't trying to hide that stuff, since it fits in just fine with t

Re: apxs:Error: Invalid query string `APR_VERSION'

2005-01-30 Thread Joe Schaefer
"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> writes: > I tried to install libapreq2-2.40-dev on a debian sarge like so > > ./configure --with-apache2-apxs=/usr/bin/apxs2 Questions about libapreq's configure build really belong on apreq-dev@, not on the modperl list. > Everything else is just

Re: [mp2] PerlAccessHandler not overriding PerlAuthenHandler

2005-01-30 Thread Geoffrey Young
> and I've tried all of the following to overide the AuthenHandler > > $r->set_handlers(PerlAuthenHandler => []); > $r->set_handlers(PerlAuthenHandler => undef) those only remove the PerlAuthenHandler from the handler chain. that is, since you probably have mod_auth installed, apache will move

Re: setting environment variables

2005-01-30 Thread Stef1
Frank Wiles wrote: On Sun, 30 Jan 2005 11:47:50 +0200 "Octavian Rasnita" <[EMAIL PROTECTED]> wrote: Hi, I have tried to put the following lines in httpd.conf: SetEnv user "gigel" SetEnv pass "parola" Well, if I print the environment variables using a cgi script, they are printe

apxs:Error: Invalid query string `APR_VERSION'

2005-01-30 Thread [EMAIL PROTECTED]
I tried to install libapreq2-2.40-dev on a debian sarge like so ./configure --with-apache2-apxs=/usr/bin/apxs2 I get the following apxs:Error: Invalid query string `APR_VERSION'. build/version_check.pl failed: no version_string found in ''. configure: error: Bad apache2 version Everyt

[mp2] PerlAccessHandler not overriding PerlAuthenHandler

2005-01-30 Thread angie ahl
Hi everyone. I think I only have 2 hurdles left to get my mp1 stuff running under mp2 I have an access handler that overrides my PerlAuthenHandler for a couple of locations: Here's the accesshandler: use Apache::Constants qw(OK); use strict; use warnings; sub handler { my $r = shift;

Re: Perl success story in eWeek

2005-01-30 Thread jonathan vanasco
Thats a really funny story -- seeing as it covers UFT and DNC using open source apps. I just checked rnc.org, and predictably, its asp On Jan 30, 2005, at 1:51 PM, Perrin Harkins wrote: I thought people would be pleased to hear that we (Plus Three) got a writeup in eWeek about one of our projec

Perl success story in eWeek

2005-01-30 Thread Perrin Harkins
I thought people would be pleased to hear that we (Plus Three) got a writeup in eWeek about one of our projects that uses mod_perl. It doesn't specifically say "mod_perl", but it does say open source, Perl, Apache, and Krang (the mod_perl-based CMS we used), which is better than I would have e

Re: setting environment variables

2005-01-30 Thread Pratik
Why not use PerlSetEnv ? -Pratik On Sun, 30 Jan 2005 12:20:08 -0600, Frank Wiles <[EMAIL PROTECTED]> wrote: > On Sun, 30 Jan 2005 11:47:50 +0200 > "Octavian Rasnita" <[EMAIL PROTECTED]> wrote: > > > Hi, > > > > I have tried to put the following lines in httpd.conf: > > > > SetEnv user "gigel" >

Re: setting environment variables

2005-01-30 Thread Frank Wiles
On Sun, 30 Jan 2005 11:47:50 +0200 "Octavian Rasnita" <[EMAIL PROTECTED]> wrote: > Hi, > > I have tried to put the following lines in httpd.conf: > > SetEnv user "gigel" > SetEnv pass "parola" > > Well, if I print the environment variables using a cgi script, they > are printed fine, but if I u

Re: Apache::DBI

2005-01-30 Thread Perrin Harkins
Ian Joyce wrote: Did you mean 'dbi_connect_method' instead of 'connect_method'? Yes, exactly. - Perrin

Re: [OSCon 2005 guidelines] what talks to submit

2005-01-30 Thread Slava Bizyayev
Thanks Stas, I got it. :) I create a new thread [OSCon 2005] rfc Open Source Dynamic Data Compression in order to proceed with the details of my talk proposal. 73, Slava On Sat, 2005-01-29 at 23:19, Stas Bekman wrote: > I didn't suggest to answer only compression specific question. I'm sure > yo

[OSCon 2005] rfc Open Source Dynamic Data Compression

2005-01-30 Thread Slava Bizyayev
I'm going to submit the following my talk proposal for a 45 minutes presentation session on OSCon 2005: Open Source Dynamic Data Compression in Business Implementations 1. Basics of the content compression. 2. Examples of compressed files; Benefits of data compression in numbers. 3. Dynam

Re: setting environment variables

2005-01-30 Thread Geoffrey Young
Octavian Rasnita wrote: > Hi, > > I have tried to put the following lines in httpd.conf: > > SetEnv user "gigel" > SetEnv pass "parola" > > Well, if I print the environment variables using a cgi script, they are > printed fine, but if I use MP, their values are not printed, and I can see > jus

setting environment variables

2005-01-30 Thread Octavian Rasnita
Hi, I have tried to put the following lines in httpd.conf: SetEnv user "gigel" SetEnv pass "parola" Well, if I print the environment variables using a cgi script, they are printed fine, but if I use MP, their values are not printed, and I can see just a: user= pass= Please tell me how can I do