Re: Mod_perl tutorials

2000-12-13 Thread Ken
I am also interested in mod_perl tutorials. If someone is taking names and email addresses, add mine. Make it Ken Creason, [EMAIL PROTECTED] Thanks, _Ken Napa Valley Linux Users Group Napa Valley Perl Mongers At 01:41 PM 12/13/00 -0500, you wrote: >On Wed, Dec 13, 2000 at 11:08:44AM -0

Re: [OT] ApacheCon BOF

2001-03-20 Thread Ken
large friendly letters printed below :) Ken Creason - [EMAIL PROTECTED] C @,@ Web Development/Server Administration \ -/ Fischer Computer Systems

Re: growing processes

2000-05-09 Thread Ken Williams
I don't think you want to "use vars" for your regular variables. Too dangerous, and you set yourself up for memory leaks. Declare them as lexicals. Only use a global for something you want to cache ($dbh). Something like: #!/usr/bin/perl -w # some sample code use strict;

Re: Apache::AutoIndex patch

2000-05-11 Thread Ken Williams
ther way around. '+' should be next to the new lines. --- --- Ken Williams Last Bastion of Euclidity [EMAIL PROTECTED]The Math Forum

Access to userland objects in different phases

2000-05-15 Thread Ken Miller
::Services->set_options( { ... } ); my $dbs = DB::Services->get_instance; get_instance() would create the backing object the first time, then returned the cached object on subsequent calls. Thoughts? Cheers! -klm. --- Ken Miller, Consultant Shetland Software Services Inc.

Re: make test of Apache::SSI

2000-05-15 Thread Ken Williams
[EMAIL PROTECTED] (Perrin Harkins) wrote: >On Mon, 15 May 2000, Wang, Pin-Chieh wrote: >> I am installing Apache::SSI under Mod_perl.. >> When I ran make test I have permission denied when it trying to start httpd >> , therefore the test failed. > >It doesn't work

Re: make test of Apache::SSI

2000-05-15 Thread Ken Williams
[EMAIL PROTECTED] (Perrin Harkins) wrote: >On Mon, 15 May 2000, Ken Williams wrote: >> I'd prefer to figure out why the test is failing, because most of the real >> testing is done using that test. But it's difficult because I've never seen >> the test fai

ANNOUNCE: Apache::SSI v2.12

2000-05-15 Thread Ken Williams
The URL http://mathforum.com/~ken/modules/archive/Apache-SSI-2.12.tar.gz has entered CPAN as file: $CPAN/authors/id/KWILLIAMS/Apache-SSI-2.12.tar.gz size: 16154 bytes md5: 9d999ef37a1815f1767918336c15df49 Changes since 2.11: 2.12 Mon May 15 18:50:37 EDT 2000 Don't

Re: Access to userland objects in different phases

2000-05-16 Thread Ken Miller
t;log_error( "$$: Services object allocated, handle=$dbs" ); } 1; Perfect! I now have access to my services object everywhere! Thanks for the point at Class::Singleton. I would have eventually written my own, but with CPAN, what's the point? Cheers! -klm. --- Ken Miller, Consultant Shetland Software Services Inc.

Re: LARGE PERL footprint

2000-05-20 Thread Ken Williams
er had the need to use one, so I can't recommend anything. >> I require a large array of ints in a real application > >Er, real (as opposed to floating point:) ? As opposed to imaginary, probably. Or complex. =) ----------

Re: mod_perl and ssi

2000-05-14 Thread Ken Williams
in your httpd.conf file. You can also call the methods of Apache::SSI yourself if you don't want to chain PerlHandlers. ------ Ken Williams Last Bastion of Euclidity [EMAIL PROTECTED]The Math Forum

Re: mod_perl and ssi

2000-05-15 Thread Ken Williams
e #include's didn't >come up in the right place. > >Suppose the template looks like, >(hello.txt contains the text "hello!") > > > > > >Here's what I got, > > hello! > > > > >What's wrong with me? > >

Re: Wierd error log entry:

2000-05-10 Thread Ken Williams
Perhaps it's the result of a line like "require 5.0;"? That's the only thing I can think of, I've never seen it before. [EMAIL PROTECTED] (Matt Sergeant) wrote: >Apache::StatINC: Can't locate /usr/lib/perl5/site_perl/5.0 at >/usr/lib/perl5/site_perl/5.005/i386-linux/Apache/StatINC.pm line 19. >

