Re: Apache.pm failed to LOAD!

2000-05-03 Thread Doug MacEachern
On Wed, 3 May 2000, Wang, Pin-Chieh wrote: > Hi, > I build the apache1.3.12 using mod_perl 1.23 on Solaris 2.6 machine, > everything looks fine and installed successfully (at least the installation > program told me so...) > But when I start httpd using apachectl start, httpd did not start within

locus.apache.org hacked by white hats; FTP down for good, bugzilladown until audited.

2000-05-03 Thread Brian Behlendorf
Hi. We have been made aware (thanks to a very humorous banner ad for Microsoft Back Office on the front of www.apache.org!) that our particular configuration on www.apache.org of ftpd and bugzilla opened a security hole that allowed someone from the outside to get a shell account, and then get r

Re: Can't use Apache::exit() in command-line scripts

2000-05-03 Thread Doug MacEachern
On Wed, 3 May 2000, Franco Finstad wrote: > I have a large modperl site with modperl (CGI) scripts and command-line perl > scripts. > > My command line scripts load modules (.pm files) that use Apache::exit(). > This is giving me the following errors: > > ** > Bareword "

Re: Modperl/Apache deficiencies... Memory usage.

2000-05-03 Thread Doug MacEachern
On Wed, 3 May 2000 [EMAIL PROTECTED] wrote: > So what you want is something more general, climbs through the symbol > table and can register callbacks for various things, right? One of right. > which, the area I'm most interested in, is the PADLIST? Well, that's same here! > certainly some

Re: Why does $r->print() dereference its arguments?

2000-05-03 Thread Doug MacEachern
On Wed, 3 May 2000, Jeffrey W. Baker wrote: > Apache::print() dereferences its arguments. For example, this code: > > my $foo = "bar"; > $r->print(\$foo); > > prints "bar" instead of the expected SCALAR(0xDEADBEEF). Can anyone > explain the purpose of this behavior, or is it a misfeature? In

Re: Two problems with sections...

2000-05-03 Thread Doug MacEachern
On Wed, 3 May 2000, Robert S. Thau wrote: > then everything works as expected. My problems are: > > 1) If the ServerAdmin line is uncommented, then the server dumps >core on startup. Backtrace included below. this is fixed now in the cvs tree, with the patch below. > 2) If I comment th

Re: Modperl/Apache deficiencies... Memory usage.

2000-05-03 Thread shane
> what i'd really like to see is a generic symbol table walker (written in > c), where you can register callbacks foreach symbol type (SVt_*). then > once you hit an SVt_PVCV, there can be any number of registered callbacks > that fiddle with the padlist (cleaner, reporter, etc.) So what you wan

RE: $r->get_handlers bug/oversight? (possible fix)

