Re: [OT]: In my Farthers House there are many mansions

2002-11-03 Thread Steven Lembark
help in maintainability. -- Steven Lembark 2930 W. Palmer Workhorse Computing Chicago, IL 60647 +1 800 762 1582

Re: CGI parameters appear to be doubled on 8 bit chars...

2002-10-13 Thread Steven Lembark
a normal field. -- Steven Lembark 2930 W. Palmer Workhorse Computing Chicago, IL 60647 +1 800 762 1582

Re: serving large files with access controls

2002-10-13 Thread Steven Lembark
read access. After that you can have the web server, say, symlink a file with some temp name and redirect the user to the ftp server. Net result is that the proxy handles an ftp request for a name that is temporary to the download and hard to guess. -- Steven Lembark

Re: Archive::Tar

2002-09-11 Thread Steven Lembark
successfully telling you that it failed; cpio croaks and exits non-zero immediatly if it detects an error on writing or extract. -- Steven Lembark 2930 W. Palmer Workhorse Computing Chicago, IL 60647 +1 800 762

Re: Java and Perl integration

2002-08-16 Thread lembark
, C++, tkl, Python...) source in your Perl code. enjoi. -- Steven Lembark 2930 W. Palmer Workhorse Computing Chicago, IL 60647 +1 800 762 1582

Re: Modperl! Your private *UNDERAGE* lolitas and boys!

2002-08-04 Thread Steven Lembark
, is Perl. The spamassassin module to be precise, see http://www.spamassassin.org for details. -- Steven Lembark 2930 W. Palmer Workhorse Computing Chicago, IL 60647 +1 800 762 1582

Re: Mount something with my perl script

2002-07-24 Thread lembark
# ! /usr/bin/perl -w `su - root password -c 'mount -t smbfs -o credentials=some.file //windows/share /mount/point'`; Check out the automounter. -- Steven Lembark 2930 W. Palmer Workhorse Computing Chicago, IL 60647

Re: Hiding perl code

2002-07-22 Thread lembark
. It's a bood bet that Damian hasn't tested any of his code with mod_perl. -- Steven Lembark 2930 W. Palmer Workhorse Computing Chicago, IL 60647 +1 800 762 1582

Re: [OT] Better Linux server platform: Redhat or SuSe?

2002-07-03 Thread lembark
options are used for mod_perl. -- Steven Lembark 2930 W. Palmer Workhorse Computing Chicago, IL 60647 +1 800 762 1582

Re: Best compile options for perl 5.8 for mod_perl 1.x and 2.x

2002-05-30 Thread Steven Lembark
./Configure -des -Dprefix=/home/stas/perl/ithread \ -Dusethreads -Duseshrplib Also worth using large file support if you habitually munge 2GB files. -- Steven Lembark 2930 W. Palmer Workhorse Computing Chicago, IL 60647

Re: Can mod_perl help me use ENV variables in httpd.conf?

2002-04-30 Thread Steven Lembark
PerlSendHeader On /Location EOF /Perl Is this a good way to solve this problem, is there an easier way, and does this even work? :-) Thanks, Fran -- Steven Lembark 2930 W. Palmer Workhorse Computing Chicago, IL 60647

Re: [OT] Doubt on directories for development

2002-04-22 Thread lembark
-numbered port w/o stepping on one another. -- Steven Lembark 2930 W. Palmer Workhorse Computing Chicago, IL 60647 +1 800 762 1582

Re: Kind-of PerlSections, and location question

2002-04-15 Thread Steven Lembark
these at startup time or on a user signal (e.g., $SIG{USR1} = \reload_stuff_from_db). Timestamping the database entry for the site might also help, since you wouldn't have to re-load the entire thing every time the site was hit. -- Steven Lembark 2930 W. Palmer Workhorse

RE: Java???

2002-04-01 Thread lembark
Why does CPAN.org say Comprehensive Java Archive Network Don't forget to check the RFC sites today either. -- Steven Lembark 2930 W. Palmer Workhorse Computing Chicago, IL 60647 +1 800 762 1582

Re: mod_perl training companies?

2002-03-24 Thread Steven Lembark
http://www.stonehenge.com/ http://www.stonehenge.com/perltraining/ -- Steven Lembark 2930 W. Palmer Workhorse Computing Chicago, IL 60647 +1 800 762 1582