Re: global variables and reparsing question (low priority ;)

2000-05-23 Thread Ken Williams
arsed twice except http configuration files. Is this file used inside sections of config files, maybe? ------ Ken Williams Last Bastion of Euclidity [EMAIL PROTECTED]The Math Forum

Fine-grained authorization w. Apache::AuthCookie

2000-05-23 Thread Ken Miller
ry) then any other handlers in the chain won't be called. Or is there a way to override this behaviour? What's the best way to do this? I can always stuff some code into my main handler, but that's ugly. Thanks. Cheers! -klm. ---

Re: Fine-grained authorization w. Apache::AuthCookie

2000-05-23 Thread Ken Miller
At 11:26 AM 5/23/00 -0500, James G Smith wrote: >Ken Miller <[EMAIL PROTECTED]> wrote: >>I'm using Apache::AuthCookie for general authentication/authorization for a >>site I'm working on. However, there's a requirement for fine-grained >>authorizatio

Re: global variables and reparsing question (low priority ;)

2000-05-24 Thread Ken Williams
the mess for weeks afterwards. Pulp everywhere! Much worse than trying to take the square root of a negative number, which just gives you a Pavlovian shock and sends you on your way. ( =), of course) --- --- Ken Williams

ANNOUNCE: Apache::Filter v1.009

2000-05-27 Thread Ken Williams
The URL http://mathforum.com/~ken/modules/archive/Apache-Filter-1.009.tar.gz has entered CPAN as file: $CPAN/authors/id/K/KW/KWILLIAMS/Apache-Filter-1.009.tar.gz size: 14357 bytes md5: 429bc7a09c63f2a0e9e47ac4423016ad Changes since 1.007: Version: 1.009 Date: 2000/05/27 14:00

Re: Help with Apache::SSI Apache::Filter in Apache::ASP

2000-05-31 Thread Ken Williams
= @_; >my $subr = $self->find_file($args); >--> unless ($subr->run == OK) { >$self->error("Include of '@{[$subr->filename()]}' failed: $!"); >} >return; >} Wow, I just fixed this bug last night! See if the version at http://m

[ANNOUNCE] Apache::SSI version 2.13

2000-06-03 Thread Ken Williams
Hi, The URL http://forum.swarthmore.edu/~ken/modules/archive/Apache-SSI-2.13.tar.gz has entered CPAN as file: $CPAN/authors/id/K/KW/KWILLIAMS/Apache-SSI-2.13.tar.gz size: 16377 bytes md5: 9b9076af996518c5501a9a669ca17f13 Changes since 2.12: Since HTML::SimpleParse now handles

Re: Apache::Dispatch

2000-06-05 Thread Ken Williams
very few access points to the code, then make sure you have very tight validation of the data in those access points. Taint mode comes to mind as one tool in the belt. ------ Ken Williams Last Bastion of Euclidity [EMAIL PROTECTED]The Math Forum

Re: Solution for: Re: $ENV{PATH} set by mod_perl script affects mod_cgi scripts

2000-06-05 Thread Ken Williams
y if your script dies in mid-run. The same technique is used for $^W in RegistryNG. ------ Ken Williams Last Bastion of Euclidity [EMAIL PROTECTED]The Math Forum

RE: [benchmark] DBI/preload (was Re: [RFC] improving memory mapping thru code exercising)

2000-06-06 Thread Ken Miller
toCommit TYPE 1 PARENT undef KIDS 0 (0 active) IMP_DATA undef in 'DBD::Oracle::dr' I tried both use DBD::Oracle and DBI->install_driver( 'Oracle' ); with the same results. It didn't seem to cause any problems, sinc

Re: Data structure question

2000-06-06 Thread Ken Miller
rray on the fly, once. For the site I'm working on, I return a reference to a ResultSet object which through the next() method returns the next row in the result set: my $account = $dbs->get_account( "123456789" ); my $rs = $account->get_cards; while( my $unit = $rs->next

Re: Big pages and gzip

2000-06-07 Thread Ken Williams
7;s no Apache::Gzip. But that's a lie too - I've been harboring a new Apache::Gzip that seems to work, and plays well with Apache::Filter too. As if you couldn't guess that based on my other modules. =) I think I'll have a version of Apache::Gzip up on CPAN within a couple of day

