Re: mod_perl 1.99_13

2004-03-19 Thread scott
Michael Peppler wrote: I ran into the same (or a similar) problem that Scott Beuker reported with CGI.pm truncating POST content in an mp2 setup. In my case the POST was truncated at around 7500 bytes. A check with tcpdump shows that the entire POST is correctly sent to apache. I started by

Re: Apache::ASP grabbing STDIN

2004-03-20 Thread scott
s something developer. One work around for those having problems with CGI might be to use this API instead: $query = new CGI(\*STDIN); Scott, does this work for your situation? Can you get the Apache::ASP examples to work with this change on your installation? Rega

Re: Apache::ASP grabbing STDIN

2004-03-24 Thread scott
:ASP cgi.htm example also works when using the "PerlSetVar RequestBinaryRead Off" directive. Thanks Ivan! I'll pass this on to the mod-perl list, as well. -- Scott Langley [EMAIL PROTECTED] Systems Administrator Rural Network Services ivan writes: Does setting "PerlSet

[mp2] Problem w/Set-Cookie header and Internet Explorer

2004-02-19 Thread Scott Scecina
est MP1.99 to see if I can reproduce the problem with that. But I'm doubtful. BTW, the "Cookbook" cookie handler from the 2.0 docs exhibits the same problem. Thanks in Advance! - Scott (Note: I've [removed] some addresses) LWP Header Output from Apache WinXP: Connection: cl

Re: Problem w/Set-Cookie header and Internet Explorer

2004-02-20 Thread Scott Scecina
Ged Haywood writes: Hi there, On Thu, 19 Feb 2004, Scott Scecina wrote: Apache 2.0.48 (pre-fork), Perl 5.8.3, and mod_perl 1.99_12 on a RH Linux ... when I connect with Internet Explorer (6, on XP) I don't seem to be getting the Set-Cookie headers ... Other headers ... seem to be

Memory usage

2004-05-10 Thread Scott Alexander
ticed the same difference in top on both machines. Any ideas what could cause the huge difference? both machines are Apache/1.3.27 (Unix) PHP/4.3.4 DAV/1.0.3 mod_perl/1.29 configured Scott PS Sorry if this mail got posted more than once -- Report problems: http://perl.apache.org/bugs/ Mail l

memory usage

2004-05-10 Thread Scott Älexänder
ticed the same difference in top on both machines. Any ideas what could cause the huge difference? both machines are Apache/1.3.27 (Unix) PHP/4.3.4 DAV/1.0.3 mod_perl/1.29 configured Scott -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/mod

handling multipart/form-data POSTed content in mod_perl 2.0

2004-08-30 Thread Scott Fagg
Can someone point me in the direction of a worked example of handling multipart/form-data POSTed content in mod_perl 2.0 ? Closest i've come is a sample bit of code that just dumps the contents, but not parses it and i haven't been able to find any modules that help in parsing. -- Report prob

RE: handling multipart/form-data POSTed content in mod_perl 2.0