Re: [OT] Off topic question a little worried

2002-03-22 Thread lembark
Assuming the content isn't updated too often, burning the site from a test area and mounting it as a CDROM makes it pretty hard for outsiders to udpate. -- Steven Lembark 2930 W. Palmer Workhorse Computing Chicago, IL 60647

Re: Off topic question a little worried

2002-03-21 Thread lembark
and track the schmuck to cracked you. Point is that even if you cannot trust anything at all on your hard drives at this point you can still analyze what's there and recover at least some of it. enjoi. -- Steven Lembark 2930 W. Palmer Workhorse Computing

Re: kylix: rad!

2002-01-13 Thread Steven Lembark
with *NIX. This does seem like a good way to show people that gaining add'l control with mod_perl doesn't have to be painful. -- Steven Lembark 2930 W. Palmer Workhorse Computing Chicago, IL 60647 +1 800

Anyone know of specific problems with the malloc in Sun's libc?

2001-12-31 Thread Steven Lembark
W/ current apache and mod_perl, perl-5.6.1, Solaris-2.8. Been having problems with DBI dropping connections. One suggestion was to override the default of no and use the malloc that comes with perl-5.6.1. Anyone know of problems or any obvious symptoms? thanx. -- Steven Lembark

Success story.

2001-12-15 Thread Steven Lembark
. That also saved us quite a bit of work. -- Steven Lembark 2930 W. Palmer Workhorse Computing Chicago, IL 60647 +1 800 762 1582

Re: load balancing on apache

2001-12-14 Thread Steven Lembark
the re-write phase to balance the load w/in Apache if you want to. Alternatives include round- robin DNS and separate load balancing software. -- Steven Lembark 2930 W. Palmer Workhorse Computing Chicago, IL 60647

Re: mod_perl vs. C for high performance Apache modules

2001-12-14 Thread lembark
or obviated by faster hardware [how's that for a sentence?]. Net result is that the objection is probably based on once- valid but now out of date analysis. -- Steven Lembark 2930 W. Palmer Workhorse Computing Chicago, IL 60647

Re:[Rewrite article] Randal Schwartz article on load balancing inEpache

2001-12-14 Thread Steven Lembark
it to another system based on the estimated load any other balancing criteria. You might be able to find it via google also. -- Steven Lembark 2930 W. Palmer Workhorse Computing Chicago, IL 60647 +1 800 762 1582

RE: Auth Handlers

2001-12-12 Thread lembark
the chain which can be unintuitive. Other approach is to use a separate login site and redirect people there if they don't meet the auth. criteria to begin with. This way you don't have to send AUTH_REQUIRED, just a redirect (or internal redirect). -- Steven Lembark 2930

Oddity with redirects

2001-12-09 Thread Steven Lembark
= 'deflate, gzip, x-gzip, identity, *;q=0', MOD_PERL = 'mod_perl/1.26', SCRIPT_FILENAME = '/home/lembark/sandbox/cdr//code/app/website/htdocs/cdrloginform', APACHE_PORT = '8081', SERVER_PROTOCOL = 'HTTP/1.1', HTTP_CONNECTION = 'Keep-Alive, TE

Problem with Apache::AuthCookie

2001-12-09 Thread Steven Lembark
:22 2001] [error] auth_type Cdr::AuthCookie [Thu Dec 6 15:16:22 2001] [error] auth_name CDR [Thu Dec 6 15:16:22 2001] [error] ses_key_cookie [Thu Dec 6 15:16:22 2001] [error] uri /foo [Thu Dec 6 15:16:22 2001] [error] no cookie [Thu Dec 6 15:16:22 2001] [debug] /home/lembark/sandbox/cdr//code

Problem with Apache::AuthCookie-3.00

2001-12-06 Thread Steven Lembark
-no_cache( 1 ); $request-send_http_header( 'text/html' ); $request-print( $form ); OK } -- Steven Lembark 2930 W. Palmer Workhorse Computing Chicago, IL 60647 +1 800 762 1582

Re: Are global variables truly global?

2001-11-04 Thread Steven Lembark
or Llama books). -- Steven Lembark 2930 W. Palmer Workhorse Computing Chicago, IL 60647 +1 800 762 1582

Re: Exporting C++ class to Perl?

