Re: Pb with Win32 Installation

2002-05-06 Thread pascal barbedor
On Thu, 2 May 2002, Jean-Marc Paulin wrote: Hi there, I have downloaded the CSV Image file modperl-2.0_20020502042105.tar.gz and tried to compile it for Apache 2.0.35. The build is ok (or looks good anyway) but Apache dies during the nmake test. [ .. ]

mod_perl cookbook review at apacheweek.com

2002-05-06 Thread Stas Bekman
For those who still hesitate whether to purchase this great mod_perl recipes tome, here is Min Min Tsan's review of the mod_perl cookbook: http://www.apacheweek.com/features/book-mod_perlcookbook And lucky Robin Berjon and two other folks just won free copies of this book from apacheweek

Re: problems setting up Apache::AuthCookieDBI (solved but no fullyunderstood)

2002-05-06 Thread Fran Fabrizio
Jacob Davies (author of Apache::AuthCookieDBI) confirmed the secret key file has to be set before the PerlModule directive, it is a bug in the documentation. Except it doesn't really, because it works fine for me. =) I compiled mod_perl static, I tend to avoid DSO if possible. -Fran

Re: Pb with Win32 Installation

2002-05-06 Thread Randy Kobes
On Mon, 6 May 2002, pascal barbedor wrote: I have the same problem : contree test fails and apache segfaults, even with the latest cvs. apache 2.0.37-dev modperl 1.99_02-dev win2k perl 561 That's wierd - I have the same set-up, except using WinXP, and this test passes ... What happens if

Re: problems setting up Apache::AuthCookieDBI (solved but no fully understood)

2002-05-06 Thread F . Xavier Noria
On Mon, 06 May 2002 10:04:28 -0400 Fran Fabrizio [EMAIL PROTECTED] wrote: : Jacob Davies (author of Apache::AuthCookieDBI) confirmed the secret key : file has to be set before the PerlModule directive, it is a bug in the : documentation. : : Except it doesn't really, because it works fine for

Re: problems setting up Apache::AuthCookieDBI (solved but no fullyunderstood)

2002-05-06 Thread Fran Fabrizio
I for sure), I don't understand why the order does not matter in your machine. Do we have the same version of the module (v1.18)? -- fxn Ah, no, I've got 1.10. Here is the relevant part of my config file # AuthCookieDBI config PerlModule Apache::AuthCookieDBI PerlSetVar RMSPath /

mod_perl install from tarball

2002-05-06 Thread Boex,Matthew W.
i am trying to install mod_perl and apache from tarball. after untarring, i created the makepl_args.mod_perl file in my home dir with my options. by the way, i am building this on a rh7.1 machine with mod_perl already installed. i am building this to learn. anyhow, when i run perl

Re: mod_perl install from tarball

2002-05-06 Thread Stas Bekman
Boex,Matthew W. wrote: i am trying to install mod_perl and apache from tarball. after untarring, i created the makepl_args.mod_perl file in my home dir with my options. by the way, i am building this on a rh7.1 machine with mod_perl already installed. i am building this to learn. you are

[DIGEST] mod_perl digest 2002/04/15

2002-05-06 Thread jgsmith
-- mod_perl digest April 15, 2002 - May 5, 2002 -- Recent happenings in the mod_perl world... The digest

Re: Pb with Win32 Installation