2004-08-30 Thread Scott Fagg
> -Original Message- > From: Markus Wichitill [mailto:[EMAIL PROTECTED] > Sent: Tuesday, 31 August 2004 4:16 PM > To: Scott Fagg > Cc: > Subject: Re: handling multipart/form-data POSTed content in > mod_perl 2.0 > > Scott Fagg wrote: > > Can someo

PerlSetVar's not showing up in $r->dir_config

2004-08-31 Thread Scott Fagg
I have lines like this in my .htaccess file : AuthName AD AuthType Arup::AuthCkLDAP PerlSetVar ADPath / PerlSetVar ADLoginScript /login.perl .. and i'm using AuthCookie.pm. It picks up on the 'AD' value for AuthName, but cannot see the PerlSetVar values. e.g i get this in my error logs : [erro

RE: [mp2] how far off feature-freeze is mp2?

2004-09-16 Thread Scott Fagg
> -Original Message- > From: Matthew Darwin [mailto:[EMAIL PROTECTED] > Sent: Friday, September 17, 2004 1:36 PM > To: Carl Brewer > Cc: [EMAIL PROTECTED] > Subject: Re: [mp2] how far off feature-freeze is mp2? > > I'm using mp2 production now. > > http://demo:[EMAIL PROTECTED] > > Serv

RE: [mp2] how far off feature-freeze is mp2?

2004-09-16 Thread Scott Fagg
> -Original Message- > From: Matthew Darwin [mailto:[EMAIL PROTECTED] > Sent: Friday, September 17, 2004 1:42 PM > To: Scott Fagg > Cc: [EMAIL PROTECTED] > Subject: Re: [mp2] how far off feature-freeze is mp2? > > > > Scott Fagg wrote: > > >

RE: [mp2] how far off feature-freeze is mp2?

2004-09-16 Thread Scott Fagg
> -Original Message- > From: Geoffrey Young [mailto:[EMAIL PROTECTED] > Sent: Friday, September 17, 2004 1:57 PM > To: Scott Fagg > Cc: Matthew Darwin; [EMAIL PROTECTED] > Subject: Re: [mp2] how far off feature-freeze is mp2? > > > >>Yes, it is a p

RE: [mp2] how far off feature-freeze is mp2?

2004-09-16 Thread Scott Fagg
> -Original Message- > From: Matthew Darwin [mailto:[EMAIL PROTECTED] > Sent: Friday, September 17, 2004 2:00 PM > To: Scott Fagg > Cc: [EMAIL PROTECTED] > Subject: Re: [mp2] how far off feature-freeze is mp2? > > I'm using a > > later version

[mp2] Apache::DBI and Apache::Status

2004-11-05 Thread Scott Scecina
gistry Scripts Environment ISA Tree Symbol Table Dump Loaded Modules Inheritance Tree I see this on both Win32 and Linux. Thanks! - Scott Scott Scecina -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: ht

perltranshandler stage?

2003-09-28 Thread Scott Alexander
Hi, Is it possible to know has a user just clicked on a link or right clicked and selected "Save link target as" ? I've looked at $r->as_string for NN, IE etc. I need different action during my perltranshandler stage depending does the user left click or right click. Scott

MP1 to MP2 porting problem (using spreadsheet::writeexcel)

2003-10-16 Thread Scott Beuker
t_dup_STDOUT_P55017/]. But although the response points towards using "Apache::RequestIO", it does not mention how it would be utilized nor can I find any documentation on how it would be utilized elsewhere (and my own efforts to figure it out are proving futile). If anyone could offer some i

[mp2] CGI.pm param's always empty from only some clients (bug or mistake on my part?)

2003-10-30 Thread Scott Beuker
trend_fe.pl", "/www/trend.soc.shaw.ca/trend_fe.pl"); -- Thank you in advance for any help. I realize that this is probably not enough information to resolve an issue (unless it is a known issue), but with some guidance I can provide some more

RE: [mp2] CGI.pm param's always empty from only some clients (bug or mistake on my part?)

2003-10-30 Thread Scott Beuker
27;))); page_select($q, $dbh); } else { page_select($q, $dbh); } exit(0); } - /perl - Please let me know if there is anything more I can do. I hope this helps. I thought about writing a small example script myself but given the amount of time I have spent on this issue already, I have to be careful here at work. Cheers, Scott Beuker

RE: [mp2] CGI.pm param's always empty from only some clients (bug or mistake on my part?)

2003-10-30 Thread Scott Beuker
hope you are able to track this one down. Thanks, Scott Beuker

RE: [mp2] CGI.pm param's always empty from only some clients (bug or mistake on my part?)

2003-10-31 Thread Scott Beuker
elow. close $filehandle if $CLOSE_UPLOAD_FILES; $CGI::DefaultClass->binmode($filehandle) if $CGI::needs_binmode; # Save some information about the uploaded file where we can get # at it later. $self->{'.tmpfiles'}->{fileno($filehandle)}= { name => $tmpfile, info => {%header}, }; push(@{$self->{$param}},$filehandle); } }ðL] - /error_log - That's a lot of data, so I'll stop there. Let me know if what I am providing is not clear or not what you are looking for. Thanks, Scott Beuker

RE: [mp2] CGI.pm param's always empty from only some clients (bug or mistake on my part?)

2003-10-31 Thread Scott Beuker
t the other stuff in the error_log in my previous response to Stas. Cheers, Scott Beuker

RE: [mp2] CGI.pm param's always empty from only some clients (bug or mistake on my part?)

2003-10-31 Thread Scott Beuker
Stas, The patch seems to work based on one previously affected client! However, it's evening here and everyone has gone home. I'll unfortunately need to wait until Monday to test more affected clients. I'll let you know then the results, but so far so good! Thanks, Scott >

RE: [mp2] CGI.pm param's always empty from only some clients (bug or mistake on my part?)