Re: Apache::Session weirdness

2000-06-09 Thread Ken Miller
At 03:13 AM 6/10/00 +0200, Jure Simsic wrote: >I'm tryng to use Apache::Session and store a bunch of data into a >(complex) hash (using FileStore). The weirdest thing, that made me >banging my head for a while was, that when i first initialised the >session, everything was stored fine. But after r

Re: Big pages and gzip

2000-06-10 Thread Ken Williams
[EMAIL PROTECTED] (Doug MacEachern) wrote: >On Wed, 7 Jun 2000, Ken Williams wrote: > >> [EMAIL PROTECTED] (Stas Bekman) wrote: >> >> >On Wed, 7 Jun 2000, Mark Hewis wrote: >> > >> >> it would seem to be quite straight forward to implement a handl

RE: Apache children hanging

2000-06-12 Thread Ken Williams
ril. ------ Ken Williams Last Bastion of Euclidity [EMAIL PROTECTED]The Math Forum

Re: handlers on CPAN

2000-06-14 Thread Ken Williams
folks at [EMAIL PROTECTED] first. If you get >no response from them after a day or two, nobody objected and >upload away. You should also discuss the stuff here, since the module people will want to know where you've discussed the module name. ---

$r->print(\$var) (WAS: Re: Slightly OT - Content-length)

2000-06-16 Thread Ken Williams
ake the point - I don't think it was made last time around (and for some reason our list archive isn't searching recent messages, so I couldn't actually check). --- --- Ken Williams

ANNOUNCE: Apache::AuthCookie 2.010

2000-06-16 Thread Ken Williams
Hi, The URL http://mathforum.com/~ken/modules/archive/Apache-AuthCookie-2.010.tar.gz has entered CPAN as file: $CPAN/authors/id/K/KW/KWILLIAMS/Apache-AuthCookie-2.010.tar.gz size: 17587 bytes md5: 664e97ccba483b2a2462ad0ab919b33d There are lots of changes from 2.007, which was

ANNOUNCE: Apache::AuthCookie 2.011

2000-06-17 Thread Ken Williams
Hi, The URL http://mathforum.com/~ken/modules/archive/Apache-AuthCookie-2.011.tar.gz has entered CPAN as file: $CPAN/authors/id/K/KW/KWILLIAMS/Apache-AuthCookie-2.011.tar.gz size: 18530 bytes md5: b4617ac3ed237e2ae5123e9c7756fc82 This release follows right on the heels of 2.010

ANNOUNCE: Apache::Filter 1.010

2000-06-17 Thread Ken Williams
The URL http://forum.swarthmore.edu/~ken/modules/archive/Apache-Filter-1.010.tar.gz has entered CPAN as file: $CPAN/authors/id/K/KW/KWILLIAMS/Apache-Filter-1.010.tar.gz size: 15166 bytes md5: 8d5e5dec3ffc5fce9ff7cab8d25f7d9e Changes since 1.009: Version: 1.010 Date: 2000/06/17

ANNOUNCE: Apache::Filter 1.011

2000-06-24 Thread Ken Williams
Hi, The URL http://forum.swarthmore.edu/~ken/modules/archive/Apache-Filter-1.011.tar.gz has entered CPAN as file: $CPAN/authors/id/K/KW/KWILLIAMS/Apache-Filter-1.011.tar.gz size: 15549 bytes md5: a760324b56c4f09e559512fda1e6baf5 Changes since 1.010: Version: 1.011 Date: 2000/06

Re: Apache::ASP - problem with installing Apache::SSI & ::Filter

2000-07-05 Thread Ken Williams
s like you don't have the mod_mime module in there. ---------- Ken Williams Last Bastion of Euclidity [EMAIL PROTECTED]The Math Forum

Re: Apache::ASP - problem with installing Apache::SSI & ::Filter

2000-07-05 Thread Ken Williams
[EMAIL PROTECTED] (Almetaal B.V.) wrote: >- Original Message - >From: "Ken Williams" <[EMAIL PROTECTED]> >To: "Almetaal B.V." <[EMAIL PROTECTED]> >Cc: <[EMAIL PROTECTED]> >Sent: Wednesday, July 05, 2000 18:11 >Subject: Re: Apac

Re: How to Authenticate using Cookie ?

