ss points. Taint
mode comes to mind as one tool in the belt.
------- ---
Ken Williams Last Bastion of Euclidity
[EMAIL PROTECTED]The Math Forum
RegistryNG.
----------
Ken Williams Last Bastion of Euclidity
[EMAIL PROTECTED]The Math Forum
' or 'virtual'
attribute of an !--#include-- tag.
------
Ken Williams Last Bastion of Euclidity
[EMAIL PROTECTED]The Math Forum
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
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
?
------
Ken Williams Last Bastion of Euclidity
[EMAIL PROTECTED]The Math Forum
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
[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
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
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
rlHandlers.
----------
Ken Williams Last Bastion of Euclidity
[EMAIL PROTECTED]The Math Forum
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.
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;
, of /
| course. But mostly evil, on the whole. /
\ -- (Terry Pratchett, Wyrd Sisters) /
------
Ken Williams Last Bastion of Euclidity
[EMAIL
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
[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
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
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.
---
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
.
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
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
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
[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
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
[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
[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
(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
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
.
------
Ken Williams Last Bastion of Euclidity
[EMAIL PROTECTED]The Math Forum
::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
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
[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
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
one out if they want to be the main person?
----------
Ken Williams Last Bastion of Euclidity
[EMAIL PROTECTED]The Math Forum
, 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
r tools and a time to choose other tools.
--- ---
Ken Williams Last Bastion of Euclidity
[EMAIL PROTECTED]The Math Forum
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
[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
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
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
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
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
know how they pan out.
------
Ken Williams Last Bastion of Euclidity
[EMAIL PROTECTED]The Math Forum
from STDIN at server startup time).
------
Ken Williams Last Bastion of Euclidity
[EMAIL PROTECTED]The Math Forum
. "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
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
.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
d++;
}
return OK unless $restricted;
return FORBIDDEN;
Is anyone actually using this with multiple "require' directives? Or would
anyone like to?
------- ---
.
------
Ken Williams Last Bastion of Euclidity
[EMAIL PROTECTED]The Math Forum
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
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
.
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
SSLeay/0.9.0b", in case that helps.
--- ---
Ken Williams Last Bastion of Euclidity
[EMAIL PROTECTED]The Math Forum
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
I
suppose it deserves a new class name. Apache::PersistentDBI?
Apache::CacheDBI?
----------
Ken Williams Last Bastion of Euclidity
[EMAIL PROTECTED]The Math Forum
:
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
= old_warn;
}
----------
Ken Williams Last Bastion of Euclidity
[EMAIL PROTECTED]The Math Forum
y implement the above.
Thanks!!!
Arnel
__
Get Your Private, Free Email at http://www.hotmail.com
--- ---
Ken Williams Last Bastion o
. 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
rn bushes have roses.
----------
Ken Williams Last Bastion of Euclidity
[EMAIL PROTECTED]The Math Forum
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 "
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
n").
Any clues?
----------
Ken Williams Last Bastion of Euclidity
[EMAIL PROTECTED]The Math Forum
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
's the standard here?
----------
Ken Williams Last Bastion of Euclidity
[EMAIL PROTECTED]The Math Forum
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
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
[EMAIL PROTECTED]Miguel "Migs" A.L. Paraz
http://www.iphil.netIPhil Communications Network, Inc.
+63-2-750-2288Business Development Group
--- ---
Ken Williams
D], WWW: http://galaxy.ch/roli/
--- ---
Ken Williams Last Bastion of Euclidity
[EMAIL PROTECTED]The Math Forum
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
---
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
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
$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
-
------
Ken Williams Last Bastion of Euclidity
[EMAIL PROTECTED]The Math Forum
201 - 274 of 274 matches
Mail list logo