2003-11-03 Thread Scott Beuker
Stas, I have confirmed that the patch has worked everywhere! Thank you very much for your help (and to Geoff too). Can I assume that you will be submitting the patch to the CGI.pm maintainer? Thanks, Scott Beuker

RE: [patch CGI.pm] fix the read() POST requests under 'SetHandler modperl'

2003-11-04 Thread Scott Beuker
I've reverted and patched, looks good. No issues so far as I can see, the clients that were affected before are still working fine. Thanks, Scott Beuker > -Original Message- > From: Stas Bekman [mailto:[EMAIL PROTECTED] > Sent: November 3, 2003 6:08 PM > To: mod_perl Ma

RE: [patch CGI.pm] fix the read() POST requests under 'SetHandler modperl'

2003-11-05 Thread Scott Beuker
Tested and working on my mod_perl 2 with ModPerl::Registry setup. Your scripts from /examples below work, and my problems from earlier on are not seen. Thanks, Scott Beuker > -Original Message- > From: Lincoln Stein [mailto:[EMAIL PROTECTED] > Sent: November 5, 2003 7:11 AM &

perl chat thru reverse_proxy ?

2003-11-06 Thread Scott Alexander
end apache server waiting for the output to end before it sends all the data to the client's browser? Or? Scott -- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html

Creating a filter for all text/html files

2005-01-30 Thread Scott Gifford
Hello, I'm working on moving a Web server to a new location, and to test it, I'd like to use a simple filter to replace all references to the old server name with the IP address of the new server. This is just for testing, so it's OK that it's not a perfect solution. Basically, I'm doing: s

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 >&

Re: mod_perl/Apache troubles with cell phone

2005-03-09 Thread Scott Gifford
Tom Schindl <[EMAIL PROTECTED]> writes: > Is the content-type set appropiately? I don't know what its supposed > to be on for a cell-phone. Any could to help you would be appreciated. It should be text/vnd.wap.wml ScottG.

Re: Restarting apache from child?

2005-03-15 Thread Scott Gifford
Maxim Nechaev <[EMAIL PROTECTED]> writes: > I need to restart or graceful restart apache server from one of his > child. It is possible? If yes, how to do this more correctly? The main Apache process runs as root, and each Apache child process runs as a less-privileged user, and so would not have

Re: Restarting apache from child?

2005-03-15 Thread Scott Gifford
"Jain, Abhay K, ALABS" <[EMAIL PROTECTED]> writes: [...] > Scripts such as perl or ksh do not become root with setuid. > They really do not get the same privilege. Setuid to root > works ok with a compiled executable. It's OS-specific, so that may or may not be true. Some OS's, like Solaris, im

Re: shared memory

2005-03-15 Thread Scott Gifford
André Warnier <[EMAIL PROTECTED]> writes: [...] > I have previously gone though a lot of perl and mod_perl > documentation, and perl module descriptions, and I never seemed to > find a clear answer about wether yes or no it was possible to share > in-memory data between 2 perl processes (or threa

Re: Restarting apache from child

2005-03-16 Thread Scott Gifford
Maxim Nechaev <[EMAIL PROTECTED]> writes: > Scott, thanks for response! > > SG> The main Apache process runs as root, and each Apache child process > SG> runs as a less-privileged user, and so would not have permission to > SG> signal the main process to tell it

Filter on top of a CGI script

2005-03-22 Thread Scott Gifford
Hello, I've got a filter which replaces references to a particular hostname with another name, to allow testing of a new server. The filter is very simple, and works great for static files (thanks in part to some earlier help from this list!) But, I can't get it to work for CGI scripts. If I pu

Re: Filter on top of a CGI script

2005-03-22 Thread Scott Gifford
Thanks for you response, Slava. More below... Slava Bizyayev <[EMAIL PROTECTED]> writes: > Hi Scott, > > As far as I understand, your handler Apache::SiteMoved does all the > dirty work for you on Apache-1, replacing the hostname. Yes. > Additionally, you want your CGI

mp2: print to STDERR on Win32?

2005-04-06 Thread Scott Scecina
method I need to call? I'm currently running Apache/2.0.52 (Win32) mod_perl/1.999.21 Perl/v5.8.4 TIA, - Scott

Re: [OT] checking for legal chars in a filename passed in by upload params?

2005-04-11 Thread Scott Gifford
Carl Brewer <[EMAIL PROTECTED]> writes: [...] > I'm not too worried about the upload filenames, but the defensive > programmer in me somewhere says if I'm going to write this, I should > prevent the uploadee from doing bad things. The uploadee *should* > be a trusted user, but may not be... I d

Re: Web Content Compression FAQ - update

2005-04-18 Thread Scott Gifford
Slava Bizyayev <[EMAIL PROTECTED]> writes: > Thanks, Stas! > On Mon, 2005-04-18 at 12:10, Stas Bekman wrote: [...] >> Also, please fix your original: >> >> - >From the perspective of global architecture and scalability planning, >> + From the perspective of global architecture and scalability p

Re: Web Content Compression FAQ - update

2005-04-18 Thread Scott Gifford
Stas Bekman <[EMAIL PROTECTED]> writes: > Scott Gifford wrote: >> Slava Bizyayev <[EMAIL PROTECTED]> writes: [...] >>>Strangely... There is no '>' in my original. Neither I find in >>>attachment that I sent... >> That's a standard

Apache1/mp1 and Apache2/mp2 on the same machine

2005-04-19 Thread Scott Cain
I wanted. This was with RC4. The only way I could fix it was to remove everything from my perl libs that had Apache or mod_perl associations and then reinstall mod_perl2. So, the question is: is it possible (and relatively easy) to have mod_perl1 and mod_perl2 installed on the same machine?

Re: Apache1/mp1 and Apache2/mp2 on the same machine

2005-04-19 Thread Scott Cain
> > > Try mod_perl2.00 RC5 seems to work for me :) > > MP_APACHE2_INST=1 is gone. > > mod_perl.pm is installed as mod_perl2.pm > and mp2 libs are in Apache2:: directory and namespace by default. > > See this: &

Re: Apache1/mp1 and Apache2/mp2 on the same machine

2005-04-19 Thread Scott Cain
se { $MOD_PERL_VERSION = 1; } return $MOD_PERL_VERSION; } } Is there any reason to believe that would work now as opposed to not working before? It appeared that before, at least some of the time, even though I was using Apache2, the mod_perl_version method would return '1&