2000-05-03 Thread Doug MacEachern
On Tue, 2 May 2000, Geoffrey Young wrote: > ok, for anyone who is interested, I seem to have fixed the problem > (maybe)... > > here's a patch for Apache.xs from yesterday's cvs (and I didn't see any > commits since then...) > > --- Apache.xs.old Tue May 2 14:25:09 2000 > +++ Apache.xs

Re: Cookies and redirection

2000-05-03 Thread Doug MacEachern
On Tue, 2 May 2000, Bill Desjardins wrote: > Hi all, > > I checked the archives and the guide to no avail, so here goes. I am > having trouble setting a cookie in the header and then doing a > redirect. The cookies are working fine every where, but if I add a cookie > to $r->headers_out->add(),

Re: mod_perl httpd binary suddenly stops working

2000-05-03 Thread Doug MacEachern
On Mon, 1 May 2000, James Olsen wrote: > Hello, > > I have a mod_perl/apache binary and configuration file that I've been using > successfully since October of last year. > > Last week I ran out of disk space (and might possibly have had the server > flake out over the CPU overheating). Every

Re: Apache::Registry and clearing package name space

2000-05-03 Thread Doug MacEachern
On Mon, 1 May 2000, Richard Chen wrote: > Hello, > I am having a problem clearing variables and aliases > in a temporary package name space. The source of the problem > is in making legend cgi scripts work under Apache::Registry. > But the problem can be isolated and shown by the following

Re: PerlAddVar ?

2000-05-03 Thread Doug MacEachern
On Mon, 1 May 2000, Stas Bekman wrote: > That [the name] would be confusing. How about: not if you think of it in terms of an apache table: PerlSetVar => ap_table_set PerlAddVar => ap_table_add

Re: PerlAddVar ?

2000-05-03 Thread Doug MacEachern
On Mon, 1 May 2000, Matt Sergeant wrote: > It would be nice, in my opinion, to have some way of doing: > > PerlAddVar Fred "Value 1" > PerlAddVar Fred "Value 2" > > And then in your script: > > my @values = $r->dir_config('Fred'); > > which gets ("Value 1","Value 2") in @values. > > Any thou

Re: Help - Install mod_perl-1.23

2000-05-03 Thread Doug MacEachern
On Fri, 28 Apr 2000, James Xie wrote: > Helllo, > > I recently downloaded Apache_1.3.12 and installed it on Redhat 6.1, > everything was working fine. I run into problems when I tried to install > mod_perl-1.23. Everything was compiled ok, but I got error messages (see > below) when I try to run

Re: Install probs.

2000-05-03 Thread Doug MacEachern
On Fri, 28 Apr 2000, Dominic Blythe wrote: > please reply to [EMAIL PROTECTED] as i'm not on the list... > > on Corel Linux (which is Debian slink)... > > I'm compiling mod_perl into apache 1.3.xx (19 i think) and all the mod_perl > make, make install goes ok. APACI ./configure is fine too, but

Re: libapreq and select multiple?

2000-05-03 Thread Doug MacEachern
On Thu, 27 Apr 2000, Jim Winstead wrote: > On Apr 27, Jim Winstead wrote: > > Is it just me, or does libapreq not handle the response from > multiple> correctly? It appears to only make one of the values > > accessible. > > > > From what I can tell, this appears to go all the way down to the >

Re: php And Apache::ASP

2000-05-03 Thread Doug MacEachern
On Thu, 27 Apr 2000, Jerrad Pierce wrote: > [Thu Apr 27 06:14:07 2000] [error] [asp] [2726] cannot load Apache::Symbol > for UndefRoutine: Can't locate Devel/Symdump.pm in @INC (@INC contains: why does Apache::ASP use Apache::Symbol::undef? that hack should be obsolete, as it was only need to a

Re: Trouble compiling mod_perl

2000-05-03 Thread Doug MacEachern
On Thu, 27 Apr 2000, Jean-Sebastien Morisset wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > I first tried to compile mod_perl-1.22 using APXS, but whenever I would > load the module, the Apache child would die. > > Here's the command line I used: > > perl Makefile.PL NO_HTTPD=1 E

Re: mod_perl-1.99_01-dev

2000-05-03 Thread Doug MacEachern
On Thu, 27 Apr 2000, Stas Bekman wrote: > On Tue, 25 Apr 2000, Doug MacEachern wrote: > > > On Fri, 21 Apr 2000, Greg Cope wrote: > > > > > Does this mean that we {will|may} be able to use the interpreter pool to > > > set up X Perl interpreters (say 20 to service dynamic handlers) with Z > >

Re: ANNOUNCE: Apache-TicketAccess 0.10

2000-05-03 Thread Doug MacEachern
On Wed, 26 Apr 2000, Ken Williams wrote: > > > >Maybe Apache::AuthTicket? > > That sounds pretty good to me. It's a nice choice if you decide to make > it a subclass of Apache::AuthCookie too. second that!

Re: Apache::VMonitor not loading..

2000-05-03 Thread Doug MacEachern
On Wed, 26 Apr 2000, Alex Krohn wrote: > Hi! > > I'm trying to get Apache::VMonitor to load on a new mod_perl 1.23/Apache > 1.3.12/perl 5.005_03 installation. mod_perl is up and running fine, > however I can't get Apache::VMonitor working. If I add > [Wed Apr 26 16:13:45 2000] [error] Can't lo

Re: 2.0 wishlist: consistent API and docs

2000-05-03 Thread Doug MacEachern
On Wed, 26 Apr 2000, raptor wrote: > What about a Apache2::XXX namespace for the new modules ...??! > just asking. not quite, but there's a MP_INST_APACHE2=1 Makefile.PL attribute which will install everything relative to an Apache2/ subdirectory. this way 1.xx mod_perl and 2.xx can co-exist in

Templates.

2000-05-03 Thread Jason C. Leach
hi, I'm looking for some good ideas on developing web sites w/ mod_perl. One think we were looking at was to write template HTML pages, and run them through a perl prg to replace home made tags w/ data. Another was to write an apache mod that will contain/load the HTML on the first hit and cach

Re: Modperl/Apache deficiencies... Memory usage.

2000-05-03 Thread Doug MacEachern
On Tue, 25 Apr 2000 [EMAIL PROTECTED] wrote: > Let me know when you want the garbage collector. I'll re-write it in > apache style, and add some debugging stuff. I figure there should be > two pieces. One that analyzes the packages that are running, the > other that actually kills off variabl

[ADMINISTRATIVA] digest list (was: mod_perl list issues (was Re: Isthere are secret way to unsubscribe from this mailing list))

2000-05-03 Thread Ask Bjoern Hansen
On Thu, 4 May 2000, Jeremy Howard wrote: [modperl-digest not working] > > oops. It was not working. Now it should be. > > > > You just got a ... uhmn... big ... mail bundle. :) > > No kidding!... > > May 4 00:08:57 fastmail ipop3d[29893]: Moved 7489168 bytes of new mail > to /home/jhoward/mbox

