Re: mod_perl, mod_gzip, incredible suckage

2002-02-19 Thread Eric Cholet
--On vendredi 15 février 2002 17:19 +0300 Igor Sysoev [EMAIL PROTECTED] wrote: You can try ftp://ftp.lexa.ru/pub/apache-rus/contrib/mod_deflate-1.0.11.tar.gz It compresses content on the fly without any temporary files as mod_gzip does. It has workarounds with buggy browsers. mod_gzip has

Re: mod_perl, mod_gzip, incredible suckage

2002-02-19 Thread Igor Sysoev
On Tue, 19 Feb 2002, Eric Cholet wrote: --On vendredi 15 février 2002 17:19 +0300 Igor Sysoev [EMAIL PROTECTED] wrote: You can try ftp://ftp.lexa.ru/pub/apache-rus/contrib/mod_deflate-1.0.11.tar.gz It compresses content on the fly without any temporary files as mod_gzip does. It

Re: Streaming compression of output from mod_perl handler?

2002-02-19 Thread Igor Sysoev
On Tue, 19 Feb 2002, [iso-8859-1] Nicholas Oxhøj wrote: I am looking for an Apache module which will allow me to compress the output of my mod_perl handler (a native handler, i.e. not running under Apache::Registry). But since my handler can potentially take a long time to finish, the output

Re: Streaming compression of output from mod_perl handler?

2002-02-19 Thread Nicholas Oxhøj
What mod_deflate did you try ? My or Apache 2.0 ? Yours I can comment my mod_deflate. First, mod_deflate did not collect all output before compressing - it compress it on the fly. But it emits compressed content in 8K block. It's Apache's HUGE_STRING_LEN #define and it can be changed in

Re: [OT-ish] Session refresh philosophy

2002-02-19 Thread Ged Haywood
Hi there, On Mon, 18 Feb 2002, Milo Hyson wrote: maybe I'm just approaching the problem incorrectly. If one is doing a shopping-cart-style application (whereby someone selects/configures multiple items before they're ultimately committed to a database) how else would you do it? There has

Re: Streaming compression of output from mod_perl handler?

2002-02-19 Thread Igor Sysoev
On Tue, 19 Feb 2002, [iso-8859-1] Nicholas Oxhøj wrote: What mod_deflate did you try ? My or Apache 2.0 ? Yours I can comment my mod_deflate. First, mod_deflate did not collect all output before compressing - it compress it on the fly. But it emits compressed content in 8K block.

Installing Perl::Magick

2002-02-19 Thread lamp
I'm not quite ready to give up on this yet. Below is a screen grab of my attempt(s) to install Perl::Magick. As I have said previously, I am a complete Linux newbie - so what's happening here is lost on me (as yet). Image::Magick is installed. What am I doing wrong? Thanks in advance.

Re: Streaming compression of output from mod_perl handler?

2002-02-19 Thread Nicholas Oxhøj
if mod_deflate will receive flush request it will flush deflate encoding and will write compressed content to Apache buffer. But it does not flush Apache. Anyway the max block is 8K, Apache buffer is 4K and OS usually should send data if in OS's buffer there is more then 2K. So it's

Authenticating against Active Directory

2002-02-19 Thread Stephen Reppucci
Does anyone have any experience in writing an authentication handler that authenticates against Microsoft's Active Directory? I have a project for a client who wants to use their existing AD data for user data (username, password, realname, groups, etc). In doing a little googling, it seems

A really strange POST problem

2002-02-19 Thread Tomas Eriksson
Hi. I'm not sure if this a modperl problem butI'm using modperl (5.005), Apache (1.3)under Debian on my website. Using read(STDIN, $ENV{...}, $buffer) to retrieve the post data. At several places i'm using forms with radio buttons from -2to 2, but from some of my visitors I got almost

Re: A really strange POST problem

2002-02-19 Thread Oscar Serrano
At 10:47 19/02/2002 +0100, Tomas Eriksson wrote: Hi. I'm not sure if this a modperl problem but I'm using modperl (5.005), Apache (1.3) under Debian on my website. Using read(STDIN, $ENV{...}, $buffer) to retrieve the post data. At several places i'm using forms with radio

Re: Installing Perl::Magick

2002-02-19 Thread Marcel Weber
Hi I don't know anything about your problem. I just wanted to give you a hint, as you said, that you were a complete linux newbie: Do not work as root. It is dangerous! The root account should be for installation, configuration of the system and where it cannot be avoided. I always have some

Re: Installing Perl::Magick