Re: Apache1/mp1 and Apache2/mp2 on the same machine

2005-04-19 Thread Scott Cain
That is a great idea and I will use it in the future. Unfortunately, it doesn't really help my users who, while very bright, are not perl developers and would likely balk at doing that. Thanks, Scott On Tue, 2005-04-19 at 14:14 -0700, ___cliff rayman___ wrote: > Scott Cain wrote: >

Re: Apache1/mp1 and Apache2/mp2 on the same machine

2005-04-19 Thread Scott Cain
Philip, Thanks! That is very useful info--I will forward it to the turnkey developers (it's not my project, just related to one I am working on). Scott On Tue, 2005-04-19 at 17:26 -0400, Philip M. Gollucci wrote: > Scott Cain wrote: > > >I am using turnkey (http://turnkey.sf

Re: Apache1/mp1 and Apache2/mp2 on the same machine

2005-04-19 Thread Scott Cain
That's a good point. I will at least suggest it to them. Scott On Tue, 2005-04-19 at 17:37 -0400, Perrin Harkins wrote: > On Tue, 2005-04-19 at 17:21 -0400, Scott Cain wrote: > > That is a great idea and I will use it in the future. Unfortunately, it > > doesn't really

Apache::Upload problems (can't see upload info)

2005-05-02 Thread scott fagg
I'm trying to get apache::upload working. Module loads fine, produces no errors, but calls to 'upload' don't produce anything usable. For example, this snippet of code : use Apache::Request; use Apache::Upload; use Data::Dumper; $req = Apache::Request->new($r); $upload = $req->upload(); print D

Re: Apache::Upload problems (can't see upload info)

2005-05-02 Thread scott fagg
On Tue, 2005-05-03 at 11:47 +1000, scott fagg wrote: > I'm trying to get apache::upload working. Module loads fine, produces no > errors, but calls to 'upload' don't produce anything usable. For > example, this snippet of code : > > use Apache::Request; >

Apache::File and setting filename

2005-05-17 Thread Scott Alexander
want to have in the interface two links for opening a file: one to open and one to download Regards Scott

Re: Apache::File and setting filename

2005-05-17 Thread Scott Alexander
Scott Alexander wrote: Hi, Is it possible with Apache::File to set the name of the filename? (Apache/1.3.31 (Unix) mod_perl/1.29 configured) For the record: $fh = Apache::File->new($file) or warn "Can't open $file $!"; $r->content_type('application/octet-stream');

RE: Apache2::DBI

2005-06-14 Thread Aaron Scott
> -Original Message- > From: Adam Kennedy [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 07, 2005 10:43 PM > To: Philip M. Gollucci; mod_perl > Subject: Re: Apache2::DBI > > Indeed. > > All that might be needed is a small... > > =head1 COMPATIBILITY > > Apache::DBI is compatible with

RE: Getting lots of redefined statements in the error_log

2005-06-20 Thread Aaron Scott
ine. --- Aaron Scott Software Engineer Cymphonix -- Network Composer Office: (801) 938-1500 http://www.cymphonix.com > -Original Message- > From: Martin Moss [mailto:[EMAIL PROTECTED] > Sent: Monday, June 20, 2005 9:06 AM > To: Boysenberry Payne; mod_perl > Subject: Re: Gettin

RE: Getting lots of redefined statements in the error_log

2005-06-20 Thread Aaron Scott
> Huh? Are you saying that MyPackage and SomeDir::MyPackage are somehow > the same file? Or that they actually declare the same package name? Or > don't declare any package name at all? > > - Perrin For a file /path/to/SomeDir/MyPackage.pm, if I 'use MyPackage;' in one file, then subsequently '

RE: Getting lots of redefined statements in the error_log

2005-06-20 Thread Aaron Scott
> But those should be two totally separate files with separate package > declarations at the top. It doesn't make sense that there would be any > namespace collisions. > > - Perrin I can duplicate it with the following simple example: -- mod_perl.conf PerlRequire conf/startup.pl SetHandl

Re: module requires either Apache::Foo or Apache2::Foo

2005-06-27 Thread Scott Gifford
I don't have an answer for your original question, but... Michael Peters <[EMAIL PROTECTED]> writes: [...] > As a side note, I know I can split it up into 2 different distributions > using the 'Apache' and 'Apache2' names, but I really don't want to do > that since 99% or the modules code is the

which CGI.pm to use with pre_RC5 mod_perl2?

2005-06-29 Thread Scott Cain
Hello, I know that a little while ago, Lincoln put out a new version of CGI.pm to deal with API changes in mod_perl2. The question I have is this: if I am using mod_perl2 RC4, what version of CGI.pm should I be using (or does it not matter)? Thanks, Scott

Apache XML Content Production Name Space

2005-07-08 Thread Scott Penrose
Apache2 module but I didn't want to reproduce the wheel) * What should be the name space for these Apache2 content generators (an example of one is one that I have to generate vCal/ics files to XML form for processing). Thanks Scott -- * - * http://www.osdc.com.au - Open Source Devel

Re: Apache XML Content Production Name Space

2005-07-08 Thread Scott Penrose
* What should be the name space for these Apache2 content generators (an example of one is one that I have to generate vCal/ ics files to XML form for processing). I meant to clarify this question. I have two parts for this: * Should it be Apache:: or Apache2:: * I can't figure out where it

Real Directory

2005-07-10 Thread Scott Penrose
t take into account Alias which could put the URI outside the document_root. Any pointers? Thanks Scott -- * - * http://www.osdc.com.au - Open Source Developers Conference * - * Scott Penrose Anthropomorphic Personification Expert http://search.cpan.org/search?author=SCOTT [EMAIL PROTECTED] Disma

Re: is there a templating system that....

2005-08-12 Thread Scott Gifford
tes go here, etc. I have a bunch of custom mod_perl stuff that > handles everything right now. I just want to split the code out of the > handler routines. I use CGI::FastTemplate, though my copy is by now so heavily modified as to be unrecognizable. That's about as simple as you can get. Scott.

STDOUT clones in mod_perl

2005-08-19 Thread David Scott
I've been trying to pass the STDOUT filehandle to subroutines, with mixed success. Seems I should be able to do: my $fh = \*STDOUT; my_sub( $fh ); where my_sub is: sub my_sub { my ( $fh ) = @_; print $fh "foobar\n"; } I'm not getting any output at all, in fact the Apache process blocks

Re: Problem with french accents using mod perl

2005-09-08 Thread David Scott
Um, guys, whatever happened to character entities for non-US ASCII characters (eg é for e-accent-aigu)? Seems to me it would be easy to write a filter to replace outgoing characters with their character entity equivalents, thereby avoiding character set issues. d Aaron Ross wrote: I have

Configuration Question

2005-09-20 Thread Scott Wessels
/config.html#Modifying_C__INC__on_a_Per_VirtualHost but on a per Location basis? Thanks, Scott

apache2::upload with reverse_proxy

2005-12-05 Thread Scott Alexander
s the reason for it to stop working? Both apache process are running as same user 'nobody' Regards Scott

Re: apache2::upload with reverse_proxy

2005-12-06 Thread Scott Alexander
Srebrenko Sehic wrote: There is a bug introduced in Apache 2.0.55 which breaks mod_proxy in various ways with POST data. Try 2.0.54 and see if that helps. Yes thanks very much that was the problem. I installed 2.2.0 as the front_end and works fine. Scott On 12/5/05, Scott Alexander

Re: -M in modperl

2006-01-12 Thread Scott Gifford
r program is looking in the wrong directory for the files. If that's the case, you need to either chdir("/path") before doing this, or else prepend "/path/" to the filenames before using -M: my @dots = grep(/recovery/,sort { -M "/path/$a" <=> -M "/path/$b" } readdir(DIR)); Good luck! ---Scott.

Can't print to selected filehandle?

2006-02-21 Thread Scott Gifford
acking down the problem. This is on an up-to-date Debian Woody system, with Apache 1.3.26 and mod_perl 1.26, perl 5.8.0. Scott.

Re: Can't print to selected filehandle?

2006-02-21 Thread Scott Gifford
, OK. That's a little annoying; I'll have to go hack on the module to teach it about mod_perl. I wonder why select doesn't do The Right Thing on its own?... Scott.

SubRequest in Handler vs SubRequest in Filter - and Segmentation Fault

2006-06-18 Thread Scott Penrose
re a likely bug somewhere? BTW. I tested this in both apache 2.0 and 2.2 using mod_perl2.0.2. I have not added any traces or debug information yet in case there is already an obvious answer. Ta Scott -- * - * http://www.osdc.com.au - Open Source Developers Conference * - * Scott Penrose VP in charg

Subrequest and Filters

2006-07-02 Thread Scott Penrose
Does anyone have any experience calling Subrequests from a Filter ? Scott -- * - * http://www.osdc.com.au - Open Source Developers Conference * - * Scott Penrose Anthropomorphic Personification Expert http://search.cpan.org/search?author=SCOTT [EMAIL PROTECTED] Dismaimer: While every

Re: SubRequest in Handler vs SubRequest in Filter - and Segmentation Fault

2006-07-03 Thread Scott Penrose
Is this a request or a connection filter? It won't work as a connection filter (r is not available there). It is an ouptut filter. What's the core's backtrace? I will generate this tomorrow (don't have access to the machine today). Thanks Scott P.S. I have done a t

Re: SubRequest in Handler vs SubRequest in Filter - and Segmentation Fault

2006-07-04 Thread Scott Penrose
On 04/07/2006, at 17:30, Stas Bekman wrote: Scott Penrose wrote: Is this a request or a connection filter? It won't work as a connection filter (r is not available there). It is an ouptut filter. But what output filter? There are two: http://perl.apache.org/docs/2.0/user/han

Re: SubRequest in Handler vs SubRequest in Filter - and Segmentation Fault

2006-07-04 Thread Scott Penrose
On 04/07/2006, at 20:53, Scott Penrose wrote: On 04/07/2006, at 17:30, Stas Bekman wrote: Scott Penrose wrote: Is this a request or a connection filter? It won't work as a connection filter (r is not available there). It is an ouptut filter. But what output filter? There are two:

Re: SubRequest in Handler vs SubRequest in Filter - and Segmentation Fault

2006-07-04 Thread Scott Penrose
oblem is not likely perl mod_perl 2.0.2 - current release Apache 2.2 - current release I am a bit lost - it seems to me that the attributes FilterRequestHandler, FilterInitHandler etc can not work in the current release. But... maybe I have missed something ? Scott

Re: SubRequest in Handler vs SubRequest in Filter - and Segmentation Fault

2006-07-05 Thread Scott Penrose
You can't test mod_perl modules from the command line, Scott. Only running under a mod_perl interpreter. Dooh. I didn't know that. Mine have always worked - I guess I just have not come across the thing that does not work :-) Until now. Right, that worked in mod_perl - still seg

Re: SubRequest in Handler vs SubRequest in Filter - and Segmentation Fault

2006-07-05 Thread Scott Penrose
t the subrequest being requested. Once this is solved I will write up an extra test which will be along the lines of TestFilter/out_str_subreq_default_default - currently the tests check that the Subrequest can be default or modperl, but not the original. Scott

Re: SubRequest in Handler vs SubRequest in Filter - and Segmentation Fault

2006-07-06 Thread Scott Penrose
ed is that Subrequest inside a Filter Segfaults if the handler is default, but not if it is modperl. Scott

Re: SubRequest in Handler vs SubRequest in Filter - and Segmentation Fault

2006-07-09 Thread Scott Penrose
"Apache2::SubRequest::run"); I am building the test case now to prove it is the case and pick it up for the future. Once I have a test case that fails and is then fixed I will send you the whole patch. Thanks heaps. (Cross fingers now that it all works) :-) Scott