2000-07-05 Thread Ken Williams
[EMAIL PROTECTED] (Tu Nguyen) wrote: >Hi, > >Can some one show me how to use cookie to check valid user ? > >which module should I use and how to modify httpd.conf. Have a look at Apache::AuthCookie, and read its docs. ---------

Re: Why mod_perl does not like File::Recurse module?

2000-07-12 Thread Ken Williams
e if running under >usual mod_cgi! > >By the way, %File::Recurse:: contains symbol for 'recurse', so I can't >understant why it is not defined... It seems like you're loading two different modules, perhaps. Try printing out $INC{'File/Recurse.pm'} an

Re: Idea of an apache module

2000-07-12 Thread Ken Williams
Luis >> >> -- >> Jason Bodnar + [EMAIL PROTECTED] + Team Linux >> >> Marge, you're my wife and I love you very much. But you're living in a >> world of makebelieve. With flowers and bells and leprechauns. And magic >> frogs with fu

Re: Idea of an apache module

2000-07-12 Thread Ken Williams
seem to be more of the roll-your-own-cache variety. --- --- Ken Williams Last Bastion of Euclidity [EMAIL PROTECTED]The Math Forum

Re: [OT] DBI:mysql question

2000-07-12 Thread Ken Williams
ysql:mysql", "yy", "xx") ->selectrow_array("SELECT GET_LOCK(\"mysql\", 5)"); print "lock: $lock\n"; sleep 10' ------ Ken Williams Last Bastion of Euclidity [EMAIL PROTECTED]The Math Forum

Re: Idea of an apache module

2000-07-13 Thread Ken Williams
h the output of those you have to do a full HTTP request using something like LWP. --- --- Ken Williams Last Bastion of Euclidity [EMAIL PROTECTED]The Math Forum

Re: [OT] Damian Conway book example (is the bug mine or his?)

2000-07-13 Thread Ken Williams
{"status", "id", "last_name", "first_name", "middle_name", "campus", "dob" } = split(/:/, $record); ------ Ken Williams Last Bastion of Euclidity [EMAIL PROTECTED]The Math Forum

Patch for easy testing of Apache::* modules

2000-07-16 Thread Ken Williams
ne with commit privileges on the CVS tree can get this in there. Comments quite welcome. Let me know if line endings or anything are messed up in the attachment. -Ken - NAME Apache::Test - Facilitates testing of Apache::* modules S

Re: Common request..

2000-07-17 Thread Ken Williams
some moron (like myself :) comes out of nowhere and >asks a question that has been asked and answered 1000x over before. > >Any help is of course appreciated! > >Michael Bacarella > ------ Ken Williams Last Bastion of Euclidity [EMAIL PROTECTED]The Math Forum

Re: PerlRun question

2000-07-17 Thread Ken Williams
ot;require" should help. Remember that "use" is equivalent to "require" and "import" in a BEGIN block (the BEGIN block is the important part), so it will only happen once even if the same code is run over and over. Then again, something still puzzles me about thi

Re: Patch for easy testing of Apache::* modules (resend)

2000-07-18 Thread Ken Williams
Hi all, Here's a resend of the Apache::test patch that I sent yesterday, this time sent as type text/plain from a Unix mailer. Rick Myers noted that the version I sent before was encoded with Macintosh BinHex, which is probably not the most appropriate choice for this list. ;-) -Ken

Re: Subroutine redefined errors at startup

2000-07-18 Thread Ken Williams
config file, outside any directive blocks. They always affect the global server anyway, not just the config section they're in. So it's a bit misleading to put them in a config section. ------ Ken Williams Last Bastion of Euclidity [EMAIL PROTECTED]The Math Forum

Re: Apache::Session & Math::Currency thawing issue.

2000-07-20 Thread Ken Williams
reason >it doesn't like being stuck into Apache::Session. > >I can work around it by testing if it's a Math::Currency reference, and >call Math::Currency->new. But this seems a little silly. Anyone seen >this before? > >Jay Jacobs ---

Re: Persistant DB Connections

2000-07-20 Thread Ken Williams
rse, if you really care about this you ought to test your specific situations before you decide. ---------- Ken Williams Last Bastion of Euclidity [EMAIL PROTECTED]The Math Forum

Patch not accepted?

2000-07-27 Thread Ken Williams
bsent. -Ken

