Segfaults with RH6.1, mod_perl, perl 5.6.0, and apache 1.3.12

2000-04-10 Thread Benjamin Reed
I'm getting segfaults with a RedHat 6.1 system. I've tried mod_perl 1.22, as well as a CVS snapshot from today, and I pretty much get the same thing either way. I would appreciate it if anyone could help me out on this, it's driving me nuts. Here's my system: RedHat 6.1 (with all updates) Apac

A better patch for Registry.pm

2000-04-10 Thread Tom Mornini
I missed an opportunity to set $r->notes('error-notes') if there was an error at compile-time. This patch includes both run-time and compile-time patches. *** Registry.pm Tue Mar 14 23:55:28 2000 --- RegistryTom.pm Mon Apr 10 17:45:57 2000 *** *** 127,132 --- 127,133

Apache::Request

2000-04-10 Thread John S. Evans
I'm looking for some help/advice with Apache::Request. I'm currently using Apache::Request to parse the POST that is used to upload a bunch of files to our server. The problem I'm running into is that I seem to be running out of file descriptors over a long period of time, if a large number of f

Apache::Request

2000-04-10 Thread John S. Evans
I'm looking for some help/advice with Apache::Request. I'm currently using Apache::Request to parse the POST that is used to upload a bunch of files to our server. The problem I'm running into is that I seem to be running out of file descriptors over a long period of time, if a large number of f

Re: IPC::Semaphore permission denied question

2000-04-10 Thread Jeffrey W. Baker
On Mon, 10 Apr 2000, Jeff Gleixner wrote: > Been running a mod_perl/Mason enabled server for a while, now I want to > change the owner of the process to "www", from "nobody". In doing so I > get: > > Permission denied at > /usr/local/lib/perl5/site_perl/5.005/Apache/Session/SysVSemaphoreLocker

RE: Deprecated warnings in Apache::DBI

2000-04-10 Thread Ken Williams
[EMAIL PROTECTED] (Paul G. Weiss) wrote: >Well if it is lexical shouldn't it suppress the warnings >anyhow? Remember that the 'use' is lexically inside the >BEGIN block where I have the pragma. Yeah, but the line producing the warning isn't, and that's what counts for lexicals. >Any in any case

Re: OT: (sort of) AuthDBMUserFile

2000-04-10 Thread Leslie Mikesell
According to Stas Bekman: > On Mon, 10 Apr 2000, Bill Jones wrote: > > AuthDBMUserFile > > > > Is there a difference between DBM and GDBM? > > I always thought they were the same... > > > > I found sleepcat (DB) and GDBM, but where is DBM? > sleepycat == berkeley db (a product of sleepycat.com)

IPC::Semaphore permission denied question

