Re: authentication via login form

1999-10-10 Thread Randal L. Schwartz
ries or client's sites. Be careful when you use cookies. Make sure it's your LAST choice. Mangled URLs and hidden fields are other straightforward alternatives. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/

Re: authentication via login form

1999-10-11 Thread Randal L. Schwartz
way to authenticate users. Yes, and I agree with you. For *short term* auth, cookies are OK. But I've seen too many apps out there that use cookies for unique ID for long term. Wrong. Broken. Busted. Basic-auth would be way better, although still not ideal. -- Randal L. Schwartz - Stonehenge

Re: authentication via login form

1999-10-11 Thread Randal L. Schwartz
ed in *any* URL handed to the user, but only those things that generate HTML and wish to maintain the session would notice and re-include $session = $r-header(Session) in their strings. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.ston

Re: please comment on new art for perl.apache.org

1999-10-11 Thread Randal L. Schwartz
that hard. [*] (Not really, but in my dreams... :) -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsit

Re: PerlTransHandler

1999-10-21 Thread Randal L. Schwartz
the call above sets. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

DigExt in user-agent hammering my site

1999-10-28 Thread Randal L. Schwartz
? I tried blocking them, and I got back some users that wondered why I was blocking them. Is it a new version of IE that permits heavy rapid download? -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Uni

Re: Session state without cookies

1999-10-30 Thread Randal L. Schwartz
) cookies 2) mangled URLs 3) hidden fields in forms If "static HTML" can't do #2 or #3, you are stuck with #1. No amount of module help can work. :) -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/

Re: DigExt in user-agent hammering my site

1999-10-30 Thread Randal L. Schwartz
ottler on my website that prevents anyone from sucking down more than 3k/sec sustained over 90 seconds from any specific IP. It triggered five times overnight. But my ISP neighbors are now happy. I should clean up Stonehenge::Throttle and submit it. Notice, no file locking! That was an

Re: Session state without cookies

1999-11-01 Thread Randal L. Schwartz
"Trei" == Trei B [EMAIL PROTECTED] writes: Trei On 30 Oct 1999, Randal L. Schwartz wrote: You have three main choices for maintaining a "session": 1) cookies 2) mangled URLs 3) hidden fields in forms If "static HTML" can't do #2 or #3, you are stuck w

Re: Using Apache::Util outside mod_perl

1999-11-01 Thread Randal L. Schwartz
K they're plain perl implementations rather than John stubs for faster C versions. But the "faster C" implementations are in the Apache code, not in the mod_perl code. :) So you can't use Apache::Util unless you are running Apache. -- Randal L. Schwartz - Stonehenge Consulting Services,

Re: mod-perl logo

1999-11-01 Thread Randal L. Schwartz
in any US court. Ask Randal how courts listen to Matt sensible arguments g (sorry Randal!). Heh. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy, etc

can't remember if job postings are welcome here, but...

1999-11-01 Thread Randal L. Schwartz
need to fill some web-NT things, not clear on job posting yet, but write me if you fit the geography and availability and I'll see if I can push you in. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix

Re: Trying not to re-invent the wheel

1999-11-11 Thread Randal L. Schwartz
"Joshua" == Joshua Chamas [EMAIL PROTECTED] writes: Joshua What Matt brought up is right. Eewww. Whenever I read "matt" and "w(right)" in the same sentence, all sorts of alarms go off. Sorry. :-) -- Randal L. Schwartz - Stonehenge Consulting Services,

Re: Last-Modified in CGI.pm

1999-11-12 Thread Randal L. Schwartz
dified" from a CGI script? The absence of such a field has traditionally been treated as "last-modified: now". So why bother? -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security co

Stonehenge::Throttle, round 2 - CPU used by an IP

1999-11-16 Thread Randal L. Schwartz
;throttle access: $blockfile is blocking"); $r-header_out("Retry-After", $WINDOW); return 503; # Service Unavailable } else { ## $log-notice("throttle access: $blockfile is old, ignoring"); # DEBUG return DEC

Re: Stonehenge::Throttle, round 2 - CPU used by an IP

1999-11-17 Thread Randal L. Schwartz
n't really pay attention to a redirect, in any way other than "this page wasn't ready". In fact, that redirect probably would put the scope of interest outside the spiders suck zone. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http:

Re: HTML::Embperl 1.2.0

