Re: Apache::Dispatch

2000-06-05 Thread Ken Williams
ss 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
RegistryNG. ---------- Ken Williams Last Bastion of Euclidity [EMAIL PROTECTED]The Math Forum

[ANNOUNCE] Apache::SSI version 2.13

2000-06-03 Thread Ken Williams
' or 'virtual' attribute of an !--#include-- tag. ------ Ken Williams Last Bastion of Euclidity [EMAIL PROTECTED]The Math Forum

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

2000-05-31 Thread Ken Williams
n an !--#include-- tag doesn't have either of the 'file' or 'virtual' parameters. --- --- Ken Williams Last Bastion of Euclidity [EMAIL PROTECTED]The Math Forum

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

2000-05-24 Thread Ken Williams
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 Last Bastion of Euclidity [EMAIL

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

2000-05-23 Thread Ken Williams
? ------ Ken Williams Last Bastion of Euclidity [EMAIL PROTECTED]The Math Forum

Re: LARGE PERL footprint

2000-05-20 Thread Ken Williams
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. =) ------ Ken Williams Last Bastion of Euclidity

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 fail. Looks like the problem lies in this line

ANNOUNCE: Apache::SSI v2.12

2000-05-15 Thread Ken Williams
behave like Apache::Filter and Apache::AuthCookie with respect to those 4 parameters at test time. [[EMAIL PROTECTED] (Perrin Harkins) and [EMAIL PROTECTED] (Wang, Pin-Chieh)] ------ Ken Williams Last

Re: mod_perl and ssi

2000-05-15 Thread Ken Williams
place. Suppose the template looks like, (hello.txt contains the text "hello!") !--before-- !--#include virtual="/hello.txt"-- !--after-- Here's what I got, hello! !--before-- !--after-- What's wrong with me? Ken Williams wrote: Yes - you'll probably want t

Re: mod_perl and ssi

2000-05-14 Thread Ken Williams
rlHandlers. ---------- Ken Williams Last Bastion of Euclidity [EMAIL PROTECTED]The Math Forum

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: 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::Filter problems with HEAD...

2000-04-27 Thread Ken Williams
, of / | course. But mostly evil, on the whole. / \ -- (Terry Pratchett, Wyrd Sisters) / ------ Ken Williams Last Bastion of Euclidity [EMAIL

Re: ANNOUNCE: Apache-TicketAccess 0.10

2000-04-26 Thread Ken Williams
authentication system. Maybe Apache::AuthTicket? That sounds pretty good to me. It's a nice choice if you decide to make it a subclass of Apache::AuthCookie too. ------ Ken Williams Last Bastion of Euclidity

RE: ANNOUNCE: Apache::AuthCookie 2.007

2000-04-25 Thread Ken Williams
[EMAIL PROTECTED] (Gerald Richter) wrote: Hi Ken, the patch I send you for overwriting the login_form seems not to be in 2.007. Are there any reason for this or did you just forget it? Hi Gerald, Actually, neither - it's just that I haven't gotten to it yet. The changes I put in 2.007 come

Re: Help needed with Apache::AuthCookie 2.007

2000-04-17 Thread Ken Williams
or one reason or another, you still seem to be configured for basic auth. Are you sure you have the AuthType and AuthName parameters set correctly? --- --- Ken Williams Last Bastion of Euclidity [EMAIL PROTEC

Re: Modperl/Apache deficiencies... Memory usage.

2000-04-17 Thread Ken Williams
version of the same reasons). Of course, since the strange behavior you observed is fully expected once you understand the problem, slick (and disliked =) coders can feel free to take advantage of it for their own evil purposes. ---

Re: Modperl/Apache deficiencies... Memory usage.

2000-04-15 Thread Ken Williams
to the Apache API, but it sounds like you're not using that anyway. ------ Ken Williams Last Bastion of Euclidity [EMAIL PROTECTED]The Math Forum

ANNOUNCE: Apache::AuthCookie 2.007

2000-04-15 Thread Ken Williams
. Changed the action of the example login forms from LOGIN to /LOGIN. [[EMAIL PROTECTED] (Michael)] ------ Ken Williams Last Bastion of Euclidity [EMAIL PROTECTED]The Math

Re: Apache::SSI forces text/html?

2000-04-14 Thread Ken Williams
to include something), and it sent it to me as application/postscript. Dan Ken Williams wrote: [EMAIL PROTECTED] (Dan McCormick) wrote: Hi, I was just trying to hack a script into showing its HTML output to a browser by setting the content type to 'text/plain', but it looks like Apache::SSI, which

