Re: Do all apache childs create persistant mysql connections?

2002-10-18 Thread Victor Tsang
> 1) We have no idea why this happens at that particular time. There are > no crons that run then, and we think have a finite ammount of users > accessing the system who do not do anything different at the time the > spike happens. The site is public though, so perhaps spiders could be > doing this

Re: How would you organize custom logging?

2002-10-09 Thread Victor Tsang
Instead of developing something new, how about extending the combined/common log format? That what I'm doing in my place, where we have to store a few extra bits of info so to make the log more useful for debugging, I added a little routine in my startup.pl, to setup a few additional env varia

Re: Memory usage option in Apache::Status

2002-05-14 Thread victor
> ok, next trace to the offending code. Put in your startup.pl: > > use Carp; > $SIG{__DIE__} = \&Carp::confess; > > hopefully nobody redefines $SIG{__DIE__} ok, this is what I get in the error log [Tue May 14 10:38:19 2002] [error] Can't call method "size" on unblessed reference at /usr/l

Re: Memory usage option in Apache::Status

2002-05-14 Thread victor
> > [EMAIL PROTECTED] wrote: > > Hope someone can give me a hand on this, I am having some problem using > > the Memory Usage option in the main menu of Apache::Status. > > > > It always return me a 500 with the following error. > > > > [Tue May 14 08:48:21 2002] [error] Can't call method "size"

Re: unable to use method type handlers?

2002-05-14 Thread victor
Try per load the class my::class via startup.pl or PerlModule Tor. Jeff AA wrote: > > Whenever I try to set up a method type handler > > PerlHandler my::classes->mymethod > > I get the following in the error log: > > Undefined subroutine &my::classes->mymethod::handler called. > > usin

Memory usage option in Apache::Status

2002-05-14 Thread victor
Hope someone can give me a hand on this, I am having some problem using the Memory Usage option in the main menu of Apache::Status. It always return me a 500 with the following error. [Tue May 14 08:48:21 2002] [error] Can't call method "size" on unblessed reference at /usr/lib/perl5/site_perl

Re: Security of a modperl enabled site

2002-03-19 Thread victor
Try this. http://www.snert.com/Software/mod_throttle/ Tor. fred wrote: > Hi, > > I am in front of a security issue. We are running several site using > modperl. Last days, a hacker used a script to call some script of our sites > for bad purpose. He needed to be authenticated, but we are only

Help with tuning mod_perl under freebsd

2002-02-20 Thread victor
I'm having some trouble tuning startup.pl under FreeBSD, under linux, I can easiler figure out how well my startup.pl works by looking at the value RSS and SHARE in Top, but in freebsd the value SHARE is missing and I'm unable to find any alternative index that indicate how the startup.pl benefit

Re: [OT] Re: DB_File needs compatible versions

2001-10-02 Thread victor
I have seen this one before, you will have to recompile DB_File.pm. Maybe someone can shade some light of why this happen, anyways here's how I fix it. 1) I changed the symlink of db.h under /usr/include (btw, I'm using redhat 7.1) and point it to db2/db.h i.e. lrwxrwxrwx1 root root

Re: Apache::DBI

2001-10-02 Thread victor
Are you using redhat 7.1? Tor. Markus Linke wrote: > Hi, > > we have a problem with Apache::DBI ... after activating it in httpd.conf > the server-start fails when using Apache::DBI. > > The installation of mod_perl and mod_ssl brought up no error messages. > > Perl itself works fine > Perl DBI

Re: simple question

2001-06-22 Thread victor
This might help, in you httpd.conf file set this PerlSendHeader Off Tor. Michael wrote: > when using mod perl to return plain text to the client how does one > "send" without any headers in the response stream?? > > $r->send_fd(F) > > works fine for files, but how do you do it for dynamicall

Re: Installing new modules via CPAN?

2001-03-29 Thread Victor Michael Blancas
On Thu, 29 Mar 2001, Bolt Thrower wrote: > I've got a working mod_perl installation on a Linux 2.2.14 / > Apache/1.3.17 (Unix) mod_perl/1.25 / perl 5.005_03 machine. I'm trying > to install Apache::AuthCookieDBI via my CPAN shell, and I keep getting > errors of the sort: > > Can't locate object

Apache::Session::Postgres Segmentation Fault Addendum

2001-03-29 Thread Victor Michael Blancas
I'm using Apache::Session::Postgres with Apache::ASP. I'm getting a Segmentation Fault whenever I do a $dbh->disconnect at the end of the script. When I comment out the the $dbh->disconnect however, I don't get any errors. Having a script without a $dbh->disconnect at the end is wrong isn't it.

Apache::Session::Postgres Segmentation Fault

