Re: [ANNOUNCE] HTTP::GHTTP

2000-11-21 Thread spam
On Tue, 21 Nov 2000, Matt Sergeant wrote: > This is a bit off topic as its not specifically mod_perl, but I wrote it > for use in a mod_perl environment, so I figure it will be useful to other > people. > > HTTP::GHTTP is a lightweight HTTP client library based on the gnome > libghttp library. I

Re: Patch for Connection Pooling with DBI::ProxyServer

2000-11-21 Thread Gerald Richter
Hi Jochen, > > to be honest, I don't understand the details of your patch. > I understand that you fork off some child processes and > and use connect_cached. But how do the different processes > interact? How do you guarantee, that the data from one > client reaches the right server process? >

Re: [OT] $r->header_out(Location=>"$dst") browser response

2000-11-21 Thread George Sanderson
Follow up: Well I screwed up, but at least now I know it! The 303 status code did give me the result I wanted, but after I removed the bug which caused the problem, I no longer need to use it. (I had a global variable which was previously set and latter caused my REDIRECT to cycle right back to t

Re:coredump on Carps in startup.pl

2000-11-21 Thread George Sanderson
Hey thanks a lot. I'm just going blind or something, because when I see a URL and click... If it quacks, it's a duck :-). But seriously, I have had the problem that this patch is suppose to fix. I do appreciate your efforts. I'll let you know how it turns out. Thanks. At 04:34 AM 11/21/00 +

Re: New Module Idea: MLDBM::Sync

2000-11-21 Thread Perrin Harkins
On Tue, 21 Nov 2000, Joshua Chamas wrote: > On my box, some rough numbers in writes per sec, with doing a > tie/untie for each write, are: > > sync writes/sec with tie/untie > > SDBM_File 1000 > DB_File 30 > GDBM_File 40 > > Note that on a RAM disk in Linux, DB_File goes

Re: New Module Idea: MLDBM::Sync

2000-11-21 Thread Joshua Chamas
Perrin Harkins wrote: > > On Fri, 17 Nov 2000, Joshua Chamas wrote: > > I'm working on a new module to be used for mod_perl style > > caching. I'm calling it MLDBM::Sync because its a subclass > > of MLDBM that makes sure concurrent access is serialized with > > flock() and i/o flushing between

Re: [ANNOUNCE] HTTP::GHTTP

2000-11-21 Thread Matt Sergeant
On Tue, 21 Nov 2000, Perrin Harkins wrote: > On Tue, 21 Nov 2000, Matt Sergeant wrote: > > HTTP::GHTTP is a lightweight HTTP client library based on the gnome > > libghttp library. It offers a pretty simple to use API for doing HTTP > > requests. This can be useful under mod_perl because the alte

Re: [ANNOUNCE] HTTP::GHTTP

2000-11-21 Thread Matt Sergeant
On Tue, 21 Nov 2000, Matt Sergeant wrote: > This is a bit off topic as its not specifically mod_perl, but I wrote it > for use in a mod_perl environment, so I figure it will be useful to other > people. > > HTTP::GHTTP is a lightweight HTTP client library based on the gnome > libghttp library. I

Re: [ANNOUNCE] HTTP::GHTTP

2000-11-21 Thread Perrin Harkins
On Tue, 21 Nov 2000, Matt Sergeant wrote: > HTTP::GHTTP is a lightweight HTTP client library based on the gnome > libghttp library. It offers a pretty simple to use API for doing HTTP > requests. This can be useful under mod_perl because the alternatives > (e.g. LWP) are quite large. Any idea how

implementing server affinity

2000-11-21 Thread Chris Nokleberg
Most of our pages are served by identical load-balanced boxes, and it doesn't matter which box serves what. However, a few special pages store a lot of per-user session data. Instead of burdening our db machine to store this data, I would like to use the filesystem. This requires that for these s

[ANNOUNCE] HTTP::GHTTP

2000-11-21 Thread Matt Sergeant
This is a bit off topic as its not specifically mod_perl, but I wrote it for use in a mod_perl environment, so I figure it will be useful to other people. HTTP::GHTTP is a lightweight HTTP client library based on the gnome libghttp library. It offers a pretty simple to use API for doing HTTP requ

Re: New Module Idea: MLDBM::Sync

