File::Cache problem

2001-02-06 Thread BeerBong
Hello modperl, There is Apache Perl module, which uses File::Cache. File::Cache object is initialized in every request with params namespace PRTL max_size 10485760 expires_in 86400 cache_depth 3 Cache size after 24 hours of working via 'du -s' - 53M via 'perl -MFile::Cacje -e"print File::Cache:

Re: [Templates] Re: ANNOUNCE: OpenInteract Web Application Server

2001-02-06 Thread Chris Winters
* L.M.Orchard ([EMAIL PROTECTED]) [010207 00:07]: > So, I'm trying to install OpenInteract now since from 50,000 ft it sounds a > lot like what I was trying to do with Iaido. Using Template Toolkit for the > presentation... abstracted data management... Need to look around more. > I'd be more

Re: ANNOUNCE: OpenInteract Web Application Server

2001-02-06 Thread Chris Winters
* Perrin Harkins ([EMAIL PROTECTED]) [010206 22:43]: > Hi Chris, > > I've been reading the docs for the last couple of days and it looks very > interesting. It's great to see a well-documented open source project. > I have a couple of specific questions, which I guess are really about > SPOPS m

Re: ANNOUNCE: OpenInteract Web Application Server

2001-02-06 Thread Perrin Harkins
Chris Winters wrote: > > I'm jazzed to announce the public release of OpenInteract, an > extensible web application framework using mod_perl and the Template > Toolkit as its core technologies. Hi Chris, I've been reading the docs for the last couple of days and it looks very interesting. It's

ANNOUNCE: OpenInteract Web Application Server

2001-02-06 Thread Chris Winters
I'm jazzed to announce the public release of OpenInteract, an extensible web application framework using mod_perl and the Template Toolkit as its core technologies. But the README already does all the heavy lifting: << WHAT IS IT? = OpenInteract is an extensible

Re: Apache: ASP

2001-02-06 Thread Joshua Chamas
Paul Scott wrote: > > I am getting errors when I try and run ASP on my Linux box... > > Here is what pops up on the web page, I am not sure how to fix it or > what exactly is wrong with it. Any help you can offer will be > appreciated.. > That's the raw ASP page, when not run. You need to ge

Apache: ASP

2001-02-06 Thread Paul Scott
I am getting errors when I try and run ASP on my Linux box... Here is what pops up on the web page, I am not sure how to fix it or what exactly is wrong with it. Any help you can offer will be appreciated.. #!/usr/local/bin/perl5 asp [0]%>> ([0]%>>source) Thanks, Paul Scott [EMAIL PROTECTED]

Re: object not being destroyed in a TemplateToolkit-based handler

2001-02-06 Thread Perrin Harkins
On Tue, 6 Feb 2001, darren chamberlain wrote: > Vivek Khera ([EMAIL PROTECTED]) said something to this effect on 02/06/2001: > > However, at the end of the template processing, the object is not > > destroyed; that is, the DESTROY() method is never called, and > > therefore the tied hash never ge

Re: object not being destroyed in a TemplateToolkit-based handler

2001-02-06 Thread Perrin Harkins
On Tue, 6 Feb 2001, Vivek Khera wrote: > However, at the end of the template processing, the object is not > destroyed; that is, the DESTROY() method is never called, and > therefore the tied hash never gets untied and Apache::Session::MySQL > doesn't get a chance to write the data back to the st

Re: object not being destroyed in a TemplateToolkit-based handler

2001-02-06 Thread darren chamberlain
Vivek Khera ([EMAIL PROTECTED]) said something to this effect on 02/06/2001: > However, at the end of the template processing, the object is not > destroyed; that is, the DESTROY() method is never called, and > therefore the tied hash never gets untied and Apache::Session::MySQL > doesn't get a c

FW: Doh; StatINC can't find files?

2001-02-06 Thread Rob Bloodgood
Thanks for the clarification. It worked perfect. drwx-x 12 rlandrum rlandrum 4096 Feb 6 14:05 rlandrum drwxr-xr-x3 rlandrum devel4096 Jan 30 14:14 rlandrum/public_html Rob >execute (or access >for directories) (x) > >> drwx-x3 rlandrum devel

FW: Doh; StatINC can't find files?