1999-11-17 Thread Randal L. Schwartz
"Erich" == Erich L Markert [EMAIL PROTECTED] writes: Erich [$ if( ! defined %fdat ) $] Bad. Never ever test for the defined'ness of an aggregate. Erich Has this been changed or is this a bug? It was a bug in your code that happened to not be noticed. -- Randal L. Schwartz -

Re: mod-perl logo

1999-11-17 Thread Randal L. Schwartz
) O'Reilly (circa 1983, I think) 3) Perl (circa 1987) 4) O'Reilly associates Camel with Perl, to which they claim a TM (circa 1991) :-) -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security

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

1999-01-17 Thread Randal L. Schwartz
. :) defined @bar and defined %bletch are almost never correct, and any seasoned Perl hacker knows to watch for those as a red flag. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting,

Re: Limiting CPU (was Re: embperl pages and braindead sucking robots)

1999-11-24 Thread Randal L. Schwartz
"Barry" == Barry Robison [EMAIL PROTECTED] writes: Barry On Wed, Nov 24, 1999 at 07:31:36AM -0800, Randal L. Schwartz wrote: I also added a DBILogger that logs CPU times, so I can see which pages on my system are burning the most CPU, and even tell which hosts suck down th

Re: fragment in $r-uri

1999-11-29 Thread Randal L. Schwartz
re any way for me to retrieve the fragment info short brian of parsing $r-the_request? The server never sees the "fragment", and rightfully so. That's for the client only, to scroll down to by looking for a name=perl once the page has been downloaded. The server never knows that hap

Re: fragment in $r-uri

1999-11-29 Thread Randal L. Schwartz
generated stuff. It just shouldn't ever show up on a *request*. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Ston

Re: pool of DB connections ?

1999-11-29 Thread Randal L. Schwartz
y anything, finish the thought, or tell them where to read more. So, Tim, what *are* the differences, and when should we should we choose Apache::DBI vs DBI-connect_cached, and why? -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.st

Re: PerlLogHandler - bytes always zero for proxy requests

1999-12-01 Thread Randal L. Schwartz
d also dig in to the source - does mod_proxy even *set* bytes? -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com

Re: mod_perl Programmers demand is going up...

1999-12-03 Thread Randal L. Schwartz
be turned down. Now the Robin hard part is the article itself... Volunteers ? The easy part about perl.com is to remember that perl.org is easier. :) -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Uni

Re: mod_perl Programmers demand is going up...

1999-12-03 Thread Randal L. Schwartz
for the press" and "for IT managers" and "support", people will start noticing it, and start treating it as *real*. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/s

Re: mod_perl Programmers demand is going up...

1999-12-03 Thread Randal L. Schwartz
nsulting, Unix, Unix consulting X-Mod-Perl-Rules: mod_perl rules! Get it at http://perl.apache.org/ :-) -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, C

Re: mod_perl Programmers demand is going up...

1999-12-03 Thread Randal L. Schwartz
I know mod_perl" but have never typed "$r-...", I'm gonna be suspicious. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. S

Re: PerlFreshRestart and %INC

1999-12-03 Thread Randal L. Schwartz
nterpreter where *order* of require's is recorded. I've always thought the "must load Apache::DBI before DBI" thing was a bit weird anyway. Can't you just make it a flag that DBI looks at that Apache::DBI sets? -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0

Re: JOBS: Post your mod_perl jobs on PerlMonth

1999-12-03 Thread Randal L. Schwartz
erl column, or any other mod_perl related article, Baiju there will be a link to mod_perl related job. If you have any Baiju questions you can mail me directly. Thank you for listening. And there's the jobs.perl.org area as well. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 50

Re: Associative Arrays problem

1999-12-07 Thread Randal L. Schwartz
m previous hits, and therefore counting up hire, or something. I dunno. As soon as you have "use strict"-able code that exhibits the same behavior, let us know. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.st

Re: ASP Cookieless Sessions (WAS Re: Apache::ASP)

1999-12-10 Thread Randal L. Schwartz
n ID even by mod_cgi scripts 4) new sessions are started by a simple external redirect 5) one simplePerlTransHandler could provide the master session-start for any URL downside: you must have access to a UDP port 53 somewhere and DNS delegation I'll write up more after I've done some testing. -- R

Re: Limiting CPU (was Re: embperl pages and braindead sucking robots)

1999-12-14 Thread Randal L. Schwartz
the problem? Grr. Not really. I just moved everything to LogHandlers instead. I just no longer trust cleanup_handlers, because my tests were consistent with "only one cleanup permitted". -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECT

Re: Limiting CPU (was Re: embperl pages and braindead sucking robots)

1999-12-14 Thread Randal L. Schwartz
ing connection early liConfigurable Agent Identity allows Teleport Pro to impersonate popular browsers; gets data from even the stingiest servers Sounds to me like they are precisely at odds with anyone doing the kind of blocking that I want to do. -- Randal L. Schwartz - Stonehenge Consulting

Re: Limiting CPU (was Re: embperl pages and braindead sucking robots)

1999-12-16 Thread Randal L. Schwartz
't respect /robots.txt. Once they fix that, I might let it loose. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com

Re: DBI and HTML modules?

1999-12-17 Thread Randal L. Schwartz
m not sure about the other one though. Ahh, it looks like I'm already taking advantage of that. :) Weird. I learned something I already knew. :) -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Uni

Re: PerlChildInitHandler called twice for a child?

1999-12-17 Thread Randal L. Schwartz
it really is in. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

Re: Transforming XML2HTML with Perl

1999-12-20 Thread Randal L. Schwartz
"Valdet" == Valdet Dedinca [EMAIL PROTECTED] writes: Valdet I need a PerlScript for transforming the XML to HTML. XML does not "transform" to HTML. What are you really asking for? -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL

Re: What am I doing wrong

1999-12-24 Thread Randal L. Schwartz
dy. That's so... uh... perl4-ish. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrol

Re: setting query in PerlTransHandler

2000-01-09 Thread Randal L. Schwartz
uot;id=$id"); By the time the apache-request object has been created, args are handled in a separate slot. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing,

Re: Dedicated dynamic content servers...

2000-01-09 Thread Randal L. Schwartz
return OK from your own pushed AccessHandler, which should prevent the core modules from doing an .htaccess lookup based on $r-filename. Something like: $r-push_handlers( PerlAccessHandler = sub { return OK } ); -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0

Re: problems with module at root of web site

2000-01-12 Thread Randal L. Schwartz
s was what apache was designed for (multiple phases) Sean b) allows other handlers to kick in before you build the response Sean (such as mod_access) Absolutely. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/

Re: problems with module at root of web site

2000-01-12 Thread Randal L. Schwartz
"Randal" == Randal L Schwartz [EMAIL PROTECTED] writes: Randal Or a variation of that, that I like... set up a TransHandler like this: Randal sub handler { # PerlTransHandler Randal return DECLINED unless $r-uri eq "/"; Randal $r-set_handler("perl-sc

Re: Eagle Book: navbar

2000-01-14 Thread Randal L. Schwartz
ing! barbie"Writing is hard!"/barbie -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

Re: overriding document root dynamically?

2000-01-28 Thread Randal L. Schwartz
k you need to. I think only the Trans handlers need to worry about docroot. Of course, I'm possibly wrong. :) -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy

Re: RFD: comp.infosystems.www.modperl

2000-02-03 Thread Randal L. Schwartz
ewsgroup would cause the *dilution* of expert eyeball time on a given issue, and would therefore be *detrimental* to the mod_perl community, because some experts would choose to read only the mailing list, and others would choose to read only the newsgroup. No. Bad idea at this point. -- Randal L. S

Re: RFD: comp.infosystems.www.modperl

2000-02-03 Thread Randal L. Schwartz
"John" == John Siracusa [EMAIL PROTECTED] writes: John OTOH, it's a lot easier to track and respond to particular John issues/problems in a threaded setting like Usenet. Hmm. Get a threaded mailreader. It certainly changed my mail reading. :) -- Randal L. Schwartz - Stonehenge

Re: Pattern Matching kills loops?

2000-02-08 Thread Randal L. Schwartz
$id = $1; $temp = $2; $name = $3; ... use variables ... } But this is probably preferred: if (($id, $temp, $name) = /(\d+):([0-9,]*):(.*)/) { ... use variables ... } -- Randal L. Schwartz - Stonehenge Consulting Ser

coderef as arg to $r-custom_response(...)

2000-02-08 Thread Randal L. Schwartz
own a dark damp tunnel? -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

Re: coderef as arg to $r-custom_response(...)

2000-02-09 Thread Randal L. Schwartz
"Bill" == Bill Jones [EMAIL PROTECTED] writes: From: [EMAIL PROTECTED] (Randal L. Schwartz) The docs hint that I can use whatever I would put after ErrorDocument as the arg to custom_response, but also suggest that I can put "a module" there. Does that mean it's the sa