2001-03-29 Thread Victor Michael Blancas
I'm using Apache::Session::Postgres with Apache::ASP. I'm getting a Segmentation Fault whenever I do a $dbh->disconnect at the end of the script. When I comment out the the $dbh->disconnect however, I don't get any errors. Having a script without a $dbh->disconnect at the end is wrong isn't it.

Re: ASP / Apache

2001-03-28 Thread Victor Michael Blancas
I've been using Apache::ASP for our clients for more than a year already. Check out www.alumni.net, it's one of our biggest clients, all pages are dynamic, database backend is Oracle via DBI. I'm planning to implement a DBI session management integrated with Apache::ASP, much like how Apache::Ses

LimitRequestBody

2001-03-19 Thread Victor Michael Blancas
The httpd documentation says that the default LimitRequestBody configuration is 0. However, i'm only able to upload files of size less than 1.0MB. Any ideas, thanks. -- Mike

Apache::ASP FileUploadMax

2001-03-19 Thread Victor Michael Blancas
I've set FileUploadMax to 50 but I'm still am able to upload files bigger. Do I have to put this directive within a Apache Directive. -- Mike

Re: Sessions on win 32

2001-02-07 Thread Victor Michael Blancas
have u tried Apache::ASP by Joshua Chamas. It has a nice Session and Application state management. On Wed, 7 Feb 2001, harilaos wrote: > Hello, > I have searched everywhere but there is documentation on > how to implement Apache::Session on windows. > Has anyone done this? Please point me to re

Re: Reading email with mod_perl

2001-02-07 Thread Victor Michael Blancas
use the module MIME-tools. On Wed, 7 Feb 2001, Jason Terry wrote: > Does anybody have an information on how to read a MIME encoded email attachment with >mod_perl? > -- Mike

Re: Issuing rollback() for database handle being DESTROY'd

2000-12-28 Thread Victor Michael Blancas
> I recently noticed some strange error messages in my error_log. This is > from animelyrics.com, which uses Apache::ASP and MySQL. > > Issuing rollback() for database handle being DESTROY'd without explicit > disconnect() at (eval 9) line 22. > > The above line keeps repeating over and over in th

Re: Problem with single quote ' character

2000-11-15 Thread Victor Michael D. Blancas
> > Hi Rodney, thanks very much for your reply. I'm trying it now, but I'm doing > > something wrong. Here's what I have, could you take a look at it? > > > > #parse query string and enter into database if query string exists > > > > my $authors = $query{'authors'}; > > my $title = $query{'title

RE: need AuthName error

2000-11-08 Thread Victor Michael Blancas
> Yep. Same "problem" here. I've been tearing my hair out trying to figure > where that error message is coming from > > No problems with Apache/1.3.12 and nod_perl/1.23 > the problem only appears for files handled by Apache::ASP. -- Mike

need AuthName error