2000-04-10 Thread Jeff Gleixner
Been running a mod_perl/Mason enabled server for a while, now I want to change the owner of the process to "www", from "nobody". In doing so I get: Permission denied at /usr/local/lib/perl5/site_perl/5.005/Apache/Session/SysVSemaphoreLocker.pm line 46. if (!$self->{sem}) { $self->{

Re: OT: (sort of) AuthDBMUserFile

2000-04-10 Thread Stas Bekman
On Mon, 10 Apr 2000, Bill Jones wrote: > AuthDBMUserFile > > Is there a difference between DBM and GDBM? > I always thought they were the same... > > I found sleepcat (DB) and GDBM, but where is DBM? perldoc GDBM_File: DESCRIPTION GDBM_File is a module which al

Re: Apache::Cookie problems

2000-04-10 Thread Alvar Freude
Hi! > get-cookie.html > -- > <% > use Apache::Cookie; > my $cookie_ref = Apache::Cookie->fetch; > my $conf_cookie = $cookie_ref->{conf}; > my %hash = $conf_cookie->value; ^^^ thats it, now I understand! many thanks, it was too late last nig

A patch for Registry.pm (Against v1.22) (fwd)

2000-04-10 Thread Tom Mornini
Sorry for the repost. I typo'd in the Subject line(!) and I thought that the message might get skipped over. --- Original message Reading through the Handling Errors section of the Eagle book, I was unable to use $ENV{REDIRECT_ERROR_NOTES} to report on errors generated by registry scripts. This

Re: [OT] anchoring regexp

2000-04-10 Thread Devin Ben-Hur
"J. Horner" wrote: > Sorry, it is a Monday. I attached the right file. You're problem is that you have toomuch other junk in addition to the statements you're trying to compare. Also, the strings you're matching against are all so short that you wont see much difference between an anchored and

Re: front end proxy and virtual hosts

2000-04-10 Thread Tom Mornini
On Mon, 10 Apr 2000, Eric Cholet wrote: > The front-end light server, serving static requests and proxying > dynamic requests to a back-end modperl server, is well documented, > except in the case of virtual hosts. How do you do it? Specifically, > do you setup virtual hosts on the backend server

Re: [OT] anchoring regexp

2000-04-10 Thread Devin Ben-Hur
"J. Horner" wrote: > Sorry, it is a Monday. I attached the right file. -- Devin Ben-Hur | President / CTO | mailto:[EMAIL PROTECTED] The eMarket Group | eMerchandise.com | http://www.eMerchandise.com 503/944-5044 x228 | "Where do you want to go today?" "Confutatis maledictis, flammi

A path for Registry.pm (Against v1.22)

2000-04-10 Thread Tom Mornini
Reading through the Handling Errors section of the Eagle book, I was unable to use $ENV{REDIRECT_ERROR_NOTES} to report on errors generated by registry scripts. This patch corrects the problem in a clean, standard Apache way. I don't think this will step on any toes, since in the case of a Registr

Re: Newbie help - mod_perl use

2000-04-10 Thread J. Horner
On Mon, 10 Apr 2000, Ron Beck wrote: > What does the following do for you... > > > > SetHandler perl-script > PerlHandler Apache::Registry > Options ExecCGI > > > > The "Porting CGI Scripts" recommended including this in my httpd.conf > fi

Re: [OT] anchoring regexp

2000-04-10 Thread J. Horner
On Mon, 10 Apr 2000, Devin Ben-Hur wrote: > $ diff first anchored > 1c1 > < sub first { > --- > > sub anchored { > 9a10 > > my $request = join(" ",$method,$uri); > > The only difference between your two benchmark subroutines are their > names, and that the anchored one also composes your

Re: windows 98 apache and perl

2000-04-10 Thread Aaron Johnson
Harald, Randy Kobes has been keeping the Win32 mod_perl crowd happy for the last few months with his compile that is available at: ftp://theoryx5.uwinnipeg.ca/pub/other/ (the link is on the perl.apche.org home page as well :^) ). Jeffery Baker has a version as well, but it is not as up to date.

Re: Newbie help - mod_perl use

2000-04-10 Thread Ron Beck
What does the following do for you... SetHandler perl-script PerlHandler Apache::Registry Options ExecCGI The "Porting CGI Scripts" recommended including this in my httpd.conf file. I assumed it was so I didn't have to put al

Re: [OT] anchoring regexp

2000-04-10 Thread Devin Ben-Hur
"J. Horner" wrote: > On Mon, 10 Apr 2000, Jason Simms wrote: > > As to your problem, I doubt people can be of much assistance (though we'll > > see) without seeing the regex and sample data. Perhaps if you resent that?? > > > > In any case, good luck. And perhaps, stay in touch, or put me on a m

Re: Newbie help - mod_perl use

2000-04-10 Thread bthak
On Mon, 10 Apr 2000, Ron Beck wrote: > > Hello all, > I have built Apache 1.3.12 and mod_perl 1.22 and everything seems to be > running fine. I have verified that mod_perl.c shows up as one of the > compiled-in modules. How can I test or verify that my perl cgi scripts > are actually running

RE: Newbie help - mod_perl use

2000-04-10 Thread Geoffrey Young
http://perl.apache.org/guide/install.html#How_can_I_tell_whether_mod_perl_ :) --Geoff > -Original Message- > From: Ron Beck [mailto:[EMAIL PROTECTED]] > Sent: Monday, April 10, 2000 1:28 PM > To: modperl > Subject: Newbie help - mod_perl use > > > > Hello all, > I have built Apache 1

Newbie help - mod_perl use

2000-04-10 Thread Ron Beck
Hello all, I have built Apache 1.3.12 and mod_perl 1.22 and everything seems to be running fine. I have verified that mod_perl.c shows up as one of the compiled-in modules. How can I test or verify that my perl cgi scripts are actually running via mod_ perl rather than simply executing? Is the

OT: (sort of) AuthDBMUserFile

2000-04-10 Thread Bill Jones
AuthDBMUserFile Is there a difference between DBM and GDBM? I always thought they were the same... I found sleepcat (DB) and GDBM, but where is DBM? ??? - FCCJ * 501 W State St * Jacksonville, Fl 32202 * 904/632-3089 -

Re: [OT] anchoring regexp

2000-04-10 Thread J. Horner
On Mon, 10 Apr 2000, Jason Simms wrote: > I have a question first, then some insight as to why you may be having the > problem... First, is this Knoxville, TN? I lived there for 17 years of my > life, and only recently (1.5 years ago) moved up to New York City. I left > due to lack of busin

[OT] anchoring regexp

2000-04-10 Thread J. Horner
I bought a new book this weekend: the wolf book. I'm enjoying it. I came from an engineering background, so anything that gives comp sci theory is good. I read in the book, and I've always suspected, that anchoring regular expressions will speed them up. I'm finding that after 5000 iterations

RE: front end proxy and virtual hosts

2000-04-10 Thread Eric Cholet
> EC> do you setup virtual hosts on the backend server? Different IPs, or > EC> different ports? Or just a flat url space, using mod_rewrite on the > EC> front-end to translate the urls? > > I think I posted this example earlier. This is just a snippet of the > relevant portions of the front/bac

Re: front end proxy and virtual hosts

2000-04-10 Thread Vivek Khera
> "EC" == Eric Cholet <[EMAIL PROTECTED]> writes: EC> do you setup virtual hosts on the backend server? Different IPs, or EC> different ports? Or just a flat url space, using mod_rewrite on the EC> front-end to translate the urls? I think I posted this example earlier. This is just a snippe

Re: ./httpd -l

2000-04-10 Thread Vivek Khera
> "JG" == James Gosnell <[EMAIL PROTECTED]> writes: JG> When I run ./httpd -l should I see mod_perl.c in the list of modules? Depends if you compiled it into your httpd... ;-) If you compiled mod_perl as a DSO module, then no. If you compiled mod_perl statically, then yet. -- =-=-=-=-=-=

RE: Deprecated warnings in Apache::DBI

2000-04-10 Thread Paul G. Weiss
Well if it is lexical shouldn't it suppress the warnings anyhow? Remember that the 'use' is lexically inside the BEGIN block where I have the pragma. >From the command line: perl -wc Apache/DBI.pm produces the error while perl -M-warnings=deprecated Apache/DBI.pm doesn't. An

Re: Deprecated warnings in Apache::DBI

2000-04-10 Thread Ken Williams
I don't have 5.6 to test this, but isn't the warnings pragma lexical and not dynamic now? Which means it's doing the right thing. Also, it's probably right - shouldn't Apache::DBI be changed? Perhaps doing "local $^W;" instead of "no warnings qw(deprecated);" will be a bandaid for you. [EMAIL

Re: Segfault on DBI->Connect (was mod_perl and AuthenDBI headaches)

2000-04-10 Thread Drew Degentesh
Hi, after some browsing of the [EMAIL PROTECTED] archives, I see now that my AuthDBI problem is the same as this thread (Segfault on DBI->Connect). I tried the workaround suggested by wil (*sock=0 before mysql_init(sock)) to no avail. Here's a backtrace from gdb httpd -X. Has any headway been ma

RE: Apache::URI port() problem

2000-04-10 Thread Eric Cholet
> Hello, > > It seems the method unparse() of Apache::URI does not take the port > value into the result string. For example, I have: > > my $uri = Apache::URI->parse($r, $r->uri); > $uri->scheme('http'); > $uri->hostname($r->get_server_name); > $uri->port(8080); > $uri->query(scalar $r->ar

Deprecated warnings in Apache::DBI

2000-04-10 Thread Paul G. Weiss
In my startup.pl I have BEGIN { no warnings qw(deprecated); use Apache::DBI; } yet when starting the server I always see defined(@array) is deprecated at /usrl1/home/pweiss/perl-56/lib/site_perl/5.6.0/Apache/DBI.pm line 135. (Maybe you should just omit the defined()?) Shouldn'

Re: windows 98 apache and perl

2000-04-10 Thread Robert
Light Software wrote: > > Is it possible to install apache and perl succesfully on windows 98 ? > > I have tried and failed ! > > I want to run server-side perl script on apache... > > Is there anyone in this mailing list that has installed apache and perl > succesfully on windows 98 so that t

front end proxy and virtual hosts

2000-04-10 Thread Eric Cholet
Hi, The front-end light server, serving static requests and proxying dynamic requests to a back-end modperl server, is well documented, except in the case of virtual hosts. How do you do it? Specifically, do you setup virtual hosts on the backend server? Different IPs, or different ports? Or just

windows 98 apache and perl

2000-04-10 Thread Light Software
Is it possible to install apache and perl succesfully on windows 98 ? I have tried and failed ! I want to run server-side perl script on apache... Is there anyone in this mailing list that has installed apache and perl succesfully on windows 98 so that this is possible ? Please let me know...

RE: internal_redirect

2000-04-10 Thread Eric Cholet
> Hi All > > I have a module that displays a selection of FORMs for the user to pick > from. The FORMs have TARGET='_BLANK'. The submitted form data is sent to a > different module which parses the data and uses 'open' to call an external > perl script to generate a file and returns the full disk