2001-10-30 Thread Steven Lembark
-- Vlad Safronov [EMAIL PROTECTED] Hi, How can I export C++ class and its interface to Perl? Is it just like exporting simple C function to Perl (in perlxs doc. example)? Is there good (not big) CPAN examples for this problem? perl -MCPAN -e shell; get Inline -- Steven Lembark

Re: Excellent article on Apache/mod_perl at eToys

2001-10-27 Thread Steven Lembark
of checking then most other languages even allow. -- Steven Lembark 2930 W. Palmer Workhorse Computing Chicago, IL 60647 +1 800 762 1582

Re: PerlSetVar string value - no \n translation?

2001-10-27 Thread Steven Lembark
for the moment: PerlSetVar Blah A long line withbrHTMLbrBreaks In It; that or set the thing and use: s/br/\n/gs; somewhere in the code. -- Steven Lembark 2930 W. Palmer Workhorse Computing Chicago, IL 60647

Bit of an oddity configuring perl (fwd) (fwd)

2001-10-25 Thread Steven Lembark
'} = { SetHandler = 'perl-script', PerlHandler = 'Cdr::Menu', }; -- Steven Lembark 2930 W. Palmer Workhorse Computing Chicago, IL 60647

Re: [OT] Perl daemons (was Re: Excellent article on Apache/mod_perl at eToys)

2001-10-23 Thread lembark
-- [EMAIL PROTECTED] on 10/23/01 10:23:18 -0500 Is anyone else using independent perl processes in a web app, or have strong reasons not to? I use them for quite a few things. fork/exec works nicely in perl (on unix at least), allows me to write daemons for most things. Why do you ask?

Re: Off-topic - Apache Config - Load crises

2001-10-12 Thread Steven Lembark
the network (i.e., with fewer routers between them and the cloud) it might help. Randal wrote an article last year about using rewrite rules as a poor-man's load balancer. That might help. -- Steven Lembark 2930 W. Palmer Workhorse Computing Chicago

Re: Knowing if a apache server is compiled with mod_perl

2001-09-18 Thread Steven Lembark
in dso. So is it possible from the Apache binary to check mod_perl ? If the server is compiled w/ mod_info check that for mod_perl. -- Steven Lembark 2930 W. Palmer Workhorse Computing Chicago, IL 60647

Re: Microsoft Access + Perl

2001-09-18 Thread lembark
-- Brice D Ruth [EMAIL PROTECTED] on 09/18/01 10:57:26 -0500 Am I assuming correctly, that Perl could communicate with a MS Access database file via ODBC, on a Windows box? If so, are there any particular gotchas or limitations to this approach that I should be aware of? I typically use

Re: [OT] New Micro$oft vulnerability?

2001-09-18 Thread lembark
-- Jeremy Howard [EMAIL PROTECTED] on 09/19/01 06:37:15 +1000 This one's gonna grind the net to a halt pretty quick. I hate to think what this will mean for people running web servers at home over DSL (including me soon). Any suggestions on how we should respond? Update

Re: Cloning the request object

2001-09-08 Thread Steven Lembark
? I've never had problems with: sub handler { my $request = shift; foo $request or croak foo doesn't like you!; ... } sub foo { my $request = shift; ... } -- Steven Lembark 2930 W. Palmer Workhorse Computing

Re: BOF?

2001-07-14 Thread Steven Lembark
- brian moseley [EMAIL PROTECTED] on 07/14/01 10:43:42 -0700: On Sat, 14 Jul 2001, Ken Williams wrote: I just noticed that there's no mod_perl BOF listed at http://conferences.oreillynet.com/cs/os2001/pub/10/bofs.html . Is one scheduled? If not, let's get one together. speaking of

Re: API Design Question

2001-06-30 Thread Steven Lembark
memory used by the various .pm files that will be loaded numerous times. I can see that grouping functions based on functionality would reduce the number of .pm files in memory. However, if I go that route, use only loads the .pm once. Multiple uses don't eat up any more resource than

Re: API Design Question

2001-06-30 Thread Steven Lembark
Note that if they do get called this will end up using more memory than if you had just loaded them during startup, since they won't be shared between child processes. Original assumption is that they are called infrequently. You'll also find that the amount of memory sucked up by a

Re: which perl?

