OT: Help with SQL SELECT on Varchar from character 0..n

2002-09-17 Thread Rafiq Ismail (ADMIN)
Hi, I'm using postgres and remember having done something ages ago with some operator in mysql, although it makes zero sense to me now as to how I did it the first time. What I want to do is have a select return a partial string from the ith character of a string to the jth character of a

Re: OT: Help with SQL SELECT on Varchar from character 0..n

2002-09-17 Thread Rafiq Ismail (ADMIN)
Doh! SUBSTR - I forgot to wear my brain this morning. On Tue, 17 Sep 2002, Rafiq Ismail (ADMIN) wrote: Hi, I'm using postgres and remember having done something ages ago with some operator in mysql, although it makes zero sense to me now as to how I did it the first time. What I want

Re: Error messages in Apache::Registry

2002-09-17 Thread William McKee
On 16 Sep 2002 at 18:10, Perrin Harkins wrote: The way that most people would recommend in A::R or anything else is to trap errors with eval blocks and then handle them appropriately. I thought I was doing that at a global level by throwing an error with die() that was caught by CGI::Carp.

Re: Error messages in Apache::Registry

2002-09-17 Thread Perrin Harkins
William McKee wrote: The way that most people would recommend in A::R or anything else is to trap errors with eval blocks and then handle them appropriately. I thought I was doing that at a global level by throwing an error with die() that was caught by CGI::Carp. I'm realizing that it isn't

Re: Error messages in Apache::Registry

2002-09-17 Thread William McKee
On 17 Sep 2002 at 13:27, Perrin Harkins wrote: Matt wrote some stuff for the guide explaining why the die handler is not the best approach. Basically, it means all errors will be treated the same. Ahh, right. Is this what you're referring to?

Linux + Apache Worm exploiting pre 0.9.6g OpenSSL vulnerabilitieson the loose

2002-09-17 Thread Josh Chamas
Hey, There seems to be a worm spreading for Apache + Linux + OpenSSL servers that I saw a discussion on at http://apache.slashdot.org/apache/02/09/13/2315246.shtml?tid=172 Seems like we need to upgrade our apache servers to OpenSSL 0.9.6g if we haven't already. I didn't see this posted to

apche + mod_perl

2002-09-17 Thread testic
Hi Guys, Having decided to give Linux a go I installed Linux and Apache on a spare machine at work with the intention of using it to run an intranet. I managed to run Apache succesfully to serve up simple HTML files, but I wanted some dynamic content so I installed Mod_perl as well. However

LibXML and PerlRun

2002-09-17 Thread Scott Nelson
I am having troubles using XML::LibXML with PerlRun. The script I am running runs just fine under CGI, but when using PerlRun, I get the following message: PerlRun: `Can't locate object method SendFault via package Entity: line 19: error: AttValue: ' expected SupplierRQ ID=7

Re: problem with $r-push_handlers()

2002-09-17 Thread Martin Moss
I have traced my problem to the following subroutine which populates the Hash I use to keep track of mappings of URL's to Modules (handlers)to use. As you will see, at the very end of my parse_file subroutine I have two lines commented out. IF I uncomment these lines out, I end up

RE: apche + mod_perl

2002-09-17 Thread Joe Breeden
Testic, Listed below are a few links that should get you on your way: First start with "The Guide" http://perl.apache.org/docs/1.0/guide/index.html. It has been very helpful to me when I have questions. Second go to http://www.modperlcookbook.org/(buy their book) It has some sample code

Re: LibXML and PerlRun

2002-09-17 Thread William McKee
Hi Scott, I had lots of problems using XML under Apache until I recompiled Apache with the --disable-rule=EXPAT rule as partially described in the AxKit FAQ http://axkit.org/faq.xml. I'm new to the world of XML so don't know whether this will help you or not. You didn't mention a segfault but

RE: Linux + Apache Worm exploiting pre 0.9.6g OpenSSL vulnerabilities on the loose

2002-09-17 Thread Christian Gilmore
Josh, I believe the virus only affects systems pre-0.9.6e: http://www.openssl.org/news/secadv_20020730.txt. Thanks, Christian - Christian Gilmore Technology Leader GeT WW Global Applications Development IBM Software Group -Original Message- From: Josh Chamas

Re: problem with $r-push_handlers()

2002-09-17 Thread Martin Moss
You are a star!!! I ammended your syntax slightly and did this:- my $sub_string='sub { '.$handler_bf.'($r) };'; $r-push_handlers(PerlHandler = eval $sub_string); Otherwise The handler routine of my handler module doesn't get passed the Apache object as it's first argument. It seems to work

RE: Linux + Apache Worm exploiting pre 0.9.6g OpenSSL vulnerabilities on the loose

2002-09-17 Thread Rob Nagler
Christian Gilmore writes: I believe the virus only affects systems pre-0.9.6e: http://www.openssl.org/news/secadv_20020730. Also note that vendors may have retrofited older versions with the patch. For example, Red Hat still is at 0.9.5a 0.9.6b (see

[OT] document management

2002-09-17 Thread Erich Markert
I do work for a Land Use legal center from time to time. They have a project that eventually needs to find it's way onto the web in order to maximize information sharing. What I need to find is a system that would allow users to upload word and/or pdf and/or html files into a library system

Re: [OT] document management

2002-09-17 Thread iudicium ferat
On that note, lets go off into word matching - On Tuesday, September 17, 2002, at 10:15 PM, Erich Markert wrote: I've been doing searches for mod_perl non-mod_perl based solutions but haven't found anything (lot's of content management but no document management). Here is an example of