[Fwd: mod_perl_sent_header improvement]

2000-07-27 Thread Ken Fox
Here's a patch that I sent to Doug. Not sure if I would accept something from a guy who *clearly* can't read a simple INSTALL file... ;) Here's hoping anyway. - Ken I was using $request->sent_header and found out that it's not terribly useful if PerlSendHeader is of

Re: Feature sets [was Re: Templating System]

2000-07-28 Thread Ken Williams
[EMAIL PROTECTED] (Drew Taylor) wrote: >Gerald Richter wrote: >> >> > >> > Vivek had an excellent suggestion in private email: put together a list >> > of features and let the developers check off the options their system >> > supports. My biggest question is who comes up with the feature list in

Re: Feature sets [was Re: Templating System]

2000-07-28 Thread Ken Williams
[EMAIL PROTECTED] (Frank D. Cringle) wrote: >Drew Taylor <[EMAIL PROTECTED]> writes: >> Ken Williams wrote: >> > >> > I suggest having not just a simple checkmark, but a 3-way check. A >> > system either supports a feature, or it doesn't, or it *o

Re: help on password decryption...

2000-07-31 Thread Ken Williams
[EMAIL PROTECTED] (Kiran Banoor) wrote: >hi, >I want to know that is there anyway i can decrpt the passwords stored >in htpasswd file in apache. >I greatly appreciate any help on this.. Nope, you can't do it. Those are one-way hashes of the passwords, not encrypted versions of them. They don't

Re: [Fwd: mod_perl_sent_header improvement]

2000-08-01 Thread Ken Fox
Ken Fox wrote: > I was using $request->sent_header and found out that it's > not terribly useful if PerlSendHeader is off -- sent_header > always returns 1. I changed mod_perl_sent_header so that > it returns 0, 1 or 2: > > 0 - headers have not been sent (PerlSend

Problem with Apache::Session::File

2000-08-01 Thread Ken Miller
I get this message in my error_log with using Apache::Session::File: Can't locate object method "close" via package "Apache::Session::File" at /usr/lib/perl5/site_perl/5.005/Apache/Session/File.pm line 40, chunk 13 Sure enough, there is no close method in Apache::Session::File or Apache::Sess

Re: Mason vs. Apache::Registry

2000-08-02 Thread Ken Williams
[EMAIL PROTECTED] (Kelly White) wrote: >I am considering using either HTML::Mason or Apache::Registry for my CGI >scripts, but am not sure which is faster. Would the template/pages be cached >like the scripts are in Registry? Which would be faster? Obviously using >Mason would make cleaner code

Re: Feature sets [was Re: Templating System]

2000-08-02 Thread Ken Williams
[EMAIL PROTECTED] (Gunther Birznieks) wrote: >I am afraid that while I agree, a check system is really quite useful to >me. Some things do need more quantification, but that can be done later. > >eg lightweight vs heavyweight is subjective. But it can be broken up into >saying something like how

RE: Apache::RefererBlock and ModuleConfig problem?

2000-08-03 Thread Ken Williams
this, but without success. From what I can tell, you >need a live server to tie into mod_perl::hooks() to get them, and >that's the only way. Hopefully, the stuff Ken Williams is doing with >Apache::test will make writing live tests easier... That would be a nice feature, yes. I&#

Re: .htacess security

2000-08-03 Thread Ken Williams
[EMAIL PROTECTED] (Rob Giseburt) wrote: >Are .htaccess files secure? I don't want users to be able to use >... sections or any other mod_perl constructs (setting scripts >to run via the Registry, for example) in .htaccess files. However, I need >..htaccess files turned on so users can password p

RE: Apache::RefererBlock and ModuleConfig problem?

2000-08-03 Thread Ken Williams
[EMAIL PROTECTED] (Geoffrey Young) wrote: >> -Original Message- >> From: Michael Hall [mailto:[EMAIL PROTECTED]] >> >> On Thu, Aug 03, 2000 at 01:27:17PM +0100, Matt Sergeant wrote: >> >> > Which raises an interesting question... Is there any way for >> > Makefile.PL to determin if a par

RE: Apache::RefererBlock and ModuleConfig problem?

