Re: Creating a filter for all text/html files

2005-02-02 Thread Scott Gifford
"Philippe M. Chiasson" <[EMAIL PROTECTED]> writes: > Scott Gifford wrote: >> Hello, >> [...] >> >> I've got it working right now, but I'd like it to know the >> Content-Type that Apache would use for a document, so I can decide >> whether to filter it and so I can send a correct Content-Type heade

Re: setting environment variables

2005-02-02 Thread Randy Kobes
On Wed, 2 Feb 2005, Stas Bekman wrote: > Randy Kobes wrote: > [...] > > So the behaviour of SetEnv changed from Apache-1 to > > Apache-2, as far as Win32 case goes, while PerlSetEnv > > maintained the same behaviour from mp1 to mp2. > > > > I suppose one could argue that we should change > > PerlS

Re: [OSCon 2005 guidelines] what talks to submit

2005-02-02 Thread Stas Bekman
Stas Bekman wrote: To remind: OSCON will be August 1-5 in Portland, OR. http://conferences.oreillynet.com/os2005/ It is moving to the Oregon Convention Center, a much (MUCH) larger venue with significantly larger rooms for all tracks. No more being banished to the third floor slums! As I have m

Re: [OSCon 2005] rfc Open Source Dynamic Data Compression

2005-02-02 Thread Stas Bekman
Slava Bizyayev wrote: 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

Re: easiest way to build apache 1 w/ static perl, rewrite, and proxy

2005-02-02 Thread Geoffrey Young
Kevin Murphy wrote: > Hi, > > What's the preferred way to build Apache 1.3.33 with mod_perl 1.29, > mod_rewrite, and mod_proxy compiled in. (I happen to be using Mac OS X > 10.2 and perl 5.8.6, btw.) > > For some reason, while the mod_perl documentation is enormous, it is not > clear how to do

Re: Problem using tie with Apache::RequestRec in mod_perl/1.999.21

2005-02-02 Thread Stas Bekman
J Matisse Enzer wrote: I am using a module that wants to tie to the Apache::RequestRec The following code works in mod_perl/1.99_12 but does not seem to work in mod_perl/1.999.21 - I simply get no output (no errors either): tie *FILE => $r; binmode(*FILE); Server info: Apache/2.0

Re: make test failed on solaris 8

2005-02-02 Thread Stas Bekman
Tulan W. Hu wrote: 1) Don't worry about the t/TEST -verbose t/apr/util.t anymore. The problem went away after I removed all RC4 and rebuilt it. don't really know what had happened. Cool. 2) After you mentioned AAA, I thought about our private modules again. By default, they use cookie to au

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

2005-02-02 Thread Philippe M. Chiasson
Nick *** wrote: > >Stas Bekman wrote: >> Nick *** wrote: [...] > [...] >It's fixed in r149218, was a simply typo in lib/ModPerl/BuildMM.pm What is 'r149218'? I used the latest svn snapshot from today and it wasn't working. r149218 is subversion revision 149218 of the asf repository. You

easiest way to build apache 1 w/ static perl, rewrite, and proxy

2005-02-02 Thread Kevin Murphy
Hi, What's the preferred way to build Apache 1.3.33 with mod_perl 1.29, mod_rewrite, and mod_proxy compiled in. (I happen to be using Mac OS X 10.2 and perl 5.8.6, btw.) For some reason, while the mod_perl documentation is enormous, it is not clear how to do this. (There is mention of an Apac

Problem using tie with Apache::RequestRec in mod_perl/1.999.21

2005-02-02 Thread J Matisse Enzer
I am using a module that wants to tie to the Apache::RequestRec The following code works in mod_perl/1.99_12 but does not seem to work in mod_perl/1.999.21 - I simply get no output (no errors either): tie *FILE => $r; binmode(*FILE); Server info: Apache/2.0.52 (Unix) mod_ssl/2.0.

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

2005-02-02 Thread Nick ***
> >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

Re: Storing Objects in a Session

2005-02-02 Thread Perrin Harkins
On Wed, 2005-02-02 at 12:26 -0500, Jonathan Vanasco wrote: > I never thought of using storable. There's no need for you to use Storable. Apache::Session does it already. Just put your objects in the session. > I thought i could just place an object in the tied session variable and > voila! Yo

Re: Storing Objects in a Session

2005-02-02 Thread Jonathan Vanasco
On Feb 2, 2005, at 12:00 AM, David J Radunz wrote: Have you tried to freeze your object and then thaw it on retrieve? perl -MCPAN -e install Storable perldoc Storable On Feb 2, 2005, at 12:28 AM, Perrin Harkins wrote: Yes, you put any object in Apache::Session as long as it can be handled by Stora

Re: [mp1] Method handler that eventually seems to "forget" it's a method handler