Re: Apache::SSI forces text/html?

2000-04-13 Thread Ken Williams
it if it won't break anything - will Apache set the type to text/html if no other information is given? ------ Ken Williams Last Bastion of Euclidity [EMAIL PROTECTED]The Math

Re: Apache::ASP and gzip/inflate compression

2000-04-12 Thread Ken Williams
[EMAIL PROTECTED] (Joshua Chamas) wrote: Ime Smits wrote: I would like to apply gzip or inflate compression on the response from Apache::ASP, because my application generates a lot low-entropy table-structures which can be compressed down to 90-95%. First note that Apache::ASP is

ANNOUNCE: Apache::Filter 1.008

2000-04-12 Thread Ken Williams
Here's the long-awaited module that lets you run Registry scripts in an Apache::Filter chain. Now that I've done it, it seems embarassingly simple, and I should have looked at it earlier. The URL http://mathforum.com/~ken/modules/archive/Apache-Filter-1.008.tar.gz has entered CPAN as

Re: Can't locate object method BINMODE via package Apache

2000-04-12 Thread Ken Williams
[EMAIL PROTECTED] (Doug MacEachern) wrote: On Tue, 11 Apr 2000, Ken Williams wrote: Change that to binmode(STDOUT) and it should work. Since STDOUT is tied, I think Perl is interpreting that as STDOUT-binmode. that's not the problem, see my reply to Roca. Oops, I should have looked before I

Re: Can't locate object method BINMODE via package Apache

2000-04-11 Thread Ken Williams
[EMAIL PROTECTED] (Roca, Ignasi) wrote: I'm using mod_perl-1.21 and testing GD-1.25. When calling any of the demos examples given by GD-1.25 I have the error "Can't locate object method BINMODE via package Apache". The perl scripts are as follows: #!/usr/local/bin/perl use GD; print

Re: Deprecated warnings in Apache::DBI

2000-04-10 Thread Ken Williams
(Maybe you should just omit the defined()?) Shouldn't 'no warnings' suppress this? -P ---------- Ken Williams Last Bastion of Euclidity [EMAIL PROTECTED]The Math Forum

RE: Deprecated warnings in Apache::DBI

