[mp1] strange build problem with request_rec structure breaks API

2002-12-20 Thread David Harris
If this is not normal, please help me fix this. I'd love to not have to maintain two builds of every other module I want to use. Any other information I can provide, please let me know! Thanks! David Harris President, DRH Internet Inc. [EMAIL PROTECTED] http://www.drh.net/

[JOB-SEEKER] mod_perl consultant; can travel to you

2002-11-20 Thread David Harris
Hello, I'm looking for consulting software development work in the Perl/mod_perl/DBI/Oracle/MySQL/Linux/Web area. Anything Open Source is a plus! I'm based in Maryland Baltimore/D.C. area. I'm flexible and willing to travel to your location for a period of time, if needed. More info about me her

RE: [OT] Question about Work Wanted ads

2002-06-20 Thread David Harris
[EMAIL PROTECTED] wrote: > However, this is perfectly legal if you *billed* for your work, were *paid*, > and then "voluntarily" cut a check to the charity making an actual cash > *donation*. As long as they are bona-fide separate, independent transactions, > you can claim the deduction. You c

[OT] RE: Question about Work Wanted ads

2002-06-20 Thread David Harris
Marc Spitzer [mailto:[EMAIL PROTECTED]] wrote: > 3: you maybe able to deduct your volunteer work from your > taxes( I have no idea about AU's laws though). You can not claim donated services as a tax deduction in the US. (Probably not other places too, I'd guess.) The theory is this: you'd have

RE: [OT-ish] Session refresh philosophy

2002-02-20 Thread David Harris
Drew Taylor [mailto:[EMAIL PROTECTED]] wrote: > I just looked at CGI::EncryptForm and David's module. The thing I like > right off the bat about C:EF is that you pass a href to encrypt() and get > back a href from decypt(). Perhaps I missed something, but FormContainer > takes a string, not a dat

RE: [OT-ish] Session refresh philosophy

2002-02-20 Thread David Harris
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] wrote: > I can see how your approach adds functionality by performing as expected if > the user uses the Back button or opens the app. in more than one browser > window. The usual objection I've heard to using form fields is the security > risk of peop

RE: [OT-ish] Session refresh philosophy

2002-02-20 Thread David Harris
Perrin Harkins [mailto:[EMAIL PROTECTED]] wrote: > Okay, I only looked at it briefly and thought it stored the data on the > client. Your module is actually more like CGI::EncryptForm I think, but > yours may make things a bit more transparent. Maybe you should polish it up > for CPAN. I looke

RE: [OT-ish] Session refresh philosophy

2002-02-20 Thread David Harris
Hans Juergen von Lengerke [mailto:[EMAIL PROTECTED]] wrote: > David Harris <[EMAIL PROTECTED]> on Feb 19, 2002: > > The encoded information is [...] split into reasonable length hidden > > fields. > > Why not put everything in one field? Are there restrictions? Does

RE: [OT-ish] Session refresh philosophy

2002-02-20 Thread David Harris
Perrin Harkins [mailto:[EMAIL PROTECTED]] wrote: > > I built and use a module that encodes a session hash into a > > number of hidden fields with a security MD5 sum. > > Sounds a lot like CGI::SecureState. Have you ever looked at it? I just installed and played with CGI::SecureState (using the

RE: [OT-ish] Session refresh philosophy

2002-02-19 Thread David Harris
David Harris [[EMAIL PROTECTED]] wrote: [snip] > I've attached some code. To use the code, you'll have to replace the > module FreezeThawLite with Storable. Also, beware the \r\n newlines. > (I pulled this out of CVS on my windows desktop.) I forgot to actually attach

RE: [OT-ish] Session refresh philosophy

2002-02-19 Thread David Harris
Drew Taylor [mailto:[EMAIL PROTECTED]]: > And that is what I am doing for a small project I'm working on now. In my > case, I'm not sure about the capabilities of the remote server, and I know > for sure that I don't have a database available, so session information is > saved via hidden form fie

mod_perl site challenge: proposal to use ASF site design

2001-12-17 Thread David Harris
Hi, I've been watching the mod_perl site issue as it has progressed. Just last week Stas mentioned that voting at the online booth has been poor. (Low turnout.) I think I know why voting has been poor. And in my off-list conversation with Stas he's mentioned that other people have had the same op

RE: [OT] Re: Seeking Legal help

2001-11-23 Thread David Harris
Sorry for continuing the OT thread. I just thought this might be useful... Gunther Birznieks [mailto:[EMAIL PROTECTED]] wrote: > By the way, if you are really working for a bank and cashflow is an issue > for you in 60 days you can also ask the bank what business banking services > they offer. O

RE: name-based virtual host ->suexec: command not in docroot

2001-07-02 Thread David Harris
> I need to run a cgi from one of the virtual hosts, but I get the following > errors: > suexec.log - command not in docroot (/path/to/cgi) > error.log - Premature end of script headers: /path/to/cgi Suexec is compiled with a built in path which all requests must fall underneath as part of the s

RE: setting httpd cookie domains

2001-06-29 Thread David Harris
David Harris <[EMAIL PROTECTED]> wrote: > These two should answer your question. You may also need to read section 4.3.4, "Sending Cookies to the Origin Server," to determine what cookies will be sent to what servers. The criteria you are probably looking for is this: }}