2000-11-21 Thread Perrin Harkins
On Fri, 17 Nov 2000, Joshua Chamas wrote: > I'm working on a new module to be used for mod_perl style > caching. I'm calling it MLDBM::Sync because its a subclass > of MLDBM that makes sure concurrent access is serialized with > flock() and i/o flushing between reads and writes. I looked thro

Re: open source projects on mod_perl

2000-11-21 Thread Dave Rolsky
On Tue, 21 Nov 2000 [EMAIL PROTECTED] wrote: > On Tue, 21 Nov 2000, Ilya Soldatkin wrote: > > > Are there any open source projects running under mod_perl? > > I am interested in OOP projects working with SQL databases with good style of >programming. > > I'd like to use them to make my code bett

RE: Patch for Connection Pooling with DBI::ProxyServer

2000-11-21 Thread Wiedmann, Jochen
Hi, Gerald, to be honest, I don't understand the details of your patch. I understand that you fork off some child processes and and use connect_cached. But how do the different processes interact? How do you guarantee, that the data from one client reaches the right server process? I can only i

Re: mod_perl for NT when using another Web server other than Apache.

2000-11-21 Thread David Hodgkinson
Matthew Byng-Maddick <[EMAIL PROTECTED]> writes: > On Tue, 21 Nov 2000, Gurumustuk Singh Khalsa wrote: > > Hi there... I was just wondering if any of you know of a way to use > > mod_perl on NT using another webserver other than Apache. I am running > > the Lotus Domino web server and currently h

Re: mod_perl for NT when using another Web server other than Apache.

2000-11-21 Thread Matthew Byng-Maddick
On Tue, 21 Nov 2000, Gurumustuk Singh Khalsa wrote: > Hi there... I was just wondering if any of you know of a way to use > mod_perl on NT using another webserver other than Apache. I am running > the Lotus Domino web server and currently have the latest ActivePerl > installed. No. Mod_perl is he

Auth question for an Apache module (Not an Auth Module!!:):)

2000-11-21 Thread David McCabe
I have written an Apache module for our own internal use, that basically runs under one sub-dir of the doc root, i.e. http://som.server.com/dir. There are only about 4 or 5 valid URLs inside that URI, so I only check for one of those in the request, and return DECLINED if it is not one of those.

mod_perl for NT when using another Web server other than Apache.

2000-11-21 Thread Gurumustuk Singh Khalsa
Hi there... I was just wondering if any of you know of a way to use mod_perl on NT using another webserver other than Apache. I am running the Lotus Domino web server and currently have the latest ActivePerl installed. Any help would be greatly appreciated! Sincerely, Gurumustuk Singh Khal

Re: Apache::ASP (QueryString eats +)

2000-11-21 Thread Stephen Beitzel
On 21 Nov, sergen wrote: > > When sending text with "+" by "?" on url $Request->QueryString > eats > "+" (the text is absolutely the same but only this sign). >Is it a bug or may be some else ? > >using: Mandrake 7.2 > Apache 1.3.14-2mdk >apache-

Installing the DBD module for Microsoft SQLServer!!!

2000-11-21 Thread Edmar Edilton da Silva
Hi all, Now, I have another problem. When I runned the "perl Makefile.PL" and "make" commands they work very well. But, when I runned "make test" is returned the following message: "Writing "Makefile.aperl" for this perl Using DBI 1.14 installed in /usr/lib/perl5/site_perl/5.005/i386-

sendmail processes hanging around after I switch to mod_perl

2000-11-21 Thread news
Hi All I'm running apache 1.3.14 mod_perl 1.23 on red hat linux 6.2 kernel 2.2.17 sendmail 8.9.3-20 After switching to mod_perl from plain cgi scripts I find that sendmail processes are hanging around after http requests are supposed to have served. many of my scripts heavily make use of chun

Re: Dealing with spiders

2000-11-21 Thread Jimi Thompson
I vote for that! Make my life about 5000 times simpler :) Marko van der Puil wrote: > Hi, > > I had the same thing, sometimes the spiders are programmed VERY sloppy. I had a > site that responed to ANY request made to its location. The mayoraty of spiders > does not understand about single and

Re: DBD module for Microsoft SQLServer!!!

2000-11-21 Thread Edmar Edilton da Silva
Sorry, the error message during the installation process of the DBD module is the following: /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:101: parse error before `Perl_do_close' /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:101: parse error before `bool' /usr/lib/perl5/5.00503/i386-linux/C

Re: moidperl, OOP & DBI