Re: Why does $r->print() dereference its arguments?

2000-05-03 Thread Gunther Birznieks
At 11:56 AM 5/3/00 -0700, Jeffrey W. Baker wrote: >On 3 May 2000, Chip Turner wrote: > > > "Jeffrey W. Baker" <[EMAIL PROTECTED]> writes: > > > > > Apache::print() dereferences its arguments. For example, this code: > > > > > > my $foo = "bar"; > > > $r->print(\$foo); > > > > > > prints "bar" ins

Re: Apache.pm failed to LOAD!

2000-05-03 Thread Jeff Beard
Did it pass 'make test'? And, not meaning to insult, did you run 'make install' in the mod_perl directory? --Jeff At 07:01 PM 5/3/00, Wang, Pin-Chieh wrote: >Hi, >I build the apache1.3.12 using mod_perl 1.23 on Solaris 2.6 machine, >everything looks fine and installed successfully (at least the

Re: Can't use Apache::exit() in command-line scripts

2000-05-03 Thread Jeff Beard
You should post the code in question. Your message isn't very clear but if I was to guess, you're trying to run a regular ol' command line Perl script under Apache::Registry which has more than a few caveats. --Jeff At 04:00 PM 5/3/00, Franco Finstad wrote: >I have a large modperl site with mo

Apache.pm failed to LOAD!

2000-05-03 Thread Wang, Pin-Chieh
Hi, I build the apache1.3.12 using mod_perl 1.23 on Solaris 2.6 machine, everything looks fine and installed successfully (at least the installation program told me so...) But when I start httpd using apachectl start, httpd did not start within error_log there is a message "Apache.pm failed to LOA

Can't use Apache::exit() in command-line scripts

2000-05-03 Thread Franco Finstad
I have a large modperl site with modperl (CGI) scripts and command-line perl scripts. My command line scripts load modules (.pm files) that use Apache::exit(). This is giving me the following errors: ** Bareword "Apache::exit" not allowed while "strict subs" in use at as/

Re: Upload file

2000-05-03 Thread Andreas Grupp
Am 3 May 2000, um 15:14, hat Srinidhi Rao S folgendes geschrieben: > Hi all, > I am new to perl programming. I am working in a project where I need to > upload some files in a web interface. I used HTML file upload object with > POST method. My question how do I receve the uploded

Configuring Apache with sections - how to do custom access log?

2000-05-03 Thread James Olsen
Hello everyone, I have quite a few virtual hosts on my Apache server. I'm trying to implement their configuration in PERL sections instead of the current method bunch of directives. I use the "combined" transfer log, previously defined like this: TransferLog /path/to/logcombi

Re: search engine for the Guide (was Re: Why does $r->print()...)

2000-05-03 Thread Matt Sergeant
On Wed, 3 May 2000, Stas Bekman wrote: > Yeah, I've been thinking about it. There was one site that has offered me > to provide a good search engine and they did, but the problem is that they > didn't keep up with new releases, so people were searching the outdated > version, which is quite bad -

search engine for the Guide (was Re: Why does $r->print()...)

2000-05-03 Thread Stas Bekman
> > > Stas Bekman wrote: > > > the guide is getting so big these days, it's hard to keep up with all the > > > new developments. Or maybe that entered a few versions ago :) It's along > > > way from the mini-guide that got me started... > ___cliff rayman___ wrote: > any thoughts on creating a

PPM for DBD::mysql

2000-05-03 Thread Erich L. Markert
I recall someone posting a note about a PPM for DBD::mysql. Can someone please post that location again? Muchos gracias. -- __ Mr. Erich L. Markert [EMAIL PROTECTED] Computer Learning Center TEL (914)422-

Re: Why does $r->print() dereference its arguments?

2000-05-03 Thread Jeffrey W. Baker
On 3 May 2000, Chip Turner wrote: > "Jeffrey W. Baker" <[EMAIL PROTECTED]> writes: > > > Apache::print() dereferences its arguments. For example, this code: > > > > my $foo = "bar"; > > $r->print(\$foo); > > > > prints "bar" instead of the expected SCALAR(0xDEADBEEF). Can anyone > > explain

RE: Why does $r->print() dereference its arguments?

2000-05-03 Thread Geoffrey Young
> -Original Message- > From: Stas Bekman [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, May 03, 2000 2:23 PM > To: Geoffrey Young > Cc: mod_perl list > Subject: RE: Why does $r->print() dereference its arguments? > > > > > -Original Message- > > > From: Stas Bekman [mailto:[EMAI

RE: I did have the same trouble...

2000-05-03 Thread James Xie
Just tried, didn't work. James -Original Message- From: FEITO Nazareno [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 03, 2000 11:10 AM To: 'James Xie' Cc: '[EMAIL PROTECTED]' Subject: I did have the same trouble... first... before run make test you have to be sure that httpd isn´t

RE: Why does $r->print() dereference its arguments?

2000-05-03 Thread Stas Bekman
> > -Original Message- > > From: Stas Bekman [mailto:[EMAIL PROTECTED]] > > Sent: Wednesday, May 03, 2000 2:07 PM > > To: Geoffrey Young > > Cc: mod_perl list > > Subject: RE: Why does $r->print() dereference its arguments? > > > > > > On Wed, 3 May 2000, Geoffrey Young wrote: > > > > >

RE: am I the only one having this problem!

2000-05-03 Thread James Xie
Don't I have to run the make test first? Here is the procedure I used to build the stuff: 1. perl Makefile.PL APACHE_SRC=../apache_1.3.12/src DO_HTTPD=1 USE_APACHE=1 EVERYTHING=1 2. make 3. make test (failed here) I didn't try to start it manually. I will give it a try!. -Original Messag

RE: Why does $r->print() dereference its arguments?

2000-05-03 Thread Geoffrey Young
> -Original Message- > From: Stas Bekman [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, May 03, 2000 2:07 PM > To: Geoffrey Young > Cc: mod_perl list > Subject: RE: Why does $r->print() dereference its arguments? > > > On Wed, 3 May 2000, Geoffrey Young wrote: > > > interesing behavior

I did have the same trouble...

2000-05-03 Thread FEITO Nazareno
first... before run make test you have to be sure that httpd isn´t running... write this at console: killall httpd make test and make test have to result succesfully, try it... i think that is the solution... Nazarenowww.obsequie.com Perl Programmer. [EMAIL PROTECTED]

RE: Why does $r->print() dereference its arguments?

2000-05-03 Thread Stas Bekman
On Wed, 3 May 2000, Geoffrey Young wrote: > interesing behavior - print behaves the same way... http://perl.apache.org/guide/porting.html#Apache_print_and_CORE_print_ Under mod_perl CORE::print() will redirect its data to Apache::print() since the STDOUT filehandle is tied to the Apache module

am I the only one having this problem!

2000-05-03 Thread James Xie
I recently posted a question regarding installing mod_perl-1.23 on Apache_1.3.12, I have not received any answer yet. I'm wondering if I'm the only one who had this problem. I searched through the web but cannot find any answers. I thought the test was failed because the system was not connect

RE: Why does $r->print() dereference its arguments?

2000-05-03 Thread Geoffrey Young
interesing behavior - print behaves the same way... however, when you concat the reference to another scalar things work right... $r->print($foo.\$foo); yields: fooSCALAR(0xXWHOOPSX) --Geoff > -Original Message- > From: Jeffrey W. Baker [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, Ma

Re: Why does $r->print() dereference its arguments?

2000-05-03 Thread Randal L. Schwartz
> "Jeffrey" == Jeffrey W Baker <[EMAIL PROTECTED]> writes: Jeffrey> Apache::print() dereferences its arguments. For example, this code: Jeffrey> my $foo = "bar"; Jeffrey> $r->print(\$foo); Jeffrey> prints "bar" instead of the expected SCALAR(0xDEADBEEF). Can anyone Jeffrey> explain the pur

Re: Why does $r->print() dereference its arguments?

2000-05-03 Thread Chip Turner
"Jeffrey W. Baker" <[EMAIL PROTECTED]> writes: > Apache::print() dereferences its arguments. For example, this code: > > my $foo = "bar"; > $r->print(\$foo); > > prints "bar" instead of the expected SCALAR(0xDEADBEEF). Can anyone > explain the purpose of this behavior, or is it a misfeature?

Re: Why does $r->print() dereference its arguments?

2000-05-03 Thread Stas Bekman
On Wed, 3 May 2000, Jeffrey W. Baker wrote: > Apache::print() dereferences its arguments. For example, this code: > > my $foo = "bar"; > $r->print(\$foo); > > prints "bar" instead of the expected SCALAR(0xDEADBEEF). Can anyone > explain the purpose of this behavior, or is it a misfeature? In

Re: hey I have a question

2000-05-03 Thread Rodney Broom
- Original Message - From: "FEITO Nazareno" <[EMAIL PROTECTED]> I have a question too, what opperating system is this on? Rodney

RE: hey I have a question

2000-05-03 Thread FEITO Nazareno
I do the same thing, but my memory is out in a little while... the error_log begin to send me out of memory!!! any idea? Nazarenowww.obsequie.com

Why does $r->print() dereference its arguments?

2000-05-03 Thread Jeffrey W. Baker
Apache::print() dereferences its arguments. For example, this code: my $foo = "bar"; $r->print(\$foo); prints "bar" instead of the expected SCALAR(0xDEADBEEF). Can anyone explain the purpose of this behavior, or is it a misfeature? In my case, this is not the desired behavior. -jwb

Re: Hi ppl need some help

2000-05-03 Thread Joe Pearson
I've noticed that my httpd's will start thrashing whenever I get an syntax error in a mod_perl program.I'm very careful to do a perl -c program before I try running it from the web or else I will need to stop/start the web server. Joe Pearson Database Management Services, Inc. 208-384-1311 e

RE: Apache::DBI

2000-05-03 Thread Geoffrey Young
> -Original Message- > From: Jim Serio [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, May 03, 2000 10:02 AM > To: [EMAIL PROTECTED] > Subject: Apache::DBI > > > I'm not sure if this is even a problem but it's always > been on my mind. I use Apache::DBI and I have a general > module that

Re: hey I have a question

2000-05-03 Thread Bruce W. Hoylman
> "FEITO" == FEITO Nazareno <[EMAIL PROTECTED]> writes: FEITO> Make httpd from mod_perl or make prep_httpd and then make FEITO> httpd from apache? I hope you understand my question. Using APACI, I've 'made' Apache from mod_perl without fail for quite awhile now. I do not do DSO ho

hey I have a question

2000-05-03 Thread FEITO Nazareno
What´s better? Make httpd from mod_perl or make prep_httpd and then make httpd from apache? I hope you understand my question. Nazarenowww.obsequie.com

Re: Apache::DBI

2000-05-03 Thread Jim Serio
> Are you sure it's not: > Opening connections with different parameters > http://perl.apache.org/guide/databases.html#Opening_connections_with_differe Oops. I forgot I had two seperate db accesses on this particular page and running with $Apache::DBI::DEBUG = 1 clued me in. So am I correct in

Re: Apache::DBI

2000-05-03 Thread Stas Bekman
On Wed, 3 May 2000, Jim Serio wrote: > I'm not sure if this is even a problem but it's always > been on my mind. I use Apache::DBI and I have a general > module that handles db connections for my scripts. Here's > the relevant portion: > > my $DBH ||= DBI->connect("...") > > It basically accept

Apache::DBI

2000-05-03 Thread Jim Serio
I'm not sure if this is even a problem but it's always been on my mind. I use Apache::DBI and I have a general module that handles db connections for my scripts. Here's the relevant portion: my $DBH ||= DBI->connect("...") It basically accepts a hash ref to the dbconfig and opens a connection. M

Hi ppl need some help

2000-05-03 Thread FEITO Nazareno
Hi ppl, my home webserver still eating all the memory, it swap very much, the disk light is On all the time and the system almost freeze until I stop the webserver... here are some parameters of my configuration Timeout 150 keepalive on MaxKeepAliveRequest 70 keepAliveTimeout 15 minspareserve

Two problems with sections...

2000-05-03 Thread Robert S. Thau
Hi. I'm having two problems with sections --- one resulting in a server coredump, and the other just odd. My test configuration is Apache/1.3.12 and mod_perl_1.23 built from distributed sources with: perl Makefile.PL DO_HTTPD=1 USE_APACI=1 EVERYTHING=1 PERL_TRACE=1 APACHE_PREFIX=/opt/softwa

Re[2]: [RFC] modproxy:modperl ratios...

2000-05-03 Thread Ilya Obshadko
Hello Matt, ÷åòâåðã, 27 àïðåëÿ 2000 ã., you wrote: >> doing - and the TCP listen queue will hold a few more >> connections if you are slightly short of backends. MS> Is there any benefit of mod_proxy over a real proxy front end like "Oops"? I don't think so, at least for "accelerator" applicat

RE: how do I use perl sections

2000-05-03 Thread Eric Cholet
> I would like to make a list of ScriptAliases like this > > ScriptAlias "/cgi-xx" "/users/xx/cgi-bin/" > ScriptAlias "/cgi-yy" "/users/yy/cgi-bin/" > > and did this: > > > my $cgi_users = qw(xx yy); > for ($cgi_users) { > push @ScriptAlias, "/cgi-$_", "/users/$_/cgi-bin"; > } > > > but it

how do I use perl sections

2000-05-03 Thread Benedict Lofstedt
I would like to make a list of ScriptAliases like this ScriptAlias "/cgi-xx" "/users/xx/cgi-bin/" ScriptAlias "/cgi-yy" "/users/yy/cgi-bin/" and did this: my $cgi_users = qw(xx yy); for ($cgi_users) { push @ScriptAlias, "/cgi-$_", "/users/$_/cgi-bin"; } but it did not work. What is wrong

Re: Upload file

2000-05-03 Thread Ken Y. Clark
On Wed, 3 May 2000, Srinidhi Rao S wrote: > Hi all, > I am new to perl programming. I am working in a project where I > need to upload some files in a web interface. I used HTML file upload > object with POST method. My question how do I receve the uploded file > on the server side. Is the

Re: [RFC] modproxy:modperl ratios...

2000-05-03 Thread Dave Hodgkinson
Vivek Khera wrote: > > > "DH" == Dave Hodgkinson <[EMAIL PROTECTED]> writes: > > DH> I'm currently arguing about this very thing with my BOFH - I think we > DH> should have, effectively, an SSI apache and a mod_perl apache, he's > > I tend to call mod_perl scripts from my SSI's, so it makes

Upload file

2000-05-03 Thread Srinidhi Rao S
Hi all, I am new to perl programming. I am working in a project where I need to upload some files in a web interface.  I used HTML file upload object with POST method. My question how do I receve the uploded file on the server side.  Is there is any module o call in PERL to do this job

Re: Memory usage on reload and graceful -- still broken?

2000-05-03 Thread Paul Lindner
On Wed, Apr 26, 2000 at 08:33:07PM -0700, Douglas Leonard wrote: > I had the same issue on Linux. My build had mod_perl compiled in static > but mod_so was also compiled in. PerlFreshRestart was off, I didn't have > any sections, and no modules were loaded dynamically. My root > process would