2002-02-19 Thread Richard Dice
Your question isn't a modperl question. Please keep that in mind when posting to this list. Maybe you're trying to use Perl::Magick as part of a project that uses modperl, but that doesn't make this a modperl issue. I'm not quite ready to give up on this yet. Below is a screen grab of my

Re: Streaming compression of output from mod_perl handler?

2002-02-19 Thread Igor Sysoev
On Tue, 19 Feb 2002, [iso-8859-1] Nicholas Oxhøj wrote: if mod_deflate will receive flush request it will flush deflate encoding and will write compressed content to Apache buffer. But it does not flush Apache. Anyway the max block is 8K, Apache buffer is 4K and OS usually should send

Re: A really strange POST problem

2002-02-19 Thread Tomas Eriksson
Yes i'm using strict and it's the string directly from the STDIN. And it's a value that don't exist in the radio selection. like my $buffer = ''; read(STDIN, $buffer, $ENV{CONTENT_LENGTH}); This can maybe instead be a terrible bug from Microsoft latest browser or something but I don't hope so

Re: A really strange POST problem

2002-02-19 Thread Thomas Eibner
On Tue, Feb 19, 2002 at 10:47:51AM +0100, Tomas Eriksson wrote: Hi. I'm not sure if this a modperl problem but I'm using modperl (5.005), Apache (1.3) under Debian on my website. Using read(STDIN, $ENV{...}, $buffer) to retrieve the post data. At several places i'm using forms with

Re: Streaming compression of output from mod_perl handler?

2002-02-19 Thread Jeffrey W. Baker
On Tue, 2002-02-19 at 06:11, Igor Sysoev wrote: On Tue, 19 Feb 2002, [iso-8859-1] Nicholas Oxhøj wrote: if mod_deflate will receive flush request it will flush deflate encoding and will write compressed content to Apache buffer. But it does not flush Apache. Anyway the max block

[OT] RE: Installing Perl::Magick

2002-02-19 Thread Jonathan M. Hollin
:: Your question isn't a modperl question. Please keep that in :: mind when posting to this list. Maybe you're trying to use :: Perl::Magick as part of a project that uses modperl, but :: that doesn't make this a modperl issue. I appreciate that. This is part of a mod_perl project, however

RE: Installing Perl::Magick

2002-02-19 Thread Jonathan M. Hollin
:: I don't know anything about your problem. I just wanted to :: give you a :: hint, as you said, that you were a complete linux newbie: :: :: Do not work as root. It is dangerous! The root account should be for :: installation, configuration of the system and where it cannot be :: avoided.

Re: [OT] RE: Installing Perl::Magick

2002-02-19 Thread Steve Werby
Jonathan M. Hollin [EMAIL PROTECTED] wrote: I appreciate that. This is part of a mod_perl project, however I forgot to include [OT] in the subject line. The only reason I post here is that the quality of help, and accuracy of reply that I have experienced in the past is exactly what I need

Re: Session refresh philosophy

2002-02-19 Thread Rob Nagler
Milo Hyson writes: shopping-cart-style application (whereby someone selects/configures multiple items before they're ultimately committed to a database) how else would you do it? There has to be some semi-persistent (i.e. inter-request) data where selections are stored before they're

Re: Session refresh philosophy

2002-02-19 Thread Perrin Harkins
As I understand it, the session data is state which is committed to the database on each request (possibly). It would seem to me that instead of denormalizing the state into a separate session table, you should just store it in a normal table. The typical breakdown I use for this is to put

Re: Session refresh philosophy

2002-02-19 Thread Rob Nagler
Perrin Harkins writes: Actually, even this stuff could be put into a normalized sessions table rather than serialized to a blob with Storable. It just means more work if you ever change what's stored in the session. This is a tough question. If you store it in a blob, you can't query it

[OT] Apache Config Problem

2002-02-19 Thread Robert Landrum
I'm trying to do something really simple and trying to avoid writing an Modperl handler to do it. We have a website behind a bigip running on port 8080. When someone requests a URL that doesn't end with a slash, it's redirected to http://host:8080/path/ . I tried turning off

[OT] Really need Comments! very strange bug that happens only on Linux.

2002-02-19 Thread Vlad Safronov
Hi, While testing my perl scripts I found a strange bug that happens only on Linux (RH 6.2, 7.0), See the code below. Before your read the all text, tell me what's the Buffer value? 3238200? The answer is NO! Try this example on your Linux box SOURCE test.c: -=-=-=-= #include stdio.h #include

OT Re: Installing Perl::Magick

2002-02-19 Thread Marcel Weber
Sorry, I did not meant giving silly comments ;-) I just saw your email [EMAIL PROTECTED] so I thought you would usually work as root. Marcel Am Dienstag den, 19. Februar 2002, um 17:22, schrieb Jonathan M. Hollin: :: I don't know anything about your problem. I just wanted to :: give you a