2000-08-03 Thread Ken Williams
[EMAIL PROTECTED] (Stas Bekman) wrote: >On Thu, 3 Aug 2000, Ken Williams wrote: > >> [EMAIL PROTECTED] (Geoffrey Young) wrote: >> > From: Matt Sergeant [mailto:[EMAIL PROTECTED]] >> >> Which raises an interesting question... Is there any way for >> >

Re: ignore header_only()?

2000-08-04 Thread Ken Fox
eaders have already been sent. But that only works with PerlSendHeader turned on... Sorry to be a pain, but I still haven't heard anything back about my proposal: Ken Fox wrote: > I was using $request->sent_header and found out that it's > not terribly useful if PerlSendHeader i

Re: ignore header_only()?

2000-08-05 Thread Ken Williams
Ken Fox wrote: > I was using $request->sent_header and found out that it's > not terribly useful if PerlSendHeader is off -- sent_header > always returns 1. I changed mod_perl_sent_header so that > it returns 0, 1 or 2: > > 0 - headers have not been sent (PerlSend

Re: ignore header_only()?

2000-08-05 Thread Ken Fox
Ken Williams wrote: > I know it was ages ago when you sent this patch, but what's the > rationale for having $r->sent_header() return 1 when it hasn't sent the > header? I didn't want to break anything. I'm hoping that people using sent_header are just checking

Re: Patch not accepted?

2000-08-07 Thread Ken Williams
[EMAIL PROTECTED] (Doug MacEachern) wrote: >On Thu, 27 Jul 2000, Ken Williams wrote: > >> Hi all, >> >> I sent a patch for Apache::test a week or so ago. I got no >> responses, so I'm here to advocate again for its incorporation. The >>

Re: Flushing handler getting Open Sourced...

2000-08-08 Thread Ken Williams
[EMAIL PROTECTED] (Andrew Chen) wrote: >Hello all, > >I was involved in a discussion a few weeks ago regarding how Cobalt Group >(www.cobaltgroup.com) could get a performance boost by running our very >very dirty modules under PerlRun with PerlRunOnce Off and then to have a >handler that cleaned u

RE: weird print bug?

2000-08-08 Thread Ken Williams
[EMAIL PROTECTED] (David Harris) wrote: >T.J. Mather [mailto:[EMAIL PROTECTED]] wrote: >> However it doesn't work if you apply a non-greedy substitution operator on >> the scalar. > >You mean "global", not "greedy" True, but not especially helpful in this case. T.J., if you grok XS you might hav

Re: Flushing handler getting Open Sourced...

2000-08-09 Thread Ken Williams
into mod_perl? > >Andrew Chen >Intern, Architecture >[EMAIL PROTECTED] >206-219-8445 >The Cobalt Group, Inc. > >On Tue, 8 Aug 2000, Ken Williams wrote: > >> [EMAIL PROTECTED] (Andrew Chen) wrote: >> >Hello all, >> > >> >I was involve

Re: httpd.conf directive PerlHandler Apache::Hello->handler errors

2000-08-10 Thread Ken Williams
[EMAIL PROTECTED] (G.W. Haywood) wrote: >Hi there, > >On Wed, 9 Aug 2000, George Sanderson wrote: > >> PerlModule Apache::Hello >> >> SetHandler perl-script >> PerlHandler Apache::Hello->handler >> >> # >> Results in the following error_log output: >> [Sun Aug 6 21:48:02 2000] [error] Undefin

Re: parsing SSI in cgi scripts?

2000-08-11 Thread Ken Williams
[EMAIL PROTECTED] (Vladislav Safronov) wrote: >Hi, > >Is there way for processing SSI commands in perl? >(my templates may contains SSI commands, so what >should I do - just type in real html or process them somehow?) Check out Apache::SSI. It can solve the problem. Can be used with Apache::Fil

Re: RFC: Apache::Reload

2000-08-11 Thread Ken Williams
[EMAIL PROTECTED] (Matt Sergeant) wrote: >On Fri, 11 Aug 2000, Matt Sergeant wrote: >> This dates back to discussions nearly a year ago now, from Randal's >> initial Stonehenge::Reload, and Doug saying he'd like to see a more >> generic Apache::Reload that got rid of the necessity to call reload_m

Re: RFC: Apache::Reload

2000-08-11 Thread Ken Williams
Matt Sergeant's message: > >On Fri, 11 Aug 2000, Ken Williams wrote: > >> Hi Matt, >> >> Is it possible that this functionality should be integrated into >> Apache::StatInc? Perhaps with a couple of new directives to control >> behavior? > >Tha