Re: [mp2] insideOut mp.

2006-07-12 Thread Scott Penrose
wiser people may have better advice. Scott -- * - * http://www.osdc.com.au - Open Source Developers Conference * - * Scott Penrose Open source developer http://linux.dd.com.au/ [EMAIL PROTECTED] Dismaimer: Open sauce usually ends up never coming out (of the bottle). Please do not send me Word or

Re: Help: ENV shared between requests???

2006-07-30 Thread Scott Gifford
is effect in viewed pages, keep in mind the possibility this is browser caching. Also make sure your version of mod_perl is up-to-date, as it's possible you're seeing a bug that's fixed in my version (I'm using the version that comes with Debian Woody, 1.26). Good luck! Scott.

Location, filename, path_info

2006-07-31 Thread Scott Penrose
r what ever the location that the handler is set in. I can achieve this with a variable that sets the location, but that seemed a little redundant. Effectively I am creating a "virtual" location. Is there a way I can configure or get the Location ? Ta Scott -- * - * http://

Re: Location, filename, path_info

2006-07-31 Thread Scott Penrose
ng my question is - how do I use a Perl Module instead of a ScriptAlias (CGI Script) and get the same results from path_info. Ta Scott -- * - * http://www.osdc.com.au - Open Source Developers Conference * - * Scott Penrose VP in charge of Pancakes http://linux.dd.com.au/ [EMAIL PROTECTED]