Re: coderef as arg to $r-custom_response(...)

2000-02-09 Thread Randal L. Schwartz
permit me to just hook on this coderef when this other thing happens. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Ston

Re: PerlChildInitHandler

2000-02-14 Thread Randal L. Schwartz
? "bEnabled/b" : "iDisabled/i"), "/td/tr\n" } mod_perl::hooks()), "/table"; map is your friend. Of course, this would have been even simpler with CGI.pm HTML generators. :) -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1

Re: PerlChildInitHandler

2000-02-14 Thread Randal L. Schwartz
ay ref, this is easy: return ["table", (map ...), "/table"]; :-) -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. Se

Re: [admin] NO HTML posts please!

2000-03-30 Thread Randal L. Schwartz
"Angel" == Angel R Rivera [EMAIL PROTECTED] writes: Angel how about avoiding the me toos... Yeah, and the people that post "upside down", with the answer *before* the question! Definitely. Let's avoid those. -- Randal L. Schwartz - Stonehenge Consulting Services, In

Re: [RFC] holding a mod_perl conference

2000-03-31 Thread Randal L. Schwartz
he conferences to Grand Cayman, then, since I Vivek just spent a week familiarizing myself with it ;-) And the weather Vivek there is excellent... Well, then I won't be able to go, since I'm still on probation, and can't get out of the US. sigh -- Randal L. Schwartz - Stonehenge Consulting Se

Re: Custom $SIG{__DIE__} problem (and I'm glad to be back)

2000-04-04 Thread Randal L. Schwartz
eone who wrangles Perl all day every day... :) -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

Re: [slightly OT] Problem with cookies

2000-04-07 Thread Randal L. Schwartz
ave solved the problem. Except that this requires HTTP/1.1. Anyone that doesn't send the "host:" header goes into a permanent redirect loop. So the "problems" you're not seeing are probably from the people out there that can't get to your site to report the problems. :) -- R

Re: [slightly OT] Problem with cookies

2000-04-07 Thread Randal L. Schwartz
Drew just be done with this stupid cookie problem! You just made my night better Drew (and my morning too)! But please see my followup before you implement it. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/

Re: [OT][General Programming] Key Generator sub

2000-04-07 Thread Randal L. Schwartz
t;map in a void context". :) Or maybe there's some other "Randal Schwartz" you copied from. "Wasn't me!" -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting,

Re: [slightly OT] Problem with cookies

2000-04-07 Thread Randal L. Schwartz
HTTP/1.0 had cookies. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

Re: [slightly OT] Problem with cookies

2000-04-08 Thread Randal L. Schwartz
AltaVista or Infoseek? Do you really want that many people to not find out about your site? It's not about browsers, sir. It's about the web-dexers. If you aren't writing for that market, you are missing a HUGE set of possible visitors. Never piss off a spider. :) -- Randal L. Schwartz - Stonehenge

Re: [slightly OT] Problem with cookies

2000-04-08 Thread Randal L. Schwartz
er if it came *after* or *before*, unless you think there's only one timeline relevant. There are many timelines. There are "browsers" being written today that don't support "host:". See my other comment about "web-dexers". -- Randal L. Schwartz - Stonehenge

Re: DBILogger Error Status Codes

2000-04-21 Thread Randal L. Schwartz
t, because it gets the URI not from $r-uri but from the second word of splitting $r-the_request on whitespace. You might consider that change. (I figured this out by looking at the C code for the real log code. :) -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL

Re: DBILogger Error Status Codes

2000-04-21 Thread Randal L. Schwartz
ybe I should just get the docs done and get'em out there. I could even put them in the CPAN then. :) -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy, et

Re: DBILogger Error Status Codes

2000-04-21 Thread Randal L. Schwartz
"Matt" == Matt Sergeant [EMAIL PROTECTED] writes: Matt On 21 Apr 2000, (Randal L. Schwartz) wrote: Matt and I'd be Matt interested in seeing Stonehenge::Reload, but I don't fancy Matt searching the archives of this list (which you posted it to, Matt IIRC), and a central repository o

Re: DBILogger Error Status Codes