Re: [OT] Apache Config Problem

2002-02-19 Thread Brian Reichert
On Tue, Feb 19, 2002 at 01:41:44PM -0500, Robert Landrum wrote: I'm trying to do something really simple and trying to avoid writing an Modperl handler to do it. We have a website behind a bigip running on port 8080. When someone requests a URL that doesn't end with a slash, it's

Re: [OT] Apache Config Problem

2002-02-19 Thread Geoffrey Young
Robert Landrum wrote: I'm trying to do something really simple and trying to avoid writing an Modperl handler to do it. We have a website behind a bigip running on port 8080. When someone requests a URL that doesn't end with a slash, it's redirected to http://host:8080/path/ . I tried

Re: [OT] Really need Comments! very strange bug that happens only on Linux.

2002-02-19 Thread ___cliff rayman___
yes - this is VERY off topic for a mod_perl mailing list. remember, computers are binary machines. your 323.82 was not stored like you might think. the computer approximated using binary math. when you scaled it four places to the left, you saw the results of the approximation. FreeBSD

Re: [OT] Apache Config Problem

2002-02-19 Thread Stephen Reppucci
Yes, just add a 'Port 80' line to your VirtualHost section. While many folks assume that this directive is for telling apache which port to listen on (it's not -- the Listen directive does that...), it's actually a setting that instructs Apache to use the named port in any generated urls. (At

Re: [OT] Apache Config Problem

2002-02-19 Thread Robert Landrum
At 2:22 PM -0500 2/19/02, Stephen Reppucci wrote: So, if you virtual host was something like: Listen 192.168.0.100:8080 VirtualHost 192.168.0.100:8080 ServerName www.foo.com ServerAlias foo.com Port 80 ... /VirtualHost Then (assuming your bigip sends requests for foo.com to

RE: [Samba authorization]

2002-02-19 Thread Stathy G. Touloumis
You should probably contact the maintainers of Apache::AuthSmb and kindly ask them to look into the problem : ) If I had some Sparcs lying around I would be willing to look into it but I don't ; ) Please, let's continue discussing my problem. Remind you, that I installed mod_perl,

Re: [OT] Really need Comments! very strange bug that happens only on Linux.

2002-02-19 Thread Randal L. Schwartz
Vlad == Vlad Safronov [EMAIL PROTECTED] writes: Vlad 3238200? The answer is NO! Try this example on your Linux box Vlad ResultSum = 1; Vlad Sum = 323.82; Vlad the Buffer value is very strange! I have no ideas how Buffer can be 3238199! Vlad FreeBSD (old 3.x) works well and Buffer=3238200

Re: Streaming compression of output from mod_perl handler?

2002-02-19 Thread Slava Bizyayev
I've developed an Apache::Dynagzip handler for Outlook Technologies, Inc. to serve the dynamic content with the option to control the size of the chunk(s). It works fine (as standing along, and within the Apache::Filter Chain). Using the Apache::Dynagzip you have several options to control your

Re: [OT] Really need Comments! very strange bug that happens onlyon Linux.

2002-02-19 Thread Ged Haywood
Hi all, On 19 Feb 2002, Randal L. Schwartz wrote: Yes. Learn that 1/10 doesn't have a precise representation in binary, so *all* floating point numbers are approximate. Well, maybe not 0.5, 0.25,... :) 73, Ged.

Re: Installing Perl::Magick

2002-02-19 Thread Ron Savage
lamp See below. Cheers Ron Savage [EMAIL PROTECTED] http://savage.net.au/index.html Magick.xs:76:24: magick/api.h: No such file or directory This means you must, repeat must, have the ImageMagick source code on tap to compile PerlMagick. Being lazy, I wait for someone to create an

Re: [OT-ish] Session refresh philosophy

2002-02-19 Thread Drew Taylor
And that is what I am doing for a small project I'm working on now. In my case, I'm not sure about the capabilities of the remote server, and I know for sure that I don't have a database available, so session information is saved via hidden form fields. It's primitive, but was actually a bit

Re: [OT-ish] Session refresh philosophy

2002-02-19 Thread Perrin Harkins
And that is what I am doing for a small project I'm working on now. In my case, I'm not sure about the capabilities of the remote server, and I know for sure that I don't have a database available, so session information is saved via hidden form fields. It's primitive, but was actually a bit

Re: [OT-ish] Session refresh philosophy

2002-02-19 Thread Drew Taylor
At 05:55 PM 2/19/2002 -0500, Perrin Harkins wrote: Incidentally, this is mostly the same thing as what Jeffrey Baker mentioned a few days ago about storing state entirely inside a cookie with a message digest. The only difference is that by sticking it in a form element you're attaching it to a

Re: [OT-ish] Session refresh philosophy

2002-02-19 Thread Milo Hyson
On Tuesday 19 February 2002 02:55 pm, Perrin Harkins wrote: Incidentally, this is mostly the same thing as what Jeffrey Baker mentioned a few days ago about storing state entirely inside a cookie with a message digest. The only difference is that by sticking it in a form element you're

file globbing question

2002-02-19 Thread John Stauffacher
All, I am a bit confused as to what httpd.conf directives need to be used in order to get apache to execute a PerlHandler when it encounters a certain file type. What I want to do: Execute a handler whenever a *.qw file is accessed. The same handler whether or not the file exists and not

Re: file globbing question

2002-02-19 Thread Cees Hek
On Wed, 2002-02-20 at 13:27, John Stauffacher wrote: All, I am a bit confused as to what httpd.conf directives need to be used in order to get apache to execute a PerlHandler when it encounters a certain file type. What I want to do: Execute a handler whenever a *.qw file is

RE: [OT-ish] Session refresh philosophy

2002-02-19 Thread David Harris
Drew Taylor [mailto:[EMAIL PROTECTED]]: And that is what I am doing for a small project I'm working on now. In my case, I'm not sure about the capabilities of the remote server, and I know for sure that I don't have a database available, so session information is saved via hidden form

RE: [OT-ish] Session refresh philosophy

2002-02-19 Thread David Harris
David Harris [[EMAIL PROTECTED]] wrote: [snip] I've attached some code. To use the code, you'll have to replace the module FreezeThawLite with Storable. Also, beware the \r\n newlines. (I pulled this out of CVS on my windows desktop.) I forgot to actually attach the code David

Re: [OT-ish] Session refresh philosophy

2002-02-19 Thread Perrin Harkins
I built and use a module that encodes a session hash into a number of hidden fields with a security MD5 sum. Sounds a lot like CGI::SecureState. Have you ever looked at it? - Perrin

Re: Installing Perl::Magick

2002-02-19 Thread Ron Savage
Aaron See below. Cheers Ron Savage [EMAIL PROTECTED] http://savage.net.au/index.html There is a package available in ppm for ActiveState Perl. There is a short write up on it PerlMonks http://www.perlmonks.org/index.pl?node_id=140321 Thanx. I was not actually asking for same. There is a

Re: Installing Perl::Magick

2002-02-19 Thread Aaron Johnson
There is a package available in ppm for ActiveState Perl. There is a short write up on it PerlMonks http://www.perlmonks.org/index.pl?node_id=140321 Aaron Johnson Ron Savage wrote: lamp See below. Cheers Ron Savage [EMAIL PROTECTED] http://savage.net.au/index.html

Re: [Samba authorization]

2002-02-19 Thread Carlos Ramirez
Here's the link to the post on modperl mailing list: http:[EMAIL PROTECTED] -Carlos Carlos Ramirez wrote: Here are some fixes I incorporated into my private copy of Authen::Smb and Apache::AuthenSmb modules. These changes are based on some discussion I found in the modperl mailing list

Re: RE: [Samba authorization]

2002-02-19 Thread Carlos Ramirez
Here are some fixes I incorporated into my private copy of Authen::Smb and Apache::AuthenSmb modules. These changes are based on some discussion I found in the modperl mailing list posted on Thu, 16 Sep 1999 by Matt Arnold. I basically copied Matt's suggestions and added them in. I was getting

Re: Streaming compression of output from mod_perl handler?

2002-02-19 Thread Nicholas Oxhøj
I've developed an Apache::Dynagzip handler for Outlook Technologies, Inc. to serve the dynamic content with the option to control the size of the chunk(s). It works fine (as standing along, and within the Apache::Filter Chain). Using the Apache::Dynagzip you have several options to

Re: Streaming compression of output from mod_perl handler?

2002-02-19 Thread Nicholas Oxhøj
I'm not sure that lynx can handle compressed response on the fly - it uses gzip in pipe. The best way to test it using netcat. Well, lynx didn't decompress it, it just output the gzip compressed content to stdout. As I didn't have netcat readily available on the machine, I instead put an