2001-06-23 Thread Steven Lembark
I am running Apache/1.3.14 (Unix) mod_perl/1.25 on a redhat 7 system. Since the perl binary that came with the redhat distribution was version 5.6.0, I assumed that is the version that got built into mod perl (statically linked). But I just discovered using perl's $] variable, that it's

Unable to build apache + mod_perl on AIX

2001-06-19 Thread Steven Lembark
apache_1.3.20 mod_perl-1.25 AIX kbs80 3 4 000C30CD4C00 unknown Problem: regardless of what arg's I've tried or all-in-one, one-step I keep getting xlC as the compier and CFLAGS which include -qlonglong -q32 -maxmem'. xlC then fails to compile apache. Running ./configure --blah in the

Re: handler for error log

2001-06-12 Thread Steven Lembark
while( $lastmod == -M $logfile ); my $newstuff = $logfile; # regex $newsuff to your heart's delight. # that or read it as @newstuff and process it # line by line } -- Steven Lembark 2930 W. Palmer

Re: Make Test problems...

2001-06-11 Thread Steven Lembark
snip file called makpl_args.mod_perl in the mod_perl directory. The best arrangement for the directories seems to be something like: snip Even easier, put .makepl_args.mod_perl into your home directory and you won't have to re-create it every time you go to re-build Apache.

Re: Memory leak

2001-06-03 Thread Steven Lembark
for later use. If you are running large enough queries over time the memory use will track the high-water mark of the rows returned (which obviuosly pertaint to fetchall-type returns). If the queries get large enough you can suck up lotsaMB. -- Steven Lembark 2930

Trying to find correct format for PerlSetVar's -- or get Apache::AuthNetLDAP working.

2001-05-30 Thread Steven Lembark
;, 184 PerlHandler = 'Tdrdw::Welcome', 185 }, is there any better doc for this than the eagle book? -- Steven Lembark 2930 W. Palmer St. Chicago, IL 60647 [EMAIL PROTECTED

looking for help finishing a module

2001-04-25 Thread Steven Lembark
if there is anything other than simply truncating the uri to its path (leaving off the arguments) that's done by MS. if anyone knows how their process works, or is willing to help check it, please warn me. it'll be a big help in this thing done sooner. thanx. -- Steven Lembark

bug in exploder blows up Digest security

2001-03-29 Thread Steven Lembark
le; MSIE 5.5; Windows 98) HTTP/1.1 (null) [Thu Mar 29 15:54:58 2001] [error] [client 10.35.2.5] Digest: uri mismatch - /tdrdw/Data does not match request-uri /tdrdw/Data?menuform=1report=lo -- Steven Lembark 2930 W. Palmer St.

looking for docs

2001-03-27 Thread Steven Lembark
anyone know where doc's for handling digest authentiction w/ m_p 1.25 live? having little luck finding any working examples and i'm running out of time... thanx. -- Steven Lembark 2930 W. Palmer St. Chicago

Re: Dynamic loading of development libraries

2001-03-03 Thread Steven Lembark
GNAME}"; to check out a new version just bounce your copy of the server and keep going. normal cycle looks something like cvs -q update -d; bounce; try it, edit thing, keep going. if you reach a point where something works use cvs commit. -- Stev

alarm w/in mod_perl?

2001-02-12 Thread Steven Lembark
purposes, leaving me stuck with $cutoff = blah if( time $cutoff ) every time i pass through the routine (blech). -- Steven Lembark 2930 W. Palmer St. Chicago, IL 60647 [EMAIL PROTECTED

development question

2000-12-25 Thread Steven Lembark
ourselves. seems like performing the replacement in-place (e.g., via $LOGNAME) would be a cleaner way. thanx -- Steven Lembark 2930 W. Palmer St. Chicago, IL 60647 [EMAIL

anyone had luck compiling apache-1.3.14 w/ mod_perl-1.24_01on aix 4.3.3?

2000-12-12 Thread Steven Lembark
the Makefile.PL doesn't even work... can't find any references to specific problems, figured i'd check before getting into the gory details... -- Steven Lembark 2930 W. Palmer St. Chicago, IL 60647 [EMAIL

infamous mod_perl mod_ssl together not making...

2000-01-10 Thread Steven Lembark
n Makefile.PL is run, it'll read in those options and pass then to Apache's configure script. -- Steven Lembark 2930 W. Palmer St. Chicago, IL 60647 [EMAIL PROTECTED] 800-762-1582