2005-02-02 Thread Martin Moss
I tried ->handler in my configs, made no difference. I was doing a 'require' in a startup script if that makes any difference. Haven't seen this issue with simillar code anywhere else.. Marty --- Geoffrey Young <[EMAIL PROTECTED]> wrote: > > > > > PerlTransHandler MyApp::MyIn

Re: [mp1] Method handler that eventually seems to "forget" it's a method handler

2005-02-02 Thread Martin Moss
I've seen this problem and never got to the bottom of it, on a redhat box with 5.8.3 (I think) and same apache and mod_perl, Marty --- Andrew Green <[EMAIL PROTECTED]> wrote: > Hi, > > I seem to have a bizarre problem with method > handlers on my setup. I > have a set of different handler

Re: POSIX valid_user.al

2005-02-02 Thread ds10025
I maybe missing something here. I try to rpmbuild authen-smb.0.90.src.rpm That fails to generate rpm file. I did try to re-recompile authen-smb.0.91.tar.gz It complies OK no errors. It install Smb files. But, it do not generate valid_user.al file. Do I need ti set a flag to create the valid_user.al

Re: [mp1] Method handler that eventually seems to "forget" it's a method handler

2005-02-02 Thread Geoffrey Young
>>I'll give that a go and see. Is the following also kosher, then? >> >> $r->push_handlers( >> PerlCleanupHandler => MyApp::MyInstall::Cleaner->handler >> ); > > > sorry, no - you can't currently push a method handler like that. see the > > * method handler cached-CVs

Re: [mp1] Method handler that eventually seems to "forget" it's a method handler

2005-02-02 Thread Geoffrey Young
Andrew Green wrote: > On Wed, 02 Feb 2005 10:10:56 -0500, Geoffrey Young wrote: > > >>PerlTransHandler MyApp::MyInstall::Dispatcher->handler >> >>and see if that helps. > > > I'll give that a go and see. Is the following also kosher, then? > > $r->push_handlers( > P

Re: [mp1] Method handler that eventually seems to "forget" it's a method handler

2005-02-02 Thread Andrew Green
On Wed, 02 Feb 2005 10:10:56 -0500, Geoffrey Young wrote: > PerlTransHandler MyApp::MyInstall::Dispatcher->handler > > and see if that helps. I'll give that a go and see. Is the following also kosher, then? $r->push_handlers( PerlCleanupHandler => MyApp::MyInstall:

Re: [mp1] Method handler that eventually seems to "forget" it's a method handler

2005-02-02 Thread Geoffrey Young
> > PerlTransHandler MyApp::MyInstall::Dispatcher make that PerlTransHandler MyApp::MyInstall::Dispatcher->handler and see if that helps. you should also be preloading via PerlModule MyApp::MyInstall::Dispatcher or in a startup.pl. HTH --Geoff

[mp1] Method handler that eventually seems to "forget" it's a method handler

2005-02-02 Thread Andrew Green
Hi, I seem to have a bizarre problem with method handlers on my setup. I have a set of different handlers, all of which are method handlers so that I can easily inherit shared code across a collection of different installations of my application on the same server. The first handler to get in

Re: make test failed on solaris 8

2005-02-02 Thread Tulan W. Hu
1) Don't worry about the t/TEST -verbose t/apr/util.t anymore. The problem went away after I removed all RC4 and rebuilt it. don't really know what had happened. 2) After you mentioned AAA, I thought about our private modules again. By default, they use cookie to authenticate instead of us

Re: setting environment variables

2005-02-02 Thread Stas Bekman
Randy Kobes wrote: [...] So the behaviour of SetEnv changed from Apache-1 to Apache-2, as far as Win32 case goes, while PerlSetEnv maintained the same behaviour from mp1 to mp2. I suppose one could argue that we should change PerlSetEnv under mp2 to lower-case things, so as to be consistent with Se

Re: POSIX valid_user.al

2005-02-02 Thread Roman Vašíček
Probably wrong/broken installation of Authen::Smb. Valid_User is defined in file smbval/valid.c which is part of Authen::Smb distribution. Try to recompile/reinstall Authen::Smb again. Roman On Wed, Feb 02, 2005 at 12:36:06PM +, [EMAIL PROTECTED] wrote: > Morning > > > I'm trying to run

POSIX valid_user.al

2005-02-02 Thread ds10025
Morning I'm trying to run Authen:Smb After spending some time debugging, it returns an error can not locate valid_user.al valid_user() is a function call from within Authen::Smb. Which package/module contain valid_user.al ? Dan

Trouble using Tie::RDBM

2005-02-02 Thread Henrik Steffen
Hello, I wonder if someone could possible help me with an issue regarding Tie::RDBM. I am using it on a mod_perl 2.0 enabled website with apache 2.0.51 with persistent database connections to a postgresql-backend. Everything works fine, but every once in a while there will be an error in the er