Re: handlers

2006-07-31 Thread Scott Penrose
s "/debitor" - it would win. So you make sure that it is always least to most significant. Scott -- * - * http://www.osdc.com.au - Open Source Developers Conference * - * Scott Penrose Anthropomorphic Personification Expert http://search.cpan.org/search?author=SCOTT [EMAIL PROTECTED]

Re: handlers

2006-07-31 Thread Scott Penrose
akes sense. Scott -- * - * http://www.osdc.com.au - Open Source Developers Conference * - * Scott Penrose Welcome to the Digital Dimension http://www.dd.com.au/ [EMAIL PROTECTED] Dismaimer: Contents of this mail and signature are bound to change randomly. Whilst every attempt has been made to co

Re: acceptable memory leaks?

2006-08-16 Thread David Scott
Memory leak != memory hog. The leak could indicate instability and is a much higher priority than "a measly couple of KB". Even little leaks need to be plugged. d Joel Bernstein wrote: On Wed, Aug 16, 2006 at 03:24:32PM -0500, Matthew wrote: Memory is cheap / CPU is cheap My bos

Re: acceptable memory leaks?

2006-08-16 Thread David Scott
"...uses more memory over time..." Hmm, sounds like an actual leak to me, unless there's some justification for it. I agree that the problem is probably in someone's XS somewhere. But a leak is a leak and is bad. d Perrin Harkins wrote: On Wed, 2006-08-16 at 13:3