RE: setting httpd cookie domains

2001-06-29 Thread David Harris
reverse. Here is section 4.3.2 which specifies under what criteria a user agent should reject a cookie: }}* The value for the Domain attribute contains }} no embedded dots or does not start with a dot. }} }}* The value for the request-host does not }} domain-match the Domain attribute.

RE: Defining $PERL_CC

2001-06-07 Thread David Harris
Bunck, Peter [mailto:[EMAIL PROTECTED]] wrote: > Thanks, but I've already tried that one. > I am using the ibm c(c)-compiler for aix cxx. When looking for solutions for > this problem, I saw some > references to that problem. So I completly recompiled and reinstalled perl. > There is only one c-c

RE: Real Widgets and Template Languages [resend]

2001-05-24 Thread David Harris
for reuse. The default_by_name does something interesting: it imports all the defaults for the fields (_looks_like and _required and _size) information from the database table. If I change the size of a text field in a table all the forms which use that text field are automatically updated. (However, I should change the default_by_name system so that it doesn't need to be specified when I'm including default confirmation. Like I said, this system is straining under the evolution.) I can contribute this library if it would help. I'll warn you that there's not too much documentation. I can also contribute some examples of my code that use the library. David Harris President, DRH Internet Inc. [EMAIL PROTECTED] http://www.drh.net/

RE: Real Widgets and Template Languages

2001-05-24 Thread David Harris
tabase table. If I change the size of a text field in a table all the forms which use that text field are automatically updated. (However, I should change the default_by_name system so that it doesn't need to be specified when I'm including default confirmation. Like I said, this system is straining under the evolution.) I can contribute this library if it would help. I'll warn you that there's not too much documentation. I can also contribute some examples of my code that use the library. David Harris President, DRH Internet Inc. [EMAIL PROTECTED] http://www.drh.net/

RE: DB_File::Lock and the STOP button

2001-05-16 Thread David Harris
Hi, If a script using DB_File::Lock is interrupted by the STOP button, the file will be appropriately unlocked. When using DB_File::Lock, there really is no "critical section" for making sure that the lock will be released appropriately. If a fatal exception happens while the database is open, t

RE: [OT] 128 bit encryption and IE

2001-05-07 Thread David Harris
Geoffrey Young [mailto:[EMAIL PROTECTED]] wrote: > Hi all... > > sorry for the OT, but has anyone figured out how to tell whether a browser > supports 56 or 128 bit encryption? Apparently, users of IE with 56 bit, > when entering a 128 bit page, get the standard Cannot Find Server error page >

RE: [OT] 128 bit encryption and IE

2001-05-07 Thread David Harris
Gunther Birznieks [mailto:[EMAIL PROTECTED]] wrote: > Now, with strong encryption walls having been broken down in the US, maybe > global certs no longer qualify you to have to be a bank? Thawte calls these "SuperCerts" and you don't have to be a bank: }} Who can get a SuperCert? }} The new US

RE: Long waits on SQL Stored Procs. Should I use chained content handlers?

2001-04-02 Thread David Harris
s code not supported. This is the basic idea: take it and run. David Harris President, DRH Internet Inc. [EMAIL PROTECTED] http://www.drh.net/ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, April 02, 2001 10:07 AM To: [EMAIL PROTECTED] Subject: Long wa

RE: dbm locking info in the guide

2001-03-23 Thread David Harris
se. No other > > processes can have a first 4k cached because no other processes can have the > > file open. > > They can, if there weren't untie()d per my above explanation. Just don't unlock without untie()ing first and you are fine. Like I said, this was my assumption, just never stated. Sorry for not being clear. David Harris President, DRH Internet Inc. [EMAIL PROTECTED] http://www.drh.net/

RE: dbm locking info in the guide

2001-03-23 Thread David Harris
taneously have both shared and exclusive locks." > 3. B modifies the data in the first 4k, syncs it and releases the lock. > > 4. A asks for SH or EX lock, gets it, but its cache is invalid. > > => we have a data corruption (especially in the case A does writing into &g

RE: dbm locking info in the guide

2001-03-22 Thread David Harris
Stas Bekman [mailto:[EMAIL PROTECTED]] wrote: > On Thu, 22 Mar 2001, David Harris wrote: > > If you want to downgrade a lock from exclusive to shared, sync the database > > and change the lock status. This will allow other readers access to a > > fully-written database

