RE: pseudo-hashes? was: Data structure question

2001-01-23 Thread John Hughes
And indeed, they ought to die. Or be reimplemented. Or something, but quite simply, don't use them. They'll break, they won't dwim, and chances are they won't play nice with future/past versions of Perl. Forget they even exist. Details? I'm using them with no problems in 5.005_03 (the real

RE: pseudo-hashes? was: Data structure question

2001-01-23 Thread John Hughes
I had already reached the same conclusion after I saw that everyone would have to remember to say "my Dog $spot;" every time or the whole thing falls apart. Falls apart? How? If you want something reasonably close, you could do what a lot of the Template Toolkit code does and use arrays

Re: RegExp Parser with mod_perl

2001-01-23 Thread Alexander Farber (EED)
Andres Pedrera wrote: I need to make a file based parser that rightly run with mod_perl (think it's a generic perl trouble, but I want ensure it works with mod_perl). What I really need, is a parser which get parsing rules from an external file. Parse::RecDescent maybe - it is very

RE: pseudo-hashes? was: Data structure question

2001-01-23 Thread Matt Sergeant
On Tue, 23 Jan 2001, John Hughes wrote: And indeed, they ought to die. Or be reimplemented. Or something, but quite simply, don't use them. They'll break, they won't dwim, and chances are they won't play nice with future/past versions of Perl. Forget they even exist. Details? I'm

RE: pseudo-hashes? was: Data structure question

2001-01-23 Thread Matt Sergeant
On Tue, 23 Jan 2001, John Hughes wrote: I had already reached the same conclusion after I saw that everyone would have to remember to say "my Dog $spot;" every time or the whole thing falls apart. Falls apart? How? Because you miss one out and its a very difficult to find bug in your

RE: pseudo-hashes? was: Data structure question

2001-01-23 Thread John Hughes
(exists doesn't work). Neither does delete. Ok. But what should it do? What does it do for an array? And overloading doesn't really work properly. Details? And reloading modules with phashes doesn't work right. I steer clear of reloading, almost anything screws up. And sub-hashes

RE: pseudo-hashes? was: Data structure question

2001-01-23 Thread Matt Sergeant
On Tue, 23 Jan 2001, John Hughes wrote: (exists doesn't work). Neither does delete. Ok. But what should it do? What does it do for an array? But we're talking about hashes! At the very least it should make it so that exists() returns false. And overloading doesn't really work

RE: pseudo-hashes? was: Data structure question

2001-01-23 Thread Robin Berjon
At 11:36 23/01/2001 +0100, John Hughes wrote: Neither does delete. Ok. But what should it do? What does it do for an array? perldoc -f delete "In the case of an array, if the array elements happen to be at the end, the size of the array will shrink to the highest element that tests true for

Re: pseudo-hashes? was: Data structure question

2001-01-23 Thread DeWitt Clinton
On Tue, Jan 23, 2001 at 10:06:13AM +, Matt Sergeant wrote: The only gain might be in a large DOM tree where there may be thousands of objects. But then you're really better off using an array based class instead (as I found out). This is getting a bit off-topic, but I'm empirically found

RE: pseudo-hashes? was: Data structure question

2001-01-23 Thread Matt Sergeant
On Tue, 23 Jan 2001, Robin Berjon wrote: At 11:36 23/01/2001 +0100, John Hughes wrote: Neither does delete. Ok. But what should it do? What does it do for an array? perldoc -f delete "In the case of an array, if the array elements happen to be at the end, the size of the array will

[OT] XML::DOM

2001-01-23 Thread Matt Sergeant
On Tue, 23 Jan 2001, DeWitt Clinton wrote: On Tue, Jan 23, 2001 at 10:06:13AM +, Matt Sergeant wrote: The only gain might be in a large DOM tree where there may be thousands of objects. But then you're really better off using an array based class instead (as I found out). This is

RE: pseudo-hashes? was: Data structure question

2001-01-23 Thread Robin Berjon
At 12:50 23/01/2001 +, Matt Sergeant wrote: Thats only 5.6+ though. So its only useful for internal applications (if at all). True, but we've been using 5.6 (built from AS source) in production for quite a while now very happily. Also, I'm seeing more and more customers having it or ready to

Apache::ASP

2001-01-23 Thread Francis Mendoza
Hello Help, I'd like to check my website and see why my test.asp is not working or showing up on the browser. http://www.technokia.com/test.asp I have installed everything and followed the instruction at http://www.apache-asp.org/ for my location this is what i have. Location

Apache::ASP

2001-01-23 Thread Francis Mendoza
Hello Help, I'd like to check my website and see why my test.asp is not working or showing up on the browser. http://www.technokia.com/test.asp I have installed everything and followed the instruction at http://www.apache-asp.org/ for my location this is what i have. Location

[DIGEST] mod_perl digest 01/14/2001

2001-01-23 Thread Geoffrey Young
-- mod_perl digest January 14, 2001 - January 20, 2001 -- Recent happenings in the mod_perl world... Features

RE: header_out/AUTH_REQUIRE

2001-01-23 Thread Rob Bloodgood
In my PerlAuthenHandler I need to send back the WWW-Authenticate-line. I use $r-headers_out("WWW-Authenticate" = 'basic realm = "MyName"'). But if i returned from the Handler with "return AUTH_REQUIRED" , Apache doesn't send this line in the header. This is (one of) the relevant sections in

Re: [OT] XML::DOM

2001-01-23 Thread Paul J. Lucas
On Tue, 23 Jan 2001, Matt Sergeant wrote: But if performance is absolutely key in XML parsing/processing, then you really need to be looking towards Orchard, which we're co-developing with Ken MacLeod (author of the PerlSAX bindings and XML::Grove). Current tests reveal that its about 10

RE: pseudo-hashes? was: Data structure question

2001-01-23 Thread Perrin Harkins
On Tue, 23 Jan 2001, John Hughes wrote: I had already reached the same conclusion after I saw that everyone would have to remember to say "my Dog $spot;" every time or the whole thing falls apart. Falls apart? How? If you forget the "Dog" part somewhere, it's slower than a normal

Problem with Apache::LogFile

2001-01-23 Thread Liddick, Scott
I am currently writing a PerlLogHandler that will (hopefully) write request info to a rolling logfile in a pipe delimeted format for hourly loading via Oracle SQL*Load into a database (I know about Apache::LogDBI, but my DBA group will not let me do this). I wish to use Apache::LogFile to

changing query string

2001-01-23 Thread Vincent Apesa
Hello all, I'm trying to modify the query string from the client before sending it off again. I would like to do something like so: http://www.xyz.com?one=1 and modify the uri to http://www.xyz.com?one=2 the problem is I'm not sure how to reference values in the query string. I would like

Errors

2001-01-23 Thread Neil Powers
Hello I am running red hat 7.0 with apache version apache_1.3.14 trying to compile mod_perl-1.24 and keep getting the following error Creating Makefile in modules/standard EXTRA_CFLAGS: -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I$(SRCDIR)/lib/expat-lite -DNO_DL_NEEDED * WARNING

file does not exist for server-info

2001-01-23 Thread Wang, Pin-Chieh
I build Apache_1.3.14 with Mod_Perl-1.24_01 The complete build looks good and I can calling up page with http://hostname But when I calling http://hostname/Server-info I get "file does not exist" in the error_log file. but if I do a httpd -l I can see mod_info is included in the compile listing.

Re: [OT] XML::DOM

2001-01-23 Thread Matt Sergeant
On Tue, 23 Jan 2001, Paul J. Lucas wrote: On Tue, 23 Jan 2001, Matt Sergeant wrote: But if performance is absolutely key in XML parsing/processing, then you really need to be looking towards Orchard, which we're co-developing with Ken MacLeod (author of the PerlSAX bindings and

Re: [OT] XML::DOM

2001-01-23 Thread Paul J. Lucas
On Tue, 23 Jan 2001, Matt Sergeant wrote: Aside from categorically *not* being an XML parser (if it doesn't parse XML 1.0 files then its not officially an XML parser) Whatever. It's still 12 times faster at parsing files that look very much like XML in a majority of

difficulties compiling 1.24_01

2001-01-23 Thread Mark A. Downing
I'm having great difficulty getting 1.24_01 to compile... Make test reports: ...make[1]: Leaving directory `/fs1/src/apache_1.3.14/src' kill `cat t/logs/httpd.pid` cat: t/logs/httpd.pid: No such file or directory rm -f t/logs/httpd.pid rm -f t/logs/error_log ../apache_1.3.14/src/httpd -f

checking available modules in test

2001-01-23 Thread Robin Berjon
Hi, I just did an install of modperl 1.24_01/apache 1.3.14 and I got a few failed tests. The tests that fail are actions, cgi, and include (in fact, I had to delete the line in the test conf that contained the Action directive in order to get the tests to run). And indeed, they should fail

Re: Errors

2001-01-23 Thread Robin Berjon
At 10:51 19/01/2001 -0500, Neil Powers wrote: Apache Version 1.3.0 required, aborting... You need modperl 1.24_01 to compile against apache 1.3.14. This is becoming a faq. Shouldn't we just remove 1.24 from the dist dir ? I just mecanically did exactly the same mistake. -- robin b. Work is

Re: Apache::ASP

2001-01-23 Thread Joshua Chamas
Francis Mendoza wrote: Hello Help, I'd like to check my website and see why my test.asp is not working or showing up on the browser. http://www.technokia.com/test.asp This is a VBScript page, Apache::ASP only support perl scripting with ASP. I have installed everything and followed

Compiling mod_perl 1.24 with the Sun Solaris C Compiler

2001-01-23 Thread Matisse Enzer
This is a re-posting with a bit more information: I'm having trouble getting mod_perl 1.24 to compile using the Solaris compiler. Compiler Version is: Sun WorkShop 6 2000/04/07 C 5.1) OS is: Solaris 2.7 Details: For various reasons I'm using the Apache 1.3.12 source tree,

Re: [OT] XML::DOM

2001-01-23 Thread Matt Sergeant
On Tue, 23 Jan 2001, Paul J. Lucas wrote: On Tue, 23 Jan 2001, Matt Sergeant wrote: it doesn't compile on my stock Mandrake 7.0 laptop: make[1]: Entering directory `/tmp/XML_Tree-1.0/mod/XML/Tree' g++ -c -I../../.. -Dbool=char -DHAS_BOOL -I/usr/local/include -O3

Re: Errors

2001-01-23 Thread Kevin Beckford
Neil Powers wrote: Hello I am running red hat 7.0 with apache version apache_1.3.14 trying to compile mod_perl-1.24 and keep getting the following error Are you using the gcc "2.96" that shipped with RedHat 7? If so try using gcc 2.95.

Re: Errors

2001-01-23 Thread Mark A. Downing
On Fri, 19 Jan 2001, Neil Powers wrote: I am running red hat 7.0 with apache version apache_1.3.14 trying to compile mod_perl-1.24 and keep getting the following error Creating Makefile in modules/standard EXTRA_CFLAGS: -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I$(SRCDIR)/lib/expat-lite

Re: file does not exist for server-info

2001-01-23 Thread Danny Rathjens
Try all lower case: http://hostname/server-info (You had a capital S) And make sure you have something like this in httpd.conf: Location /server-status SetHandler server-status Order deny,allow Deny from all Allow from foo.org /Location or you could modify the

Re: [OT] XML::DOM

2001-01-23 Thread Paul J. Lucas
On Tue, 23 Jan 2001, Matt Sergeant wrote: Its perl adding the -fno-rtti, FWIW, not your Makefiles. Then there's something odd about your Perl installation. Perl shouldn't be giving the option. How does Perl "know" whether RTTI is needed or not? - Paul

File handles in mod_perl

2001-01-23 Thread Barry Veinotte
Hi Folks, I received some tips from an admin on a server where I am attempting to get a program running under mod_perl using Apache::Registry All was well for a few weeks, and then data files began to be corrupted again... One of the items that was passed on to me was ( as below) regarding

New to mod perl help

2001-01-23 Thread John Michael
After my earlier attempts to use mod perl I had little success, so I have alittle more time, so I thought I would try it again. I have a couple ofquestions. I have read through the documentation and some of it is unclearsometimes until you really know what you are doing.I understand about

Re: New to mod perl help

2001-01-23 Thread Paul J. Lucas
On Tue, 23 Jan 2001, John Michael wrote: I know that the modperl script has to go in the httpd/perl folder so that apache will recognize it. You can put the script anywhere you please. You only have to make sure the directory is "use lib"'d. If I move the scripts into the

Using KeepAlive with ProxyPass

2001-01-23 Thread Ben Yerushalmi
Hi, This is probably more of an Apache question but here goes. I have 2 servers. One running a non-mod_perl apache and one running mod_perl. The non-mod_perl server handles static content and ProxyPasses any dynamic content to the mod_perl server. Now the question. Is there a way (KeepAlive?)