2001-02-06 Thread Rob Bloodgood
execute (or access for directories) (x) > drwx-x3 rlandrum devel4096 Jan 30 14:14 public_html > (701, Forbidden) that's not what I meant, I should have been more clear. 755 on public_html 701 on ~user so ~user is still "hidden" from general eyes but ~user/public_

object not being destroyed in a TemplateToolkit-based handler

2001-02-06 Thread Vivek Khera
I sent this to the Template Toolkit list but got no responses. I'm pretty sure it is a mod_perl issue, but I can't for the life of me figure out why the object doesn't get destroyed in the mod_perl context. A standalone test program always destroys the object at the expected time. This bug happ

Re: Error reporting mod_perl 1.25 + apache 1.3.17

2001-02-06 Thread dima
I used to have all these seg faults when dealing with apache1.3.14 and mod_perl1.24_01 (perl5.6.0/redhat 6.2) when built as DSO. As soon as you get a request through log files just get flooded with segmentation faults. However when I switched over to apache1.3.17 + mod_perl1.25 everything goes o

RE: Doh; StatINC can't find files?

2001-02-06 Thread Robert Landrum
My mistake. I misread the orginial message. It was referring to the /home/USER directory, not the /home/USER/public_html directory. If you set /home/USER to 701, and /home/USER/public_html to 755, then everything is works great and things stay more secure than having /home/USER 755. Double

RE: Debugging mod_perl with gdb

2001-02-06 Thread G.W. Haywood
Hi again, On Tue, 6 Feb 2001, Shane Adams wrote: > I tried the 'man gdb' command and it didn't > help much I'm afraid... Then why not have a look at http://www.gnu.org/manual/gdb-4.17/gdb.html I'm not a great fan of using debuggers, but as they go it's fantastic, it's really worth getting to

RE: Apache::ASP Best Language to use?

2001-02-06 Thread S Muthu Ganesh
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Matthew Schroeder Sent: 05 February 2001 21:13 To: '[EMAIL PROTECTED]' Subject:Apache::ASP Best Language to use? Currently the company I work for is using ASP code running on Windows ser

Re: Error reporting mod_perl 1.25 + apache 1.3.17

2001-02-06 Thread modperl
Actually My current builds are very similar. 1.3.17+1.25w/5.6.0 on slackware linux 7.1, dually intel boxes. Works fine and while watching error logs i haven't seen any segfaults. returns our pages just fine. Scott On Mon, 5 Feb 2001, Paul Lindner wrote: > On Mon, Feb 05, 2001 at 06:41:00PM +

RE: Doh; StatINC can't find files?