2000-11-08 Thread Victor Michael Blancas
Has anybody experienced something like this in their error log [(date)] [error] [client (client's ip)] need AuthName: (filename) But the pages are served without errors. Using mod_perl 1.24_01 on Apache 1.3.14 Apache::ASP -- Mike

Re: Does anyone know of a Hello World program for mod_perl andApache::ASP

2000-09-13 Thread Victor Michael D. Blancas
On Wed, 13 Sep 2000, Jason wrote: > I need a simple script that will test to see if these are working on my > server. > > > Visit the Apache::ASP homepage, there are a lot of examples there including the httpd.conf modification you may need.

Re: How can I tell if Apache::ASP is available?

2000-09-13 Thread Victor Michael D. Blancas
> This is the output of my httpd -l command .. how can I tell if Apache::ASP > is available? you can't from http -l. Apache::ASP is not an apache module but a perl module. try 'perldoc Apache::ASP' if you see the documentation then Apache::ASP was properly installed. another thing, you will not

Re: Question on installation and location of httd.conf file.

2000-09-12 Thread Victor Michael D. Blancas
Mike On Tue, 12 Sep 2000, Jason wrote: > Hi .. I hope someone can help me with this problem. > > I've been assigned to install Apache::ASP and mod_perl so that one of our > client's can use a program called Hyperseek. > > My biggest problem is that I'm not very familiar with the server or t

Re: Benchmarking utlis?

2000-09-12 Thread Victor Michael D. Blancas
try the Benchmark module, it comes with the perl distribution and the apache benchmark utility ab in the apache binaries. Mike On Tue, 12 Sep 2000, Pramod Sokke wrote: > Hi all, > > Are there any benchmarking utilities/guidelines that I can use to prove the >performance boost with mod_perl?

Is there any support for `convert` utility

2000-07-26 Thread Victor Eryomenko
Is there any support for `convert` utility (i.e. function) in Perl? If no how can I perform system call of `covert` from inside mod_perl? Victor Eryomenko http://Ricardo.ch <mailto:[EMAIL PROTECTED]>

Re: Apache::ASP Question

2000-07-24 Thread Victor
So to move a page written in VB to unix, I'd need something like ChilliSoft ? Vivek Khera wrote: > >>>>> "V" == Victor <[EMAIL PROTECTED]> writes: > > V> I also wanted a clarification of ASP. As I understand it, ASP is M$'s > V> versi

Apache::ASP Question

2000-07-24 Thread Victor
platforms does Apache::ASP run on? I also wanted a clarification of ASP. As I understand it, ASP is M$'s version of VB that runs in a way similar to how php does? Is ASP a language or ... ? Does Apache::ASP support the vb syntax ? Thanks for any input. Victor

Re: Cleaning up

2000-02-02 Thread Victor Zamouline
all number of rows, >but occasional the number of rows returned may be large. Maybe there is yet a better way to handle it, but what I do is stock it in a lexical variable in a subroutine: sub x { my $x = ... } There was however a discussion on memory leaks in such cases, or did I miss the final conclusion? Victor.

Re: runaway httpd processes

2000-02-01 Thread Victor Zamouline
per day, uses Apache::Session to get behind-the-cookie data on **every single request** landing on my site. Million thanks for having made it possible. Victor.

Re: Newbie Question

2000-02-01 Thread Victor Zamouline
major ambitions. Try to define what your application's ambition first of all, then look for corresponding guidelines in that document. Victor.

Re: Strange problems.

2000-01-30 Thread Victor Zamouline
>But sometimes, I can use the viariables, sometimes >they are null. (I use reload in my browser) Every time you hit Reload, a different Apache child handles your request. A very good way to understand the Apache model is to read the "Writing Apache modules with Perl and C" book, from O'Reilly and

Re: How do you handle simultaneous/duplicate client requests with modperl?

2000-01-20 Thread Victor Zamouline
>If the processing status >is "in progress" Be careful if you expect the "in progress" status change to "done". If an error happens and the status never switches to "done", the session ID will remain forever "in progress" and a second attempt of the same request will be refused by your own applic

RE: Unloading a library

1999-12-10 Thread Victor Zamouline
ut into lexical variables, at the end of each subroutine call. Victor. >> Behalf Of Matt Sergeant >> >> How can I completely unload a library and all memory >> associated with it, >> and unload any dso's connected with that library? For >> example, sa

Name / brand - decision?

1999-12-06 Thread Victor Zamouline
Hi folks, After Nick's message, we don't not seem to have reached any common decision whether we should continue the name/brand thread, which we started after: 1) Stas was congratulated on the annivesary of The Guide. 2) A discussion concerning "spreading the word" and "need in mod_perl programm

Name / brand overview version 2

1999-12-05 Thread Victor Zamouline
lding, with mod_perl inscribed on a brass plaque, proposed by John Burns. == 2. Known graphic resources == 2.1. Various eagles and other birds, depository maintained by Victor Zamouline. http://www.jazzvalley.com/modperl/symbols/index.html Selected by

Re: mod_perl Programmers demand is going up...

1999-12-04 Thread Victor Zamouline
Gunther Birznieks wrote: > You don't have to be top 15th percentile VB or top 15th percentile Java to > write ASPs or Servlets respectively. Although for servlets, I would say > top 50th at least if you don't want a completely crappy OO servlet > architecture. I have organized a series of pers

Re: Logo / brand

1999-12-04 Thread Victor Zamouline
>Eagle on top of camel and the Apache feather somewhere in a middle... >probably too complicated for a small scaled logo... I am afraid, yes. We have not yet reached any opinion on whether the logo should represent a "bridge" or an "independent product". In the case of an "independent product",

Name: overview

1999-12-04 Thread Victor Zamouline
Let me overview the propositions that have been made: 1) Eagle, proposed by Ged Haywood. Copyrighted by O'Reilly, but it looks like this problem can be solved. 2) Hedgehog, proposed by Stas Bekman. 3) Oyster, proposed by Randy Harmon 4) Mythical beast with the head of an eagle and the body of a c

Re: Logo / brand

1999-12-04 Thread Victor Zamouline
I have browsed my graphic libraries and put some eagles and other birds at: http://www.jazzvalley.com/modperl/symbols/index.html I am not a graphist, but those willing to make a sketch of a logo (assuming there is an eagle on it) may use some of that stuff. No idea about any copyright of these

Re: Logo / brand

1999-12-03 Thread Victor Zamouline
>"The association between the image of a white-tailed eagle and the >topic of Apache modules is a trademark of O'Reilly & Associates." The association between Camel and Perl is also O'Reilly's trademark, yet we see a camel on www.perl.com, right? Vic.

Re: Logo / brand

