Re: Fast DB access

2001-04-17 Thread Differentiated Software Solutions Pvt. Ltd.,
Hi,   There are 4 responses to our results. We will answer them to the best of our ability.   MATT >This is a very very old version of postgresql. Try it again with 7.1 forMATT >more respectable results. Accepted. We knew this when we conducted the benchmarks. We've had terrible experience w

Re: Simple password method?

2001-04-17 Thread Mike Harding
Sorry if this wasn't exactly clear, it's the _database_ password we are trying to pass in manually. We did try exactly the following, and it did not work. This was a bit suprising and I was wondering why this was the case... - Mike H. Date: Tue, 17 Apr 2001 09:44:48 -0700 (PDT) From: An

Re: Fast DB access

2001-04-17 Thread clayton
Matt Sergeant wrote: > On Tue, 17 Apr 2001, Differentiated Software Solutions Pvt. Ltd., wrote: > >> H/W : Celeron 433 with 64 MB RAM, IDE HDD using RH 6.1, perl 5.005, >> Postgres 6.5.3 > > > This is a very very old version of postgresql. Try it again with 7.1 for > more respectable results.

pulling arguments off rewrite rule

2001-04-17 Thread Christopher Fox
I am trying to get the arguments from a referrer off a rewrite rule here's the deal: I have a request coming in http://www.blah.com/index.htm?ref=xxx I want to pull the ref=xxx and have it follow the user throughout my site I am using a RewriteMap to a program and want to return the QUERY_ST

Re: Fast DB access

2001-04-17 Thread Perrin Harkins
> b) Flat file : Create a Linux directory structure with the same hierarchy as > the attributesi.e., directory structure has > ///. ip numbers is the file name which > contains a list of ads. Objective is to pick the right file, open this file >and create a hash with the contents of the file.

How does one report a perl versioning problem

2001-04-17 Thread The Doctor
Recently, I got the following: Script started on Sat Apr 14 13:18:31 2001 root@doctor$ /usr/contrib/bin/perl5.6.1 -v This is perl, v5.6.0 built for i386-bsdos Copyright 1987-2000, Larry Wall Perl may be copied only under the terms of either the Artistic License or the GNU General Public Licen

Re: Fast DB access

2001-04-17 Thread Bruce Albrecht
Matt Sergeant writes: > On Tue, 17 Apr 2001, Differentiated Software Solutions Pvt. Ltd., wrote: > > > H/W : Celeron 433 with 64 MB RAM, IDE HDD using RH 6.1, perl 5.005, > > Postgres 6.5.3 > > This is a very very old version of postgresql. Try it again with 7.1 for > more respectable res

Re: Apache::AutoIndex - problem with special symbols in filenames (patch applied)

2001-04-17 Thread Philippe M . Chiasson
On Tue, Apr 17, 2001 at 09:29:22AM +0100, G.W. Haywood wrote: > Hi there, > > On Tue, 17 Apr 2001, Alexei Barantsev wrote: > > > I have found that Apache::AutoIndex does not handle correctly filenames with > > special symbols - whitespaces, <, > and so on. > > Are you *sure* you want to have th

seeking lead programmer

2001-04-17 Thread Peter J. Schoenster
Hello, Small but growing webdev firm (2 employees when I started 1.5 years ago and now at 7) seeking lead programmer (Perl/mod_perl OO Perl is primary) and what might be known as technical lead. Location is Englewood, CO. Current employee breakdown: Project Manger : 1 Junior Perl programmer:

Apache::ASP and no global.asa

2001-04-17 Thread Rick Glunt
I am trying to setup Apache::ASP to handle asp pages for one of my virtual domains in Apache but I am getting an 'Internal Server Error' on the browser and an error in the Apache log files that goes something like [error] Undefined subroutine &Apache::ASP::Compiles::_usr_local_apache_htdocs_www_a

Re: Problem with ASP Pages

2001-04-17 Thread Randy Kobes
On Tue, 17 Apr 2001, Joshua Chamas wrote: > "Bridges, Jon" wrote: [ ... ] > > Now all that happening is an error in the error log saying > > "No such file or directory: couldn't spawn child process" > > I personally have no idea about this, maybe someone else might? > If you think this is an Apa

Re: What the heck actually happens in a perl section?

2001-04-17 Thread Thomas K. Burkholder
Geoffrey Young wrote > I'm surprised that this works at all... what's in @kv at this point? if > it's only two values then it might work if there is some magic behind the > scenes, but generally you can't store references in PerlSetVars without > having them stringified. Maybe PerlAddVar would

RE: Strange mod_perl error. Help needed!

2001-04-17 Thread Vladislav Safronov
Ok! Thanx! I found the bug :-) > Try to install the AUTOLOAD sub and trace the calls: > > use Carp; > sub AUTOLOAD{ > Carp::cluck("trying to load $AUTOLOAD"); > } > > at least you will figure out where the sub is called from. It looks > > ___

Re: Dynamic httpd.conf file using mod_perl...

2001-04-17 Thread Simon Rosenthal
At 04:16 AM 4/17/01, Ask Bjoern Hansen wrote: >On Mon, 16 Apr 2001, Jim Winstead wrote: > >[...] > > you would have to do a "run config template expander && HUP" instead > > of just doing a HUP of the apache parent process, but that doesn't > > seem like a big deal to me. > >And it has the big adv

Re: Simple password method?

2001-04-17 Thread Andrew Ho
Hello, MH>We are working with some financial folks who would like us to set MH>passwords when we bring apache up, rather than using a config file. MH>We tried various permutations of inputting variables in the 'setup.pl' MH>file and so on - although we could echo the variable, if we input it, MH>