2001-02-06 Thread Vivek Khera
> "RL" == Robert Landrum <[EMAIL PROTECTED]> writes: RL> Under Linux, 'x' does mean execute... from the chmod manpage RL> The letters `rwxXstugo' select the new permissions for the RL> affected users: read (r), write (w), execute (or access RL> for directories) (x

Re: Help: Can't use string ("Exchange::Account::My") as a HASH ref while "strict refs" in use trying to use instance variables in my handler

2001-02-06 Thread Christopher L. Everett
> Anyway, what you should do is create a constructor: > > sub new { > my $class = shift; > my $self {@_}; > bless $self, $class; > return $self; > } You mean like this code segment that I included in my original post just below the handler code :) sub init { my $invocant = shift; my

RE: Debugging mod_perl with gdb

2001-02-06 Thread Shane Adams
Title: RE: Debugging mod_perl with gdb Hey thanks.  I'll try this.  I tried the 'man gdb' command and it didn't help much I'm afraid... -Original Message- From: sterling [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 06, 2001 12:33 PM To: Shane Adams Cc: [EMAIL PROTECTED] Subject

Re: Debugging mod_perl with gdb

2001-02-06 Thread sterling
If you're looking for which piece of perl code being processed, there are some gdb macros to help. If you source the .gdbinit in the root of your modperl dir you have access to a bunch of cool macros to use. In this case, curinfo will give you the current line number in your perl code. here's t

Re: Debugging mod_perl with gdb

2001-02-06 Thread G.W. Haywood
Hi there, On Tue, 6 Feb 2001, Shane Adams wrote: > I've found a "write to a dangling pointer" when apache/mod_perl > evaluates a section of the apache config file. > > My question: How do I go about attacking this problem? 1. Reduce your test case to the absolute minimum. 2. 'perldoc perldeb

Debugging mod_perl with gdb

2001-02-06 Thread Shane Adams
Title: Debugging mod_perl with gdb Hey there - I've successfully built apache/mod_perl with full debugging.  In addition, I'm running the whole setup through insure, a commercial memory leak/corruption tool.  I've found a "write to a dangling pointer" when apache/mod_perl evaluates a sec

RE: Doh; StatINC can't find files?

2001-02-06 Thread Robert Landrum
Neither of the following combinations worked for me: drwx--x--x3 rlandrum devel4096 Jan 30 14:14 public_html (711, Forbidden) drwx-x3 rlandrum devel4096 Jan 30 14:14 public_html (701, Forbidden) The only one that worked was: drwxr-xr-x3 rlandrum devel4096

RE: Doh; StatINC can't find files?

2001-02-06 Thread Rob Bloodgood
> wm looks like a home directory. The default perms on the home > directory are usually 700. Try changing that to something like 755 > or even 744 (it may not need execute). Actually, the x bit on directory perms means "accessible," meaning if you KNOW the name of the file, U can reach it at al

Re: [OT] Design Patterns in mod_perl apps?

2001-02-06 Thread Bakki Kudva
Thank you for that pointer. I checked http://www.pagekit.org/. Looks very interesting. While on the subject I'd like to mention another really nice book by Mark Grand called "Patterns in Java" that might be of interest to those looking into Design Patterns. This book has many additional pattern t

Re: SQL log analyzer for Apache::DBILogger

2001-02-06 Thread chicks
On Tue, 6 Feb 2001, T.J. Mather wrote: > I have a script that reads the logs from the database and dumps it out > to a flat file in the standard format Apache uses when writing > access_log, then I run a program called webalizer on it. I actually > don't use Apache::DBILogger, but the database ta

Apache::DBILogger

2001-02-06 Thread c.w.huling
I have set this up with our Oracle Database, but I am not getting anything in the database nor am I getting any errors. Everything still seems to log to the log files? If errors are being generated, where would I find them? Any way to trace through and see what is happening? -- C Wayne Hulin

RE: Help: Can't use string ("Exchange::Account::My") as a HASH ref while "strict refs" in use trying to use instance variables in my handler

2001-02-06 Thread Chris Strom
> Subject: Help: Can't use string ("Exchange::Account::My") as > a HASH ref > while "strict refs" in use trying to use instance variables in my > handler [snip] > sub handler ($$) { > my ($self, $q) = @_; > > my $r= Apache::Request->new($q); > > $self->child_init unless $self->{_chil

Re: Apache::Session::File

2001-02-06 Thread harilaos
How do i change this locking mechanish of win32? Am i using the wrong module? From apache::session::* modules do you know which are supposed to work on win32? Thanks Gunther Birznieks wrote: > > You need to change the locking mechanism on Win32 to not use IPC. I believe > there are examples for

Re: Environnement stability and maturity

2001-02-06 Thread Lupe Christoph
In local.modperl you write: >What is the "official" home of 5.6.1rev2? I can't seem to locate it on >CPAN anywhere. The p5p summary on http://www.perl.com/ seems to be under >the impression that 5.6.1 isn't going to be out for a while. I remember >seeing a pointer to one of the very early patches

Re: SQL log analyzer for Apache::DBILogger

2001-02-06 Thread T.J. Mather
On Mon, 5 Feb 2001 [EMAIL PROTECTED] wrote: > Sometime in the next month I need to embark on a log analyzer for the logs > we've been accumulating for many moons via Apache::DBILogger. Has anyone > made any effort to do such a thing already? I've dug around the web for a > while and come up wit

Help: Can't use string ("Exchange::Account::My") as a HASH ref while "strict refs" in use trying to use instance variables in my handler

2001-02-06 Thread Christopher L. Everett
This is my code: ## ## Exchange::Account::My - Account Admin module for the Banner Exchange ## package Exchange::Account::My; use strict; use Apache; use Apache::Request; use Apache::Constants qw( :common REDIRECT ); use Apache::Cookie; use DBI; use Data::Dumper; use MD5; my $debug_level = 3;