2000-04-10 Thread Ken Williams
behaviour of defined() on aggregates may be changed, fixed, or broken in a future release of Perl. ------ Ken Williams Last Bastion of Euclidity [EMAIL PROTECTED

Re: [newbie] diffs and cvs

2000-04-09 Thread Ken Williams
. ------ Ken Williams Last Bastion of Euclidity [EMAIL PROTECTED]The Math Forum

Re: PATCH for Apache::AuthCookie to overwrite the login_form display

2000-04-09 Thread Ken Williams
::AuthCookie that splits up the call to custom_response in an separate method, so I am able to overwrite it. Thanks Gerald, I'll roll it in. ------ Ken Williams Last Bastion of Euclidity [EMAIL PROTECTED

Re: THREE STRIKES...

2000-04-07 Thread Ken Williams
ted. It's also difficult to implement a lockout time with cookies, because the user could just quit the browser relaunch to clear cookies. ---------- Ken Williams Last Bastion of Euclidity [EMAIL

Re: THREE STRIKES...

2000-04-07 Thread Ken Williams
[EMAIL PROTECTED] (Ken Williams) wrote: I should point out that if someone feels the need to use a 3-strikes system, then cookies are inherently a bad decision unless you get really fancy. And I should amend my statement to say that cookies can be a good idea in this case (and lots of others

Re: [ANNOUNCE] Apache::DebugInfo_0.02

2000-04-04 Thread Ken Williams
any scalar, which can be a reference to complex structures or whatever. No Data::Dumper needed. But I haven't read the source to see whether this is actually true. ------ Ken Williams Last Bastion

Re: [RFC] holding a mod_perl conference

2000-04-04 Thread Ken Williams
one out if they want to be the main person? ---------- Ken Williams Last Bastion of Euclidity [EMAIL PROTECTED]The Math Forum

Re: [RFC] holding a mod_perl conference

2000-03-30 Thread Ken Williams
, and/or profitable ? The YAPC conference at Carnegie Mellon was certainly quite a nice conference. No booths, etc., but just people getting together to present things and talk Perl. What about something like that? ------ Ken Williams

Re: performance mongers: since when is using CGI.pm or Apache::Registry dishonorable?

2000-03-29 Thread Ken Williams
r tools and a time to choose other tools. --- --- Ken Williams Last Bastion of Euclidity [EMAIL PROTECTED]The Math Forum

Re: performance mongers: since when is using CGI.pm or Apache::Registry dishonorable?

2000-03-29 Thread Ken Williams
and it just "feels right" to me. But I wouldn't try to change anyone's mind if they liked a different tool more. ---------- Ken Williams Last Bastion of Euclidity [EMAIL

Re: Apache::StatINC.pm

2000-03-27 Thread Ken Williams
[EMAIL PROTECTED] (René Seindal) wrote: I just got bitten by the problem of Apache::StatINC not reloading modules found through an element of @INC, which is no longer present when StatINC runs. [...] A small change to StatINC solves the problem. Since StatINC could stat the file, the file is

Re: Can't get past login screen with AuthCookie module

2000-03-27 Thread Ken Williams
Systems Administrator Deposit Software, Inc. ph: 360-297-6000 x214 fax: 360-297-7125 --- --- Ken Williams Last Bastion of Euclidity [EMAIL PROTECTED]The Math Forum

re-tieing stdout to caputure subrequest output

2000-02-14 Thread Ken Williams
Systems I swear I'd forget my own head if it wasn't up my ass. -- Jason Bodnar ------ Ken Williams Last Bastion of Euclidity [EMAIL PROTECTED]The Math Forum

Re: $r-print delay?

2000-02-10 Thread Ken Williams
trick might work. [EMAIL PROTECTED] (Ed Loehr) wrote: Ken Williams wrote: Are you sure it's waiting? You might try debug timestamps before after the $r-print(). You might also be interested in the send_fd() method if the data are in a file. Fairly certain it's waiting there. I cut my debug

Re: Apache::ASP and Apache::SSI problems

2000-02-10 Thread Ken Williams
directory where it oviously doesn't exist, you have to run make install manually or force the install through cpan which I have NO IDEA how to do). From the CPAN shell: force install Apache::SSI All the Ken Williams modules have this problem in their test scripts. Any chance you could fix

ANNOUNCE: Apache::AuthCookie 2.001

2000-02-10 Thread Ken Williams
know how they pan out. ------ Ken Williams Last Bastion of Euclidity [EMAIL PROTECTED]The Math Forum

Re: Commercial app demo

2000-02-09 Thread Ken Williams
from STDIN at server startup time). ------ Ken Williams Last Bastion of Euclidity [EMAIL PROTECTED]The Math Forum

Re: [SITE] possible structure suggestion

2000-02-09 Thread Ken Williams
. "solutions") launches me into an infinite loop, using Navigator 4.71 on a Mac. ---------- Ken Williams Last Bastion of Euclidity [EMAIL PROTECTED]The Math Forum

Re: lookup_uri and access checks

2000-02-03 Thread Ken Williams
lly a very selective) basis. The other option would be to take over the access protection, allowing access if the request is coming from the right place, or contains the right secret key in the path_info, or whatever. ---------- Ke