RE: dbm locking info in the guide

2001-03-22 Thread David Harris
eadlock problems. Hope this helps. (Thanks for the break from the Windows2k nightmare. Why does Oracle Enterprise Manager only run on w2k?! Well, back to work :-) David Harris President, DRH Internet Inc. [EMAIL PROTECTED] http://www.drh.net/

RE: dbm locking info in the guide

2001-03-20 Thread David Harris
nk you have any advantage over simply closing the DB_File and opening it again. It's also worthwhile to use an external lock file because that properly locks for database creation. David Harris President, DRH Internet Inc. [EMAIL PROTECTED] http://www.drh.net/

RE: [OT] ApacheCon BOF

2001-03-20 Thread David Harris
rder taking, payment, manufacturing, shipping, and customer service. You can increase your price over their "base" and donate the money to perl somehow, or just sell at the base price. It would also be easy enough to upload the artwork from last year. David Harris President, DRH Internet Inc. [

RE: Antwort: Repost: Anyone using "virtual server" for mod_perl hosts?

2001-02-12 Thread David Harris
real Quality of Service commitments for RAM and disk space and even bandwidth. Another user's out-of-control mod_perl server can't affect yours. David Harris President, DRH Internet Inc. [EMAIL PROTECTED] http://www.drh.net/

RE: [RFC] mod_perl Digest path...

2001-01-30 Thread David Harris
600:00:00 ps 18435 pts/600:00:00 cat This works as long as the reader does not need to seek in the file, which I doubt will be a problem if a perl module is doing the reading. You'll probably need to have Tod::Text run in a different process, but at least you can now have it as part of

RE: problem connecting to oracle with DBD-Oracle-1.06/DBI-1.14 with Perl version v5.6.0 for Apache/1.3.12 (Unix) mod_perl/1.24 mod_ssl/2.6.6 OpenSSL/0.9.5a

2000-10-26 Thread David Harris
ttribute for the materialized view Cause: The materialized view does not satisfy conditions for refresh at commit time. Action: Specify only legal options. which does not make much sense to me. David Harris President, DRH Internet Inc. [EMAIL PROTECTED] http://www.drh.net/

RE: [OT] Will a cookie traverse ports in the same domain?

2000-10-20 Thread David Harris
Blue Lang [mailto:[EMAIL PROTECTED]] wrote: > On Thu, 19 Oct 2000, martin langhoff wrote: > > > hi, > > > > this HTTP protocol (definition and actual implementation) question is > > making me mad. Will (and should) a cookie be valid withing the same > > host/domain/subdirectory when changin

[Available for a Job] mod_perl/Oracle/linux/web guru

2000-10-10 Thread David Harris
I'm looking for a mod_perl consulting job anywhere from two weeks to a month long. I'm available starting at the beginning of next week, and I can work remotely or fly out to your location. I am a mod_perl, Oracle, web database, and Linux guru. I've contributed to mod_ssl, mod_perl, Apache, and

RE: open(FH,'|qmail-inject') fails

2000-09-08 Thread David Harris
ail-inject inheriting a bunch of filehandles from mod_perl, but they should all be marked close-on-exec. David Harris President, DRH Internet Inc. [EMAIL PROTECTED] http://www.drh.net/

[ANNOUNCE] DB_File-Lock-0.04.tar.gz (bugfix release)

2000-08-11 Thread David Harris
(2) The second is that TIEHASH assumes that SUPER::TIEHASH will succeed. If it doesn't, the lockfile gets left open, and DESTROY is never called to close it. (3) I ran into one other issue: umask isn't restored if sysopen on the lockfile fails.

RE: weird print bug?

2000-08-08 Thread David Harris
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" Two snippets from the perl documentation: s/PATTERN/REPLACEMENT/egimosx Options are: e Evaluate the right side as an e

RE: Using handler for index

2000-07-10 Thread David Harris
rride everything else, and you get the right handler called. The problem is that matches any URI that BEGINS with that substring. LocationMatch is a regular expression driven thing, so you can make it just match that one specific URI. David Harris President, DRH Internet Inc. [EMAIL PROTECTED] http://www.drh.net/

RE: [admin] no HTML posts please

2000-04-18 Thread David Harris
should be extended a bit. I also have a procmail filter setup so I hardly ever actually see the HTML messages. I don't have to time to set this up now (blame consulting jobs that drag on), but I thought I'd suggest it. - David Harris Principal Engineer, DRH Internet Inc. -Origin

PerlDispatchHandler for error handling?

2000-02-10 Thread David Harris
chives and www.modperl.com.) Anybody know what actually PerlDispatchHandler does? :-) - David Harris Principal Engineer, DRH Internet Services

