Apache::Clean, Apache::Compress, mod_gzip/deflate, cross site scripting and more.

2002-10-27 Thread Richard Clarke
List, Before I embark on a day exploring the pros and cons of today's cleaning/compression tools, I wondered if any of you could give me some feedback about your own experiences within the context of medium/large scale web sites/applications (E-Toys etc). Is it too presumtious to expect that m

Re: [RFC] Apache-GeoIP module

2002-10-27 Thread T.J. Mather
Hi, Thanks for your patch - you brought up a good point. We are actually fixing the C library so that it returns NULL instead of '--' - so the Perl XS should automatically return undef now instead of '--'. -TJ On Fri, 25 Oct 2002, Michael Schout wrote: > One thing I'd add if you do decide to

Re: [RFC] Apache-GeoIP module

2002-10-27 Thread T.J. Mather
Hi, The database that is included with Apache-GeoIP is from March 2002. The latest database (October 2002) is more accurate, and may correctly locate your IP address. We have an online demo here: http://www.maxmind.com/app/lookup Note that we offer a free subscription to database updates for Op

Re: conditional get

2002-10-27 Thread Cristóvão Dalla Costa
Geoffrey Young wrote: Kyle Oppenheim wrote: > $R->content_type ($data {mimetype}); > $R->set_content_length ($data {size}); > $R->header_out ('ETag',$data {md5}); don't do that. use the $r->set_etag method instead, which is probably a bit safer than trying to figure out Etag rules y

Re: Apache::Clean, Apache::Compress, mod_gzip/deflate, cross site scripting and more.

2002-10-27 Thread Slava Bizyayev
Hi Richard, Let me introduce to you (and to the list ;) my Content Compression FAQ (attached in M$ WORD format). It answers some of your questions... Slava - Original Message - From: "Richard Clarke" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, October 27, 2002 7:21 AM Subject

Get file list of the dir.

2002-10-27 Thread Ruslan U. Zakirov
I'm writing handler which generate some html from files in requested dir if requested file does not exist. I have a problem with getting file list of the directory. I've tried to use IO::Dir, like this my @htmls; my $dh = new IO::Dir ($req_dir); if (defined $dh) { while (defined($_

Re: Get file list of the dir.

2002-10-27 Thread masilva3
you can use opendir, like this: opendir($refdir, "/home/user") or die "Err in opendir($refdir,/home/user) : $!"; my $filedir; while ($filedir = readdir($refdir)) { next if ($filedir =~ /\.{1,2}/); push(@dirs, $filedir) if (-d "/home/user/$filedir"); } closedir($refdir

Re: Get file list of the dir.

2002-10-27 Thread masilva3
I'm sorry, change -d by -f, for get file names and not directory bye > -- Mensagem original --- > > De : "masilva3" <[EMAIL PROTECTED]> > Para: "cubic" <[EMAIL PROTECTED]> > Cc : "modperl" <[EMAIL PROTECTED]> > Data: Sun, 27 Oct 2002 15:59:53 -0300 > Assunto : Re

Re: Apache::Clean, Apache::Compress, mod_gzip/deflate, cross sitescripting and more.

2002-10-27 Thread Ged Haywood
Hi there, On Sun, 27 Oct 2002, Slava Bizyayev wrote: > Let me introduce to you (and to the list ;) my Content Compression > FAQ (attached in M$ WORD format). Thanks, but if you're going to publish things for this List I think most people will want POD or plain text. Definitely not M$ Word forma

Re: conditional get

2002-10-27 Thread Randy Kobes
On Sun, 27 Oct 2002, [ISO-8859-1] Cristóvão Dalla Costa wrote: > Geoffrey Young wrote: > > > Kyle Oppenheim wrote: > > > $R->content_type ($data {mimetype}); > > > $R->set_content_length ($data {size}); > > > $R->header_out ('ETag',$data {md5}); > > > > don't do that. use the $r->set

ANNOUNCE: Bricolage 1.4.4

2002-10-27 Thread David Wheeler
The Bricolage team is pleased to announce the release of Bricolage 1.4.4. This is a maintenance release that fixes numerous bugs found in version 1.4.3. All users of earlier versions of Bricolage are encouraged to upgrade. The most significant change in this release is that the default character s

Re: conditional get

2002-10-27 Thread Cristóvão Dalla Costa
Randy Kobes wrote: You may want to take a look at http://perl.apache.org/docs/general/correct_headers/correct_headers.html where, like Geoff suggested, it is strongly advised to *not* use set_etag() for dynamic content. This page also discusses the Last-Modified, Expires, and Cache-Control heade

Re: Get file list of the dir.

2002-10-27 Thread Randy Kobes
On Sun, 27 Oct 2002, Ruslan U. Zakirov wrote: > I'm writing handler which generate some html from files in requested > dir if requested file does not exist. > I have a problem with getting file list of the directory. > I've tried to use IO::Dir, like this >my @htmls; >my $dh = new IO::Dir

Re: Apache::Clean, Apache::Compress, mod_gzip/deflate, cross site scripting and more.

2002-10-27 Thread Slava Bizyayev
Hi Ged, I would be happy to reformat that FAQ to any required format if somebody is interested in it... Thanks, Slava - Original Message - From: "Ged Haywood" <[EMAIL PROTECTED]> To: "Slava Bizyayev" <[EMAIL PROTECTED]> Cc: "mod_perl Mailing List" <[EMAIL PROTECTED]> Sent: Sunday, October

Re: Trouble with Apache::DB

2002-10-27 Thread Kip Cranford
Yes, I was using the stock RH perl. I did try recompiling 5.8.0 with debugging support, as you suggested, with no luck. I then tried recompiling other versions of perl (like 5.8.0 RC2, RC1, 5.7.3), with and without debugging support, also with no luck. Finally, I just grabbed a 5.6.1 (since this

Re: Apache::Clean, Apache::Compress, mod_gzip/deflate, cross site scripting and more.

2002-10-27 Thread Per Einar Ellefsen
At 04:23 28.10.2002, Slava Bizyayev wrote: Hi Ged, I would be happy to reformat that FAQ to any required format if somebody is interested in it... Hello Slava, We talked about it some time ago: It would be very interesting to add that FAQ to the mod_perl website. Just convert it to POD and sen