ANNOUNCE: Apache::AuthCookie v2.0

2000-02-02 Thread Ken Williams
.tar.gz * size: 12760 bytes *md5: e943bebd35b8151d0d10aa039b67fb4a * * Changed in version 2.0: * * - Now owned by Ken Williams ([EMAIL PROTECTED]) * * - Created authenticate() and authorize() methods to replace authen() * and authz(). authen() and authz() are now deprecated

Apache::AuthCookie with multiple 'require' directives?

2000-01-27 Thread Ken Williams
d++; } return OK unless $restricted; return FORBIDDEN; Is anyone actually using this with multiple "require' directives? Or would anyone like to? ------- ---

Re: mod_perl flashback

2000-01-19 Thread Ken Williams
. ------ Ken Williams Last Bastion of Euclidity [EMAIL PROTECTED]The Math Forum

Re: $r-notes()...

2000-01-14 Thread Ken Williams
to a string, so it can't store arbitrary data structures (without some work). I've never passed values to a non-Perl module myself, but it seems like one of the main purposes for $r-notes. ------ Ken Williams Last

Re: possible patch for Apache::AuthCookie

1999-12-16 Thread Ken Williams
g_error("set_cookie " . $r-err_headers_out-add("Set-Cookie")) --- $r-log_error("set_cookie " . $r-err_header_out("Set-Cookie")) -- ------ Ken Williams Last Bastion of Euclidity [EMAIL PROTECTED]The Math Forum

Re: ANNOUNCE: Apache::SafeHang

1999-12-12 Thread Ken Williams
. SafeHang kind of sounds like it might have something to do with the Safe.pm module, too. ------ Ken Williams Last Bastion of Euclidity [EMAIL PROTECTED]The Math Forum

Re: Configuring Apache with Perl Problems

1999-12-10 Thread Ken Williams
SSLeay/0.9.0b", in case that helps. --- --- Ken Williams Last Bastion of Euclidity [EMAIL PROTECTED]The Math Forum

Re: Associative Arrays problem

1999-12-08 Thread Ken Williams
or in real testing code? Because the code that I saw didn't contain that error. ---------- Ken Williams Last Bastion of Euclidity [EMAIL PROTECTED]The Math Forum

Re: PerlFreshRestart and %INC

1999-12-05 Thread Ken Williams
I suppose it deserves a new class name. Apache::PersistentDBI? Apache::CacheDBI? ---------- Ken Williams Last Bastion of Euclidity [EMAIL PROTECTED]The Math Forum

Re: mod_perl Programmers demand is going up...

1999-12-04 Thread Ken Williams
: Um... how about a mythical beast with the head of an eagle and the body of a camel ? Rod ------ Ken Williams Last Bastion of Euclidity [EMAIL PROTECTED]The Math Forum

Re: PerlFreshRestart and %INC

1999-12-03 Thread Ken Williams
= old_warn; } ---------- Ken Williams Last Bastion of Euclidity [EMAIL PROTECTED]The Math Forum

Re: User registration/login module...

1999-11-30 Thread Ken Williams
y implement the above. Thanks!!! Arnel __ Get Your Private, Free Email at http://www.hotmail.com --- --- Ken Williams Last Bastion o

Announce: Apache::SSI v2.09

1999-11-28 Thread Ken Williams
. I am now writing my 1st mod_perl handler from the scratch -- thanks Doug/Stas/Ken/everyone for seducing me into all it by your positive work example. The software and the docs are just great... ---------- Ke

Re: STDIN reads everything as one line

1999-11-26 Thread Ken Williams
rn bushes have roses. ---------- Ken Williams Last Bastion of Euclidity [EMAIL PROTECTED]The Math Forum

Re: Perl not allowed here? (Perl sections)