Re: RFC: Apache::Reload

2000-08-12 Thread Ken Williams
Matt Sergeant's message: > >On Sat, 12 Aug 100, Ken Williams wrote: > >> That seems right - so perhaps it would be better to integrate the >> StatINC functionality into Apache::Reload than the other way around. >> If it's called Apache::Reload, then it might m

Re: $r->notes with slashes

2000-08-14 Thread Ken Williams
Geoffrey Young wrote: > > > -Original Message- > > From: Andrew Fuqua [mailto:[EMAIL PROTECTED]] > > Sent: Monday, August 14, 2000 12:44 PM > > To: [EMAIL PROTECTED] > > Subject: $r->notes with slashes > > > > > > I'm trying to pass a path name with slashes as the value of a > > note, and

Re: caching dynamic pages

2000-08-14 Thread Ken Williams
You might check out HTML::Mason, whose caching structure is second to none I have seen. Robert Friberg wrote: > > Hi all, > > I'm new to modperl but not perl, running a standard RH 6.0 > with the modperl RPM off apache.org. I'm generating pages > from a mysql db which change maybe 3 times a wee

Re: Session manager(s)-how to set an outbound session ?

2000-08-16 Thread Ken Williams
Bill Moseley wrote: > FWIW -- I'm using a modified version of Ken Williams' Apache::AuthCookie to > handle session control via cookies or munged URLs. I originally wanted to > use his custom login script instead of the pop-up browser login, but I had > clients that don&

Re: expiring pages with mod_perl

2000-08-20 Thread Ken Williams
[EMAIL PROTECTED] (Jamie Krasnoo) wrote: >Sorry for the newbie question but could anyone tell me how to expire pages >so a user can't use the back button to get back to that page? > Check this out: http://perl.apache.org/guide/correct_headers.html Short answer: $r->no_cache(1);

ANNOUNCE: Apache::Compress 1.002 (new module)

2000-08-21 Thread Ken Williams
Hi all, The URL http://forum.swarthmore.edu/~ken/modules/archive/Apache-Compress-1.002.tar.gz has entered CPAN as file: $CPAN/authors/id/K/KW/KWILLIAMS/Apache-Compress-1.002.tar.gz size: 10708 bytes md5: 7fef7de82d46083a1b0f2ea1492d2faf Here's the documentation.

Why is Apache::PerlRun a subclass of Apache?

2000-08-22 Thread Ken Williams
ether the current implementation of Apache::PerlRun might be changeable. I'm about to take a stab at implementing it the way I think (for the moment) it should be. -Ken *Well, perhaps not actual pain and suffering, but I just watched "Buffy the Vampire Slayer" so it's on my mind. =)

Re: Why is Apache::PerlRun a subclass of Apache?

2000-08-23 Thread Ken Williams
... *crickets* ... Here's a patch for the implementation I'm looking for. It passes the 'make test' stuff in CVS. I'd love to see this change done, or a discussion of why it's not a good idea. Patch pasted below. [EMAIL PROTECTED] (Ken Williams) wrote: >Hi

Apache->request($r) broken?

2000-08-24 Thread Ken Williams
, Apache->request still returns an object blessed into the 'Apache' class, not the class of the object I gave it. This is with the latest mod_perl from CVS, and Apache 1.3.12. ------ Ken Williams

Re: Patch to t/modules/request.t

2000-08-24 Thread Ken Williams
[EMAIL PROTECTED] (Rick Myers) wrote: >On Aug 24, 2000 at 01:15:57 -0500, Ken Williams twiddled the keys to say: >> The following patch eliminates a warning during 'make test' about 'Value >> of construct can be "0&quo

Re: Why is Apache::PerlRun a subclass of Apache?