RE: [Embperl] Packages and shared code.

2000-02-01 Thread David Harris
to do it.. and it's probably not the best. I'm sure the OO people will say, "setup a hash of constructors for all your code versions." But it's just here to give you some ideas. - David Harris Principal Engineer, DRH Internet Services

RE: $r->notes()...

2000-01-14 Thread David Harris
= apache_note("imp_usage_pp"); $percent_pp = apache_note("imp_percent_pp"); if ($quota) $message .= " | Using $percent_pp% of $quota_pp limit"; } and then read and write the notes with $r->main->notes from mod_perl. - David Harris Principal Engineer, DRH Internet Services

RE: oracle : The lowdown

2000-01-11 Thread David Harris
David Harris wrote: > What about PostgreSQL (www.postgresql.org)? It looks like it has transaction > management (commit, rollback) with the whole concurrency control thing. I > don't know if has views. I've got a small project that I am figuring on > using PostgreSQL for,

RE: oracle : The lowdown

2000-01-11 Thread David Harris
ase server) for $2,000 per CPU. I used their database server a few years ago and it was very nice. Back then it cost only $200, too... :-) - David Harris Principal Engineer, DRH Internet Services

Summary of DB_File locking wrappers

2000-01-11 Thread David Harris
the same lockfile for multiple databases to avoid deadlock problems, if desired. Use for databases where updates are reads are quick and simple flock locking semantics are enough. This posted for reference by request of Stas. :-) - David Harris Principal Engineer, DRH Internet Services

[JOB] ground-floor opportunity with ownership stake

2000-01-05 Thread David Harris
eb control panel - helping create accounting database and integrating it into existing instant account setup system - administration of existing servers - limited, simple end user customer support If you wish to explore this opportunity in confidence, contact David Harris at [EMAIL PROTECTED]

RE: mod_perl Programmers demand is going up...

1999-12-03 Thread David Harris
s? (Or I could commute to DC/Nortern-VA/MD.) And how much short-term contract work is there available? - David Harris Principal Engineer, DRH Internet Services

RE: mod_perl rpm ready for testing

1999-10-16 Thread David Harris
;t want to install the source RPM, just run a "rpm2cpio whatever.src.rpm | cpio -i " to get at the archived files. - David Harris Principal Engineer, DRH Internet Services

RE: mod_perl rpm ready for testing

1999-10-15 Thread David Harris
Miguel A.L. Paraz wrote: > On Wed, Oct 13, 1999 at 04:24:55PM -0400, David Harris wrote: > Thanks a lot for solving my long-standing problem of building a static > mod_perl system that allows loading of modules and is compatible with the > Red Hat RPM. I initially didn't bump i

mod_perl rpm ready for testing

1999-10-13 Thread David Harris
at this is not the latest copy of mod_perl or Apache. I just tossed this out. When I get some positive feedback, I'll look at creating an Apache 1.3.9 version (for the red hat 6.1 folks) and try to get the latest mod_perl version running for Apache 1.3.6. - David H

RE: ignored

1999-10-07 Thread David Harris
full configuration files somewhere on the web and then linking to them would help. - David Harris Principal Engineer, DRH Internet Services

mod_perl package... what apache version

1999-10-07 Thread David Harris
ng I could produce packages for both. I can't produce one version that works with both 1.3.9 and 1.3.6 because the Module Magic Number changed and DSO compatibility was broken between the releases. Anyway, I should get to working on this sometime later today. - David Harris Principa

RE: New mod_perl RPM really needed? (was: sourcegarden plug)

1999-10-06 Thread David Harris
mod_perl and non-mod_perl servers on the same machine. Anyway, this package looks like a good starting point for making my own RPM. I'll keep you all updated - David Harris Principal Engineer, DRH Internet Services

RE: New mod_perl RPM really needed? (was: sourcegarden plug)

1999-10-06 Thread David Harris
st change from "httpd" to "httpd-perl" in the apachectl script. The advantage is that this one binary can share the existing Apache documentation and DSO's from the RedHat Apache RPM. We just need to install what's different for the mod_perl binary, such as all of the Perl modules

New mod_perl RPM really needed? (was: sourcegarden plug)

1999-10-06 Thread David Harris
creating > RPMs which are very usefull, contributing back to our community, (and > fighting our mutual enemy :) I'm basically saying that I could do this and put together some mod_perl+Apache and libapreq RPM's today.. but I'm just wondering if it's really needed. - David Harris Principal Engineer, DRH Internet Services

relative redirect (was RE: Chaining and redirection)

1999-10-02 Thread David Harris
:inet_ntoa $ipaddr_bin; $host = "$ipaddr" . ( $port == 80 ? "" : ":$port" ); } return $host; } Can I really just do a "Location: /auth/" and have it work? - David Harris Principal Engineer, DRH Internet Services