1999-11-25 Thread Ken Williams
Problem solved. Jay J pointed out to me in private email that this had probably been fixed in the latest development snapshot, and indeed it has. See http://www.davin.ottawa.on.ca/archive/modperl/1999-07/msg01080.phtml [EMAIL PROTECTED] (Ken Williams) wrote: Hi, I'm getting the error "

Re: How to run a secure mod_perl ?

1999-11-24 Thread Ken Williams
server. It's what I do with an ISP. I must say, though, that using an ISP and mod_perl has caused me a lot of headaches. It's better to use your own box if you can. ------ Ken Williams Last Bastion

Perl not allowed here? (Perl sections)

1999-11-24 Thread Ken Williams
n"). Any clues? ---------- Ken Williams Last Bastion of Euclidity [EMAIL PROTECTED]The Math Forum

Re: Flaky software

1999-11-23 Thread Ken Williams
e saying something like: "Come on, guys, let's get some of this stuff to work". Surely no-one can be content with the state things are in at present? Kind regards, Ged Haywood. --- --- Ken Williams Last

PerlSetVar precedence questions

1999-11-20 Thread Ken Williams
's the standard here? ---------- Ken Williams Last Bastion of Euclidity [EMAIL PROTECTED]The Math Forum

Re: Apache::SSI pain

1999-10-31 Thread Ken Williams
ndler perl-script PerlHandler Apache::OutputChain Apache::SSIChain Apache::Registry Options +ExecCGI PerlSendHeader On /Directory /VirtualHost What can be wrong? TIA for any hints, Vassilii Subject: Re: Apache::SSI pain Author: Ken Williams [EMAIL PROTECTED] Date: T

Re: suggestion about PerlRun

1999-10-27 Thread Ken Williams
r = Apache::PerlRunFake-new($r); $pr-handler_body; } Then version problem will not occur. Sey Nakajima [EMAIL PROTECTED] Kyoto, Japan ---------- Ken Williams Last Bastion of Euclidity [EMAIL

Re: Apache::Filter - get_handlers

1999-10-23 Thread Ken Williams
[EMAIL PROTECTED]Miguel "Migs" A.L. Paraz http://www.iphil.netIPhil Communications Network, Inc. +63-2-750-2288Business Development Group --- --- Ken Williams

Re: Apache::Filter: Can't locate object method TIEHANDLE

1999-10-16 Thread Ken Williams
D], WWW: http://galaxy.ch/roli/ --- --- Ken Williams Last Bastion of Euclidity [EMAIL PROTECTED]The Math Forum

Re: Apache::Filter: Can't locate object method TIEHANDLE

1999-10-14 Thread Ken Williams
ilter2 Apache::Testfilter2 Options +ExecCGI /Location It would be great, if someone has some hints what i can do or what goes wrong. Everything else i tried (Apache::Registry and a standalone handler) is working fine. Thank you. With kind regards, Roland Alder ---

Re: Apache::DBI MySQL

1999-10-13 Thread Ken Williams
processes (only Apache/CGI should be accessing MySQL) and most processes seem to have very high "Time"s under the "sleep" stat when I do a 'processlist' in mysql. Please advise. -- Viren --- --- Ken Williams

Re: Multiple SSI not getting parsed

1999-10-12 Thread Ken Williams
2cb0) So, my question is, is it possible to process multiple includes in the output of a Registry script using chaining? What else should I be trying to do? Thanks, Garth ---------- Ken Williams La

Re: Bug in libapreq makes form elements stick to an apache child

1999-01-17 Thread Ken Williams
$list[0]" test, you'll get a false result here, when func actually did return stuff. Of course, I don't know your specific application, but "defined @list" is one of the red flags of code. --- --- Ken Williams

Re: XSSI parsing on CGI output

1999-01-02 Thread Ken Williams
- ------ Ken Williams Last Bastion of Euclidity [EMAIL PROTECTED]The Math Forum

<    1   2   3