modperl@perl.apache.org

2006-09-10 Thread Scott Kaplan
undefined subroutine &main::make_form I am not an expert in Perl and I am just wondering if anyone can shed some light. Thanks, Scott

apache 1.37 + mod_perl + libapreq

2006-09-26 Thread David Scott
Guys, I'm trying to build a bundled version of Apache 1 + mod_perl but am having a hell of a time building the Apache::Request and Apache::Cookie modules. I've built the shared object version of libapreq and that works fine (I've got my Apache 1.37 in a special source file and libapreq finds

previously viewed (within 1 minute) dynamic pages don't get updated unless I hit refresh

2006-10-29 Thread Scott Kaplan
and I couldn't find anything. Has anyone seen this problem before? Thanks, Scott

Re: previously viewed (within 1 minute) dynamic pages don't get updated unless I hit refresh

2006-11-01 Thread Scott Kaplan
Thanks Johathan & Dondi. Setting the "Pragma" and "Cache-Control" solved the problem. Scott On 10/29/06, Jonathan Vanasco <[EMAIL PROTECTED]> wrote: On Oct 29, 2006, at 9:05 PM, Scott Kaplan wrote: > I tried this on multiple browsers and on multiple mac

Apache::VMonitor doesn't install (can't find

2006-11-30 Thread David Scott
Hey guys, I've installed Apache 2.2.3 and mod_perl 2.0.3 + libapreq2, apparently all successfully (my application runs pretty well). Now I want to install Apache::VMonitor and can't. I've running on Debian sarge and have Apache 1.3.33 installed as well in /usr/sbin/apache. The first issue

Apache2::Status "Memory Usage" fails on Debian

2006-11-30 Thread David Scott
This is not a good Apache day. I already sent out a message regarding an Apache::Scoreboard problem, and now Apache2::Status doesn't work either. Here is an excerpt from httpd.conf: ExtendedStatus On PerlLoadModule Apache2::Status PerlModule CGI PerlModule B::TerseSize Listen

Instability at startup for Apache2/mod_perl2 using worker MPM

2006-11-30 Thread David Scott
OK this is my third message today, hopefully it will be the last. I've built Apache 2.2.3 and mod_perl 2.0.3 with libapreq 2.08 and the worker MPM. There appears to be some kind of race condition at startup that prevents the server from coming up. This only happens once in a while, and can b

Apache::VMonitor doesn't install (can't find Apache::Scoreboard)