1999-12-03 Thread Victor Zamouline
>"The association between the image of a white-tailed eagle and the >topic of Apache modules is a trademark of O'Reilly & Associates." So it is either a question of getting O'Reilly's authorization, or abandonning the eagle idea. Stats proposed a hedgehog. John Burns proposed a red brick base of

Logo / brand

1999-12-03 Thread Victor Zamouline
>Talking about "let's do something" topics on the mod_perl list is a waste >of time, unfortunately... The motto of this list regarding new things is >"think it, implement it and give it"... This is somewhat too straightforward, Stas. Look - I only suggested there should be another name and anoth

Re: mod_perl Programmers demand is going up...

1999-12-03 Thread Victor Zamouline
To my opinion, out of the responses to a definition of a "mod_perl experience", two are worth emphasizing: 1. Perl programming style with mod_perl techniques in mind 2. Abstraction from standard CGI constraints and high stakes on mod_perl's features unavailable in vanilla CGI There should be a d

Re: mod_perl Programmers demand is going up...

1999-12-03 Thread Victor Zamouline
>Maybe what we need is some open enrollment courses I can organize that in France, I am in direct communication with all French computer training companies. Vic.

Re: LWP vs Netscape

1999-12-03 Thread Victor Zamouline
>> http://www.volunteermatch.com/results/results.jtmpl?zip=5&radius=60&when =30&ongoing=b&category=Everything&submit=Search > >I don't, I get the search form. Using IE5 on Win98. Same. A search form, using IE4 on Win98. Vic.

Re: mod_perl Programmers demand is going up...

1999-12-03 Thread Victor Zamouline
>-Message d'origine- >De : Robin Berjon <[EMAIL PROTECTED]> >There are a few logos on the site, and we can add some more (I don't know >if we would manage to agree on one, though it'd give a stronger sense of >"brand"). Right. This talk is about a commercial success. The /perl.apache.o

Re: mod_perl Programmers demand is going up...

1999-12-03 Thread Victor Zamouline
>Now the question is: if this is truth and you feel the same way, how do we >make the world know that there is a great demand for mod_perl programmers >and that people should learn mod_perl and not the stright-forward choice >like VB, ASP or other technology that drives the web? Great sites usin

Re: Happy Birthday mod_perl Guide

1999-12-03 Thread Victor Zamouline
>according to the mailing list archives, the Guide was first announced on >03/12/1998 so it makes a year now ! Many kudos to Stas and to all that have >participated (the list is *long*), as well as many thanks. LOTS OF THANKS to Stas and to all contributors!!! I still carry the full printed vers

Re: Query/Parse/Format/Display ?

1999-12-02 Thread Victor Zamouline
t it and send to the browser ? Once you get the data structure, you just format it anyway you want. Victor.

Re: Perl Domination in CGI Programming

1999-11-03 Thread Victor Zamouline
titor for clever and ambitious projects. Victor.

Re: Using Win32+Apache+mod_perl+ASP

1999-10-29 Thread Victor Zamouline
d Apache on Win32 was seamless. Compiling ModPerl crashed on the last instruction in the readme, but the ModPerl guys quickly pointed out the right solution to me. All that compiles on WinNT, not on Win95/98. Victor.

Re: Any help showing examples of database only web site w/mod_perl/my sql

1999-10-26 Thread Victor Zamouline
complete explanations on how translation handlers work, thanks to Eric Cholet who pointed me to the right direction. Victor.

Re: W32 + Apache::DBI ?

1999-10-26 Thread Victor Zamouline
> Anyone having this problem can also fix it by adding this line to the top > of the END block (around line 311): > return unless defined &DBI::trace_msg; # return unless bootstrap'd ok If this works, it seems to be the easiest solution. Thank you Tim. Victor.

Re: W32 + Apache::DBI ?

1999-10-26 Thread Victor Zamouline
> and it work when I compile mod_perl with PERL_STARTUP_CHECK_DONE (see my > previous mail). Without compiling with PERL_STARTUP_DONE_CHECK, apache exits > shortly after it has started. So where were you in early September when I posted the problem, Gerald? :)))) Victor.

Re: W32 + Apache::DBI ?

1999-10-26 Thread Victor Zamouline
d to me on the DBI mailing list, Tim. However, at the time of that test, I was using: DBI 1.13 ApacheDBI 0.85 ModPerl 1.21 Apache 1.3.9 Perl 5.005_03 built for MSWin32-x86 I still have that machine, and I will willingly re-do the tests if anybody wishes to join the discussion. Victor.

Re: W32 + Apache::DBI ?

1999-10-26 Thread Victor Zamouline
would probably not need it. :))) The author of Apache::DBI recommended me to upgrade, but I WAS using all the latest versions. I definitely have an impression that there are not enough folks in the "W32 + Apache::DBI" community, so you just have to rely upon your own debugging skills. Victor.