2000-04-21 Thread Randal L. Schwartz
"Matt" == Matt Sergeant [EMAIL PROTECTED] writes: Matt On 21 Apr 2000, (Randal L. Schwartz) wrote: Just in case you missed it... (but notice, no instructions!): package Stonehenge::Reload; Matt Thanks! Matt When perl is your day job, instructions just get in the way (I gues

Re: gensym()

2000-04-24 Thread Randal L. Schwartz
we'd hope. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

Re: PerlHandler stopped working???

2000-04-25 Thread Randal L. Schwartz
this. Bring the MIME type to mean both the "real" mime type as well as a PerlHandler if needed. I'm sure it's a 15 line FixupHandler... just haven't had time to tear down part of my site to test. :) -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PRO

Re: Why does $r-print() dereference its arguments?

2000-05-03 Thread Randal L. Schwartz
ne Jeffrey explain the purpose of this behavior, or is it a misfeature? In my case, Jeffrey this is not the desired behavior. You can always call $r-print(\\$foo); :) As in, $r-print(map { \$_ } @list) will work as your print, always. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1

Re: [OT] Great book!

2000-05-09 Thread Randal L. Schwartz
I'll be sure to pass it on to him. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

Re: [OT] Great book!

2000-05-14 Thread Randal L. Schwartz
rs for EPP, not OOP. :) For sample chapters of OOP, try somewhere south of www.manning.com, I believe. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy, etc

an idea for a PerlFixupHandler

2000-05-14 Thread Randal L. Schwartz
to here that looks text/plain or text/html really gets mapped to Registry. Thoughts? Am I trying to be too generic? I like useful frameworks. :) -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/

Re: CGI-cookie() problem

2000-05-23 Thread Randal L. Schwartz
not always recognizing that the first parameter is "CGI" when called as CGI-cookie(). In fact, I had a problem the other day with that too. Try changing CGI-cookie() (not documented as working, I see only instance calls, not class calls in "perldoc CGI") with CGI::cookie(). -- R

Re: PerlTransHandler question.

2000-05-23 Thread Randal L. Schwartz
t know how. Nahh. Use basic core functionality, in your top-level conf file: LocationMatch "^/idTrans=" SetHandler perl-script PerlHandler My::Handler /LocationMatch -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL

Re: global variables and reparsing (short reproducible example)

2000-05-24 Thread Randal L. Schwartz
olumn. :) And it's too bad that we have people mixing the terms up, because cargo-cult meme virus items spread fast in the Perl extended community. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix

XHTML_DTD redefined?

2000-05-24 Thread Randal L. Schwartz
mod_imap.c mod_actions.c mod_speling.c mod_userdir.c mod_alias.c mod_rewrite.c mod_access.c mod_auth.c mod_auth_anon.c mod_digest.c mod_proxy.c mod_headers.c mod_unique_id.c mod_setenvif.c mod_perl.c suexec: disabled; invalid

CGI.pm broken with Apache/mod_perl/warnings? (was Re: XHTML_DTD redefined?)

2000-05-25 Thread Randal L. Schwartz
"Perrin" == Perrin Harkins [EMAIL PROTECTED] writes: Perrin "Randal L. Schwartz" wrote: I'm getting this on every startup: Constant subroutine XHTML_DTD redefined at /usr/lib/perl5/5.00503/constant.pm line 175. what's this about? Perrin That would be t

Re: High-volume mod_perl based ecommerce sites?

2000-05-26 Thread Randal L. Schwartz
the one that Damian would have taken had he seen it six months earlier, so he says. :) -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTrai

Re: High-volume mod_perl based ecommerce sites?

2000-05-26 Thread Randal L. Schwartz
n. Decent object model... just an overly verbose syntax and that horrific "you must indent your code the way Guido wanted or Guido will make a visit to your house" indenting style. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:ht

Re: Probably for a general perl discussion

2000-05-26 Thread Randal L. Schwartz
swer could have given privately, but I want the modperl archives to have the answer as well.] -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy, etc

Re: Apache::GzipChain and scalability

2000-05-26 Thread Randal L. Schwartz
t checking the request "accept:" for /gzip/ be enough? Then the browser can tell you whether it works or not, and you can just have an exceptions list for those that lie. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.s

Re: Template techniques

2000-06-08 Thread Randal L. Schwartz
the wheel? :) Bernhard Also the current stable (1.06) can do this. And Mason was doing this from the beginning. :) -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, C

Re: Template techniques [ newbie alert + long ]

2000-06-08 Thread Randal L. Schwartz
of concept, aborted when I started using HTML::Mason in a serious way. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Ston

Re: mod_perl not to work with 5.6?

2000-06-10 Thread Randal L. Schwartz
then again, 5.6 threads are semi-fragile anyway. :) And wasn't some part of 5.6 broken with respect to HTML::Mason? (Which of course concerns me greatly. :) -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/

Re: ORA conference

2000-07-14 Thread Randal L. Schwartz
Stonehenge. Free drinks, dancing, pool, until they kick us out! -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com

Re: ORA conference

2000-07-15 Thread Randal L. Schwartz
RRED title match ... SUNDAY SUNDAY SUNDAY BE THERE! :) -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Ston

Re: Where are mod_perl coders?

2000-07-20 Thread Randal L. Schwartz
you for helping make it a good event! For those of you that missed it, you'll be jealous when you start hearing your friends talk about it! -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consultin

Re: OSS/Perl Conference Report

2000-07-26 Thread Randal L. Schwartz
t the same as what people had bought for me over the years, so I think I'm now even. :) -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy, etc

Re: [OT] Re: OSS/Perl Conference Report

2000-07-26 Thread Randal L. Schwartz
s to repay Randall when/if he stops the no-drink thing :-) No, please no. I threw the party so that my friends could have a good time. I'm not owed a thing. Please no. It was entirely my pleasure. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED

Re: Templating System

2000-07-27 Thread Randal L. Schwartz
"Jacob" == Jacob Davies [EMAIL PROTECTED] writes: Jacob A HREF="/somehandler?email=#EMAIL URLESC" That should actually be both URL escaped *and* HTML escaped if it also contains 's, like the form fields. You probably knew that, but in case anyone else is watching.

Re: Templating System

2000-07-27 Thread Randal L. Schwartz
p to your server (or whichever server comes along). -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

Re: Feature sets [was Re: Templating System]

2000-08-02 Thread Randal L. Schwartz
s: you wrote a templating system!" web memorial. :) One brief serious note: I think the fact that there are SO MANY is a tribute to just how easy it is to process text in Perl. I don't think there are 47 templating system for Java. :) -- Randal L. Schwartz - Stonehenge Consulting Services,

Re: Feature sets [was Re: Templating System]

2000-08-02 Thread Randal L. Schwartz
; web memorial. Wow, if making suggestions here gets that kind of immediate results, let me also suggest I need a girlfriend who is travel-compatible and email friendly. Maybe one will show up. :) Or do you get only one wish per quarter? :) -- Randal L. Schwartz - Stonehenge Consulting Services, In

Re: Feature sets [was Re: Templating System]

2000-08-03 Thread Randal L. Schwartz
that makes tables easier? Why don't you write it as XML, then use Template::Toolkit and the DOM interface to generate what you want. /me shows hint of bias :-) -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/

Re: pictures from TPC / Jobs in Paris

2000-08-06 Thread Randal L. Schwartz
com/merlyn/Pictures/00-07-TPC4/ (finally) -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrol

Re: mod_perl rules! updated stats

2000-08-08 Thread Randal L. Schwartz
perl.apache.org/"); } return DECLINED; } 1; :-) -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com

Re: mod_perl rules! updated stats

2000-08-10 Thread Randal L. Schwartz
"Ask" == Ask Bjoern Hansen [EMAIL PROTECTED] writes: Ask On 8 Aug 2000, Randal L. Schwartz wrote: $VERSION = (qw$Revision: 1.6 $ )[-1]; Ask in 4 revisions you would have regretted that if you actually used Ask the $VERSION for anything, no? Then it's time for version 2! :) --

Re: $$foo in Apache::ASP

2000-08-12 Thread Randal L. Schwartz
l Perl. For an odd definition of "works". As in, ***HIGHLY DISCOURAGED***. See http://www.plover.com/~mjd/perl/varvarname.html, et. seq. It's proabably a Very Good Thing that ASP enables "use strict" for you, to keep you from going down the Wrong Path. -- Randal L. Schwartz - Stonehenge

Re: URI-Filename translation phase seems to be failing

2000-08-14 Thread Randal L. Schwartz
r-uri does not match /\/$/, then I return DECLINED. Which mod_dir will then send the redirect for. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy, etc

Re: getting rid of nested sub lexical problem

2000-08-16 Thread Randal L. Schwartz
is NOT the same as mod_perl, even though too many people think so :), and that was the original point. I'm not sure the new code fixes it. I think the problem is intractable, or equivalent to the Travelling Salesman and the Farmer's Daughter problem or something like that. :) -- Randal L. Schwartz -

  1   2   3   >