2006-12-01 Thread David Scott
Phillip wrote: Hey guys, I've installed Apache 2.2.3 and mod_perl 2.0.3 + libapreq2, >apparently all successfully (my application runs pretty well). Now I want to install Apache::VMonitor and can't. I've running on Debian sarge and have Apache 1.3.33 installed as > well >in /usr/sbin/apach

Re: Apache2::Status "Memory Usage" fails on Debian

2006-12-01 Thread David Scott
n't use the script name. d Jonathan wrote: On Nov 30, 2006, at 5:58 PM, David Scott wrote: This is not a good Apache day. I already sent out a message regarding an Apache::Scoreboard problem, and now Apache2::Status doesn't work either. it's a bug, but i think its platform speci

Re: Apache::VMonitor doesn't install (can't find Apache::Scoreboard)

2006-12-03 Thread David Scott
rs to be the smoking gun. Is there something I need to do when building httpd in the first place? Do I need to tweak LD_LIBRARY_PATH or something? Thanks. d Philip M. Gollucci wrote: David Scott wrote: make test APACHE_TEST_HTTPD=/usr/local/apache2/bin/httpd APACHE_TEST_APXS=/usr/local/a

Apache::VMonitor doesn't install (can't find Apache::Scoreboard): suggested patch

2006-12-05 Thread David Scott
I *finally* managed to get this to work. The problem is in Apache::Scoreboard, in Scoreboard.xs: apparently ap_exists_scoreboard_image() can return the value 0 even when everything is OK, causing the existence test to fail and Apache::Scoreboard not to load. The following patch to Scoreboard

Re: Instability at startup for Apache2/mod_perl2 using worker MPM

2006-12-12 Thread David Scott
tithreaded Apache) rather than vanilla DBI. If anyone has experience with DBIx::Class on mod_perl2 using the worker MPM, we would be grateful to hear from you. Again, thanks to everyone. d David Scott wrote: This is not a good Apache day. I already sent out a message regarding an Apache::Scoreboa

Re: escape_uri ?

2006-12-29 Thread David Scott
From: http://perl.apache.org/docs/2.0/user/porting/compat.html#C_Apache__Util__escape_uri___: "Apache::Util::escape_uri() Apache::Util::escape_uri() has been replaced with Apache2::Util::escape_path() and requires a pool o

Re: Sample Web Application that uses mod_perl

2007-02-22 Thread David Scott
mod_perl has been out for over 10 years. There are a couple of O'Reilly books that describe it in detail. The book you probably want to look at is "Writing Apache Modules with Perl and C" by Lincoln Stein and Doug MacEachern, which came out in 1999. It contains a lot of examples of mod_perl

  1   2   >