debug info to log file

2001-04-17 Thread F.H
Hi ALl, I am trying to send debug info from an FTP session to a log file, I don't seem to redirect output to that log file. If somebody can hgelp I'd really appreciate. Thanks Here is my code: +++ use Net::FTP; $logfile = "mylog.log"; open (LOG, ">> $logfile " ); print LOG

Re: Problem with ASP Pages

2001-04-17 Thread Joshua Chamas
"Bridges, Jon" wrote: > > I have figured out why the .asp files were being downloaded instead of > executed. This was because I had not declared .asp in the mime.types file. > I couldn't do the lwp-request as I am running Apache on Windows 2000, is > this a Linux command? > In all my years (alm

RE: umable to run cgi scripts under mod_perl

2001-04-17 Thread Brendan McAdams
you need to close your script with a

Re: Strange mod_perl error. Help needed!

2001-04-17 Thread Stas Bekman
On Tue, 17 Apr 2001, Vladislav Safronov wrote: > Hi, > > That is all server says on > http://my.server.ru/kubok?aa=bb > and > http://my.server.ru/testmod1? > > [Tue Apr 17 15:44:16 2001] [error] Undefined subroutine &main:: called. > [Tue Apr 17 15:44:18 2001] [error] Undefined subroutine &main::

Strange mod_perl error. Help needed!

2001-04-17 Thread Vladislav Safronov
Hi, That is all server says on http://my.server.ru/kubok?aa=bb and http://my.server.ru/testmod1? [Tue Apr 17 15:44:16 2001] [error] Undefined subroutine &main:: called. [Tue Apr 17 15:44:18 2001] [error] Undefined subroutine &main:: called. and that is httpd.conf === PerlRequire /usr/local/ww

RE: What the heck actually happens in a perl section?

2001-04-17 Thread Geoffrey Young
> -Original Message- > From: Thomas K. Burkholder [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, April 17, 2001 6:40 AM > To: [EMAIL PROTECTED] > Subject: What the heck actually happens in a perl section? > > > Hi again, > > I'm still beating my head against perl sections. Using PerlSet

Simple password method?

2001-04-17 Thread Mike Harding
We are working with some financial folks who would like us to set passwords when we bring apache up, rather than using a config file. We tried various permutations of inputting variables in the 'setup.pl' file and so on - although we could echo the variable, if we input it, it was not available t

Re: Fast DB access

2001-04-17 Thread Matt Sergeant
On Tue, 17 Apr 2001, Differentiated Software Solutions Pvt. Ltd., wrote: > H/W : Celeron 433 with 64 MB RAM, IDE HDD using RH 6.1, perl 5.005, > Postgres 6.5.3 This is a very very old version of postgresql. Try it again with 7.1 for more respectable results. -- /||** Founder and CTO

Fast DB access

2001-04-17 Thread Differentiated Software Solutions Pvt. Ltd.,
Hi,   A few months back we asked modperl mailing list on alternate methods of DB access to postgres (with the same subject). We got some decent alternatives. We are putting back some of the work we have done on this issue.   We had a project to program an ad server. This is not really an OLT

RE: Problem with ASP Pages

2001-04-17 Thread Bridges, Jon
>>"Bridges, Jon" wrote: >> >> I'm working on Windows 2000 and have finally managed to get the mod_perl and >> Apache::ASP extensions working. I can confirm this as when I open up .htm >> files with embedded asp everything works fine. >> >> However I come across a problem when trying to view .asp

Undefined subroutine - what to try next?

2001-04-17 Thread Chris Searle
OK. This starts with what looks to be a FAQ: Undefined subroutine &PicLib::handler called. I've found the entry in the FAQ that answers "What can cause a subroutine or variable to be sporadically undefined?" and so I've tried to check that all my code is packaged correctly. All the code run

What the heck actually happens in a perl section?

2001-04-17 Thread Thomas K. Burkholder
Hi again, I'm still beating my head against perl sections. Using PerlSetVar inside $Location seems really flaky - constants work, variables vanish. And using $Location{$key} = {...} causes odd spurious multiple-matching behaviour from a single matching hit. Frankly, I'm at a loss. I'm about re

Re: Apache::AutoIndex - problem with special symbols in filenames (patch applied)

2001-04-17 Thread G.W. Haywood
Hi there, On Tue, 17 Apr 2001, Alexei Barantsev wrote: > I have found that Apache::AutoIndex does not handle correctly filenames with > special symbols - whitespaces, <, > and so on. Are you *sure* you want to have those symbols in your filenames?? 73, Ged.

Re: modperl security model question

2001-04-17 Thread G.W. Haywood
Hi all, On Mon, 16 Apr 2001, darren chamberlain wrote: > Thomas K. Burkholder ([EMAIL PROTECTED]) said [snip] > > my $input = IO::File->new("http://perl.apache.org/guide). It can help to include the system error string (from the Perl special variable $!) in the error message which you print

Re: Dynamic httpd.conf file using mod_perl...

2001-04-17 Thread Ask Bjoern Hansen
On Mon, 16 Apr 2001, Jim Winstead wrote: [...] > you would have to do a "run config template expander && HUP" instead > of just doing a HUP of the apache parent process, but that doesn't > seem like a big deal to me. And it has the big advantage of also working with httpd's without mod_perl.

Re: modperl security model question

2001-04-17 Thread Issac Goldstand
darren chamberlain wrote: > > Be sure to check that $line is defined: > Even better: > > > > use IO::File; > > my $input = IO::File->new("getline() || 'some safe default value, like ""'; > die "\$line is not defined" unless (defined $line); # <-- Now not really needed > >