Re: make test failed on solaris 8

2005-01-31 Thread Tulan W. Hu
> I'm not sure what went wrong, but there is nothing in the log. And there > must be something since you had 'Access Denied' Does it need to access on internet? I need to have a proxy setting to go out. > > Please do: > > t/TEST -clean > t/TEST -verbose t/protocol/pseudo_http.t t/apr/util.t > > a

Re: Barrier to implementing web content compression in mod_perl

2005-01-31 Thread Alex Greg
On Sun, 30 Jan 2005 23:02:53 -0500, Stas Bekman <[EMAIL PROTECTED]> wrote: > 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

Using home-grown modules in mod-perl

2005-01-31 Thread Kent, Mr. John \(Contractor\)
Greetings, I have some home-grown modules that I wish to have pre-compiled into a heavy Apache server via mod-perl. Must my module EXPORT the desired sub routines, and must the startup.pl file say /use/lib qw (/users/webuser/homegrown/lib); use MyModule; OR will it work to NOT use EXPORT and

Re: Barrier to implementing web content compression in mod_perl

2005-01-31 Thread Geoffrey Young
> Can anything be done to address the filter problems in MP1? not really from the perspective of the mp1 api - we've considered changing that behavior before, and IIRC philippe even produced a patch, but we considered it too risky for the stable branch. that said, we can certainly try to help yo

Re: Using home-grown modules in mod-perl

2005-01-31 Thread Jonathan Vanasco
On Jan 31, 2005, at 10:55 AM, Kent, Mr. John ((Contractor)) wrote: will it work to NOT use EXPORT and say in the startup /use/lib qw (/users/webuser/homegrown/lib); use MyModule(); That's what I do.

Re: Using home-grown modules in mod-perl

2005-01-31 Thread Leo
Jonathan Vanasco wrote: On Jan 31, 2005, at 10:55 AM, Kent, Mr. John ((Contractor)) wrote: will it work to NOT use EXPORT and say in the startup /use/lib qw (/users/webuser/homegrown/lib); use MyModule(); That's what I do. Does your module work with a blessed references, or it a module containin

RE: Using home-grown modules in mod-perl

2005-01-31 Thread Kent, Mr. John \(Contractor\)
Leo, I am not using OO coded modules. My modules contain methods. Other routines call this module's routines as you indicated: In order to solve other mod-perl problems I followed Stas's recommendation to call all my routines thusly: MyModule::foo(...) So, since I am doing it this way I sho

RE: Using home-grown modules in mod-perl

2005-01-31 Thread Steven Lembark
-- "Kent, Mr. John \\(Contractor\\)" <[EMAIL PROTECTED]> Leo, I am not using OO coded modules. My modules contain methods. Other routines call this module's routines as you indicated: In order to solve other mod-perl problems I followed Stas's recommendation to call all my routines thusly: MyMod

Re: Using home-grown modules in mod-perl

2005-01-31 Thread Leo
Kent, Mr. John (Contractor) wrote: Leo, I am not using OO coded modules. My modules contain methods. Other routines call this module's routines as you indicated: In order to solve other mod-perl problems I followed Stas's recommendation to call all my routines thusly: MyModule::foo(...) So, sin

Re: Using home-grown modules in mod-perl

2005-01-31 Thread Leo
Kent, Mr. John (Contractor) wrote: Greetings, I have some home-grown modules that I wish to have pre-compiled into a heavy Apache server via mod-perl. Must my module EXPORT the desired sub routines, and must the startup.pl file say /use/lib qw (/users/webuser/homegrown/lib); use MyModule; OR wil

Re: Barrier to implementing web content compression in mod_perl

2005-01-31 Thread Perrin Harkins
On Sun, 2005-01-30 at 21:54 +, Alex Greg wrote: > The problem I have found is that when I modify print_content_type as follows: > > sub print_content_type > { > my ($content_type) = @_; > > my $r = Apache->request(); > > $r = $r->filter_register; > $fh = $

Re: Barrier to implementing web content compression in mod_perl

2005-01-31 Thread Alex Greg
On Mon, 31 Jan 2005 15:34:05 -0500, Perrin Harkins <[EMAIL PROTECTED]> wrote: > On Sun, 2005-01-30 at 21:54 +, Alex Greg wrote: > > The problem I have found is that when I modify print_content_type as > > follows: > > > > sub print_content_type > > { > > my ($content_type) = @_; > > > >

Re: Barrier to implementing web content compression in mod_perl

2005-01-31 Thread Perrin Harkins
On Mon, 2005-01-31 at 21:23 +, Alex Greg wrote: > I'm using Apache::RegistryFilter: > > PerlHandler Apache::RegistryFilter Apache::Dynagzip > > See the attached httpd.conf for full context etc. Does this actually work without the filitering? I see a use of ScriptAlias in there, which usuall

Re: Barrier to implementing web content compression in mod_perl

2005-01-31 Thread Alex Greg
On Mon, 31 Jan 2005 17:55:27 -0500, Perrin Harkins <[EMAIL PROTECTED]> wrote: > On Mon, 2005-01-31 at 21:23 +, Alex Greg wrote: > > I'm using Apache::RegistryFilter: > > > > PerlHandler Apache::RegistryFilter Apache::Dynagzip > > > > See the attached httpd.conf for full context etc. > > Does t

file upload problem

2005-01-31 Thread John Saylor
hi i'm trying to make this modperl upload handler work and it doesn't. it keeps giving me absolutely nothing for the file [but gives all the params and their values just fine]. i'm using apache_1.3.29, mod_perl-1.29, mod_ssl-2.8.16-1.3.29 This is perl, v5.8.2 built for i686-linux Linux ralph.worl

[mp2] retrieving the calling handler

2005-01-31 Thread Dorian Taylor
how would i go about retrieving (mod_perl or otherwise) the name of the immediate calling handler of the current handler being executed? i'm trying to do loop checking in which a given handler may need to be executed as a result of multiple subrequests, but never back to back. e.g.: # httpd.conf

Re: file upload problem

2005-01-31 Thread Tom Schindl
John Saylor wrote: hi i'm trying to make this modperl upload handler work and it doesn't. it keeps giving me absolutely nothing for the file [but gives all the params and their values just fine]. [...] Does your form pass things using the appropiate enctype: multipart/form-data Tom