2002-05-06 Thread pascal barbedor
- Original Message - From: Randy Kobes [EMAIL PROTECTED] To: pascal barbedor [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Monday, May 06, 2002 4:03 PM Subject: Re: Pb with Win32 Installation On Mon, 6 May 2002, pascal barbedor wrote: I have the same problem : contree test fails

Re: problems setting up Apache::AuthCookieDBI (solved but no fully understood)

2002-05-06 Thread Rafael Caceres
Peter: Squid complains about http://mod_perl.home.att.net which it says contains an invalid character (_), so I can't access it. Rafael Caceres At 10:58 PM 5/3/2002 -0700, you wrote: Try my Apache::AccessCookie too. It provides the same ticketing interface for many different authenticating

Re: Using a 404 ErrorDocument to serve content

2002-05-06 Thread Randal L. Schwartz
Ken == Ken Williams [EMAIL PROTECTED] writes: Ken I was thinking of writing yet-another-photo-album-server, and I had Ken the idea that I'd write a handler to serve resized versions of JPEGs Ken (very original, I know ;-). The idea is that I'd put a bunch of JPEGs Ken on the server at

Re: Pb with Win32 Installation

2002-05-06 Thread Randy Kobes
On Mon, 6 May 2002, pascal barbedor wrote: error message is memory cant be read from perl56.dll here is a complete report of first test in each directory that fails and produces segfault (with perl t/test dirtest) : dirtest=api: api/access :ok api/aplog : apache segfault dirtest=apr

Re: Using a 404 ErrorDocument to serve content

2002-05-06 Thread Perrin Harkins
Ken Williams wrote: The idea is that I'd put a bunch of JPEGs on the server at locations like foo/123.jpg , and then if a request came for foo/123-medium.jpg , I'd catch that with a 404 ErrorDocument and generate the resized image using Imager. If I wanted to, I could also create the

Re: Using a 404 ErrorDocument to serve content

2002-05-06 Thread Matthew Lanier
On Mon, 6 May 2002, Perrin Harkins wrote: Ken Williams wrote: The idea is that I'd put a bunch of JPEGs on the server at locations like foo/123.jpg , and then if a request came for foo/123-medium.jpg , I'd catch that with a 404 ErrorDocument and generate the resized image using

Re: Cheap and unique

2002-05-06 Thread Perrin Harkins
Ken Williams wrote: If you have the additional requirement that the unique values shouldn't be easily *guessable*, that becomes a very hard problem, precisely because random and unique are such poor friends. Usually people just cheat by generating a large random ID such that the

Re: Cheap and unique

2002-05-06 Thread jjore
I've been following this conversation and I'd like to clarify whether my idea (since I and others want to do this as well) would be use an incrementing counter for uniqueness. Then also store a bit of secret randomness, concatenate both values together and create a digest hash. That hash

Re: Cheap and unique

2002-05-06 Thread Perrin Harkins
[EMAIL PROTECTED] wrote: I've been following this conversation and I'd like to clarify whether my idea (since I and others want to do this as well) would be use an incrementing counter for uniqueness. Then also store a bit of secret randomness, concatenate both values together and create a

Re: Cheap and unique

2002-05-06 Thread Peter Bi
Does the first email mean to use the incrementing numbers as seeds and then generate cool random numbers from the partly ordered seeds, which will make them more difficult to guess ? Peter Bi - Original Message - From: James G Smith [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL

Re: Pb with Win32 Installation

2002-05-06 Thread pascal barbedor
For those that segfault, does running them individually: perl -Mblib t/TEST t/apache/conftree.t etc. also segfault? best regards, randy also running tests with perl t\test -start-httpd perl -Mblib t\test t/apache/conftree.t perl -Mblib t\test t/apache/compat2.t segfaults at

err_header_out() not found in mod_perl 1.99

2002-05-06 Thread Peter Rothermel
greetings, I'm using Apache2/mod_perl 1.99 on WinNT. Here's the error: [error] [client 127.0.0.1] Can't locate object method err_header_out via package Apache::RequestRec at C:\Apach... thanks in advance -pete

How do I determine end of request? (mod_perl 2.0)

2002-05-06 Thread Douglas Younger
Hello, I'm fairly new to using mod_perl. I've been able to find lots of resources dealing with mod_perl 1.x, but the documentation for 2.0 is rather sparse. I'm pretty sure what I need to do can only be handled by Apache 2.0 thus I'm forced to use mod_perl 2.0... (well 1.99) I'm trying

Re: Using a 404 ErrorDocument to serve content

2002-05-06 Thread Joachim Zobel
At 10:59 06.05.2002 -0700, you wrote: On Mon, 6 May 2002, Perrin Harkins wrote: Incidentally, that's how Vignette StoryServer works. You could also do this kind of thing with a transhandler (or mod_rewrite) that checks for the existence of a static file and rewrites the URL if it can't

Re: err_header_out() not found in mod_perl 1.99

2002-05-06 Thread Peter Rothermel
Nevermind, I found that err_headers_out() provides the needed functionality. Peter Rothermel wrote: greetings, I'm using Apache2/mod_perl 1.99 on WinNT. Here's the error: [error] [client 127.0.0.1] Can't locate object method err_header_out via package Apache::RequestRec at

Fw: How do I determine end of request? (mod_perl 2.0)

2002-05-06 Thread pascal barbedor
- Original Message - From: pascal barbedor [EMAIL PROTECTED] To: Douglas Younger [EMAIL PROTECTED] Sent: Monday, May 06, 2002 11:31 PM Subject: Re: How do I determine end of request? (mod_perl 2.0) hi you could maybe set the ProxyIOBufferSize or Proxyreceivebuffersize in the

[RFC] New Subject Tag for mod_perl 2.x postings

2002-05-06 Thread Thomas Klausner
Hi! As there are more and more mod_perl 2.x related questions on the mailing list, it would be a good idea to introduce a new subject tag (as in http://perl.apache.org/email-etiquette.html#Tags ): Something like: [mod_perl 2.x] [mp2] [2x] [2.x] ?? What do you think? It would definitly keep my

Re: Problems with Apache-AuthCookie mod_perl 1.99

2002-05-06 Thread Peter Rothermel
Michael, I've got most of the changes done. No major changes were required but I'm still stuck on mod_perl 2's new method handlers. To get past this hurdle I've moved away from method handlers and put everything into a single package. As soon as somebody gives me a hand with method handlers

Re: localizing $dbh attributes with Apache::DBI to minimize the number of connections made

2002-05-06 Thread Ron Savage
On Mon, 06 May 2002 13:30:07 +0800, Stas Bekman wrote: [snip] my $dbh = DBI-connect (DBI:mysql:test:localhost, '', '', { PrintError = 1, # warn() on errors RaiseError = 0, # don't die on error AutoCommit = 1, # don't commit executes immediately Surely the don't here is wrong? } ) or die Cannot

RE: problems setting up Apache::AuthCookieDBI (solved but no fully understood)

2002-05-06 Thread Jim Helm
Strictly speaking _ is (was?) an illegal character for DNS names. I used to go round-n-round with a fellow sysadmin about that fact, and that we shouldn't use _ in hostnames. Jim -Original Message- From: Rafael Caceres [mailto:[EMAIL PROTECTED]] Sent: Monday, May 06, 2002 10:23

Re: [RFC] New Subject Tag for mod_perl 2.x postings

2002-05-06 Thread Stas Bekman
Thomas Klausner wrote: Hi! As there are more and more mod_perl 2.x related questions on the mailing list, it would be a good idea to introduce a new subject tag (as in http://perl.apache.org/email-etiquette.html#Tags ): Something like: [mod_perl 2.x] [mp2] [2x] [2.x] ?? What do