2000-08-25 Thread Ken Williams
[This message bounced last time I sent it, so I'm trying again.] [EMAIL PROTECTED] (Ken Williams) wrote: > ... *crickets* ... > >Here's a patch for the implementation I'm looking for. And here's a better one. I discovered that Apache->request($r) doesn

Re: Module Function Name Issue

2000-08-27 Thread Ken Williams
you've already found, or use the compile-time mechanism given by newer Perls (5.005+): Object::SubObj::->new(); ------ Ken Williams Last Bastion of Euclidity [EMAIL PROTECTED]The Math Forum

Re: Patch to t/modules/request.t

2000-08-27 Thread Ken Williams
t; > for ( qw(perlfunc.pod perlpod.pod perlxs.pod), @binary) { > upload_test($_); > } > > sub upload_test { > my $podfile = shift || "func"; > ... > ++$lines while defined ; > } > >FWIW, adding defined() was the perldiag-suggested fix for

"Beta" testers for new Apache::Filter?

2000-08-27 Thread Ken Williams
d into the main distro. Let me know if you're interested. ---------- Ken Williams Last Bastion of Euclidity [EMAIL PROTECTED]The Math Forum

Re: Patch to t/modules/request.t

2000-08-30 Thread Ken Williams
my = ); +++$lines while defined ; close FH; my(@headers); if ($Is_dougm) { === ---------- Ken Williams Last Bastion of Euclidi

Modperl in E-Business apps

2000-08-31 Thread Ken Kosierowski
am look for is potential pitfalls and gotchas. They were a little weary about the perl part in that it was not C++/NT or EJB based, but the application proved itself. I hooked a much bigger fish sooner than I expected and am looking for advice (help) before I start reeling in. Thanks so much in advance, -Ken

Re: internal_redirect

2000-09-04 Thread Ken Williams
7;t locate object method "Request" via package "Apache" at ./test.cgi >line 5. It's a lowercase 'r'. Apache->request->... ------ Ken Williams Last Bastion of Euclidity [EMAIL PROTECTED]The Math Forum

Re: internal_redirect

2000-09-05 Thread Ken Williams
/bin/perl use Apache (); my $r = Apache->request; $r->internal_redirect('/path/to/hello.html'); ------ Ken Williams Last Bastion of Euclidity [EMAIL PROTECTED]The Math Forum

Re: Can't locate object method "No" via package "such"

2000-09-04 Thread Ken Williams
I'd grep for "No such" in your code and see where that error message might be issued/misinterpreted. ------ Ken Williams Last Bastion of Euclidity [EMAIL PROTECTED]The Math Forum

Patch to t/modules/request.t

2000-08-23 Thread Ken Williams
The following patch eliminates a warning during 'make test' about 'Value of construct can be "0";'. No biggie, but it should be fixed. --- t/modules/request.t 2000/05/12 03:43:24 1.8 +++ t/modules/request.t 2000/08/24 06:07:40

Re: Inheritance within Apache::Registry(NG)

2000-09-08 Thread Ken Williams
ubclass of Apache, and I don't think it should have to make so many changes to the request object. I've submitted patches to RegistryNG to Doug, but he hasn't had time to look at them yet. My changed versions are at http://forum.swarthmore.edu/~ken/modules/Ap

Re: Apache::Compress install problems/On the fly html contentcompression

2000-09-11 Thread Ken Williams
ption EVERYTHING=1 (Doug - whats >> the likelihood of you making that the default for 1.25?)... >> >> > I'm also looking for some information about On the fly compression >> > because we have an huge 100 ko main page , and 70% of our users are >us

Re: AuthCookieURL

2000-09-11 Thread Ken Williams
[EMAIL PROTECTED] (Bill Moseley) wrote: >Hi, > >I've got a modified version of Ken Williams' Apache::AuthCookie that works >with munged URLs. This module also will work without a login script, so it >can act as a simple session manager that works with cookies or UR

Re: Problem with Sybase::DBlib

2000-09-12 Thread Ken Williams
DBlib.pm.mark >-r--r--r-- 1 root sys 18402 Feb 5 1998 Sybperl.pm ------ Ken Williams Last Bastion of Euclidity [EMAIL PROTECTED]The Math Forum

Re: tracking down segfaults

2000-09-12 Thread Ken Williams
considered stable? Or should I stick with 1.24? > >I'm seeing this: > Undefined subroutine &Apache::RegistryNG->handler::handler >and > Can't locate object method "handler" via package "handler" ---

Re: perlfilter + mod_perl ?

2000-09-20 Thread Ken Williams
ta is read as-is and mod_perl exists with >unrecognised character, etc. >I have several sites running entirely on mod_perl, so I was not so happy >with this feature :(. > >Does anybody have any experience with it ? > >Big thx in advance, > Bert > > -----

  1   2   3   4   5   >