2000-11-21 Thread Sean C. Brady
Hi Ilya. Even though this isn't a mod_perl issue you should be able to open your database connection within your constructor. You also could maybe call an internal method from within your constructor that opens the db connection and checks for the existence of 'id'. - Sean On Tue, 21 Nov

Re: Passing data

2000-11-21 Thread darren chamberlain
ASHISH MUKHERJEE ([EMAIL PROTECTED]) said something to this effect: > Hey all, I am in need of some help. Can anyone pls. tell me how I can pass data from >a Handler to a script ? Can any session data etc. withing a Handler be made >accessible within a script ? Also, how can I pass data between

Re: session expiration

2000-11-21 Thread Steve van der Burg
>So basically I want to set a cookie that will allow them to enter the site >under their userid, but I can't allow them to enter if they are currently >logged in from elsewhere. > >Any ideas? I use cookie-based auth in a few places, with a "can be logged in only once" restriction, but I duck the

Re: Apache::Registry + errors in a browser

2000-11-21 Thread darren chamberlain
Jacek Ostrowski ([EMAIL PROTECTED]) said something to this effect: > hi, > > I have a litle suggestion to Apache::Registry - > I tried to change it to allow script writers > to see compile errors in a browser. > > I'am using mod_perl at my work ( its great - you know ) > but there are few ot

DBD module for Microsoft SQLServer!!!

2000-11-21 Thread Edmar Edilton da Silva
Hi all, I am trying to install the DBD module for Microsoft SQLServer (DBD-FreeTDS-0.02), and I get many error message when the command "make" is executed. I have installed the perl 5.005, mod_perl 1.21, DBI 1.14, and Apache::DBI 0.87. The following commands are used to install the DBD mod

[OT] Re:moidperl, OOP & DBI

2000-11-21 Thread Mike Miller
Hi Ilya, IS> I am creating an object that make queries to database. But how shall I IS> explain to him what database handler he shall use? IS> Under mod_perl it is too dangerous to make $dbh global variable. IS> Well, I can create data field in this object that will store current $dbh, IS> but i

Re: moidperl, OOP & DBI

2000-11-21 Thread Matt Sergeant
On Tue, 21 Nov 2000, Ilya Soldatkin wrote: > I am creating an object that make queries to database. But how shall I > explain to him what database handler he shall use? > Under mod_perl it is too dangerous to make $dbh global variable. > Well, I can create data field in this object that will sto

Re: [OT] mod_perl evangelism

2000-11-21 Thread David Hodgkinson
David Hodgkinson <[EMAIL PROTECTED]> writes: > Greg Cope <[EMAIL PROTECTED]> writes: > > > I've always thought that php had better "web support" in terms of "How > > to do this in php" or tutorials. mod_perl's lack of similar > > resources is not a bad thing. > > OK, the London Perlmonge

Patch for Connection Pooling with DBI::ProxyServer

2000-11-21 Thread Gerald Richter
Hi, recently there was a large thread on connection pooling. One idea was to use DBI::ProxyServer for this purpose. This may not fit all needs, but some them, at least mine :-) The idea is to use DBI's connect_cached method together with ProxyServer. As in the above mentioned thread already disc

Re: open source projects on mod_perl

2000-11-21 Thread lars
On Tue, 21 Nov 2000, Ilya Soldatkin wrote: > Are there any open source projects running under mod_perl? > I am interested in OOP projects working with SQL databases with good style of >programming. > I'd like to use them to make my code better. If you know such projects, could you >give me link

open source projects on mod_perl

2000-11-21 Thread Ilya Soldatkin
Are there any open source projects running under mod_perl? I am interested in OOP projects working with SQL databases with good style of programming. I'd like to use them to make my code better. If you know such projects, could you give me links to them. I will be also grateful if somebody emal

Passing data

2000-11-21 Thread ASHISH MUKHERJEE
Hey all, I am in need of some help. Can anyone pls. tell me how I can pass data from a Handler to a script ? Can any session data etc. withing a Handler be made accessible within a script ? Also, how can I pass data between Handlers invoked at different stages of request processing ? eg. how ca

moidperl, OOP & DBI

2000-11-21 Thread Ilya Soldatkin
I am creating an object that make queries to database. But how shall I explain to him what database handler he shall use? Under mod_perl it is too dangerous to make $dbh global variable. Well, I can create data field in this object that will store current $dbh, but it seems too strange too me to