Re: implementing server affinity

2000-11-22 Thread David Hodgkinson
Chris Nokleberg [EMAIL PROTECTED] writes: Of course, the front-end proxy servers don't have mod_perl, so the TransHandler would have to be written in C (?). Does anyone know of any existing code that does this sort of thing? Or simply well-written C TransHandlers that I could work off of? Is

Just Test. Don't read.

2000-11-22 Thread Andres Pedrera
Test1. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: New Module Idea: MLDBM::Sync

2000-11-22 Thread Joshua Chamas
Tim Bunce wrote: I looked through the code and couldn't see how you are doing i/o flushing. This is more of an issue with Berkeley DB than SDBM I think, since Berkeley DB will cache things in memory. Can you point to me it? I'm puzzled why people wouldn't just use version 3 of

Re: implementing server affinity

2000-11-22 Thread Chris Nokleberg
I thought about mod_rewrite but I would like this affinity module to handle the job of picking a random/round-robin backend server and setting the cookie itself. That way I don't have any session mgmt code in the backend server; I will just "know" that certain urls are guaranteed to bring the

Re: VirtualDocumentRoot problem

2000-11-22 Thread peter brown
hi mark VirtualHost sections do support the ErrorLog and CustomLog sections i have these in my vhosts sections CustomLog /var/log/apache/vhost-httpd-access.log vcombined ErrorLog /var/log/apache/vhost-httpd-error.log havent tried the %0 option with this yet that would eat up to many file

[ libapreq ] desesperatly need of .32 or .33

2000-11-22 Thread Thierry-Michel Barral
Hi everyone, I'm using Apache::Request, and I've encountered a bug ! [ I've done a POST multiform data, and the first field, a textarea, could contains at the end some garbage. Garbage because data is changing. ] I'm quite sure [ after a quick glance at mod_perl ML archive] one of the patches

Re: [ libapreq ] desesperatly need of .32 or .33

2000-11-22 Thread Matt Sergeant
On Wed, 22 Nov 2000, Thierry-Michel Barral wrote: Hi everyone, I'm using Apache::Request, and I've encountered a bug ! [ I've done a POST multiform data, and the first field, a textarea, could contains at the end some garbage. Garbage because data is changing. ] I'm quite sure [ after

Question

2000-11-22 Thread Jonathan Tweed
Hi I would be grateful if someone could answer this question: Even if you tell Apache only to execute files in a certain directory under mod_perl do all processes still include the mod_perl code? Thanks Jonathan Tweed - To

Re: Question

2000-11-22 Thread Matthew Byng-Maddick
On Wed, 22 Nov 2000, Jonathan Tweed wrote: I would be grateful if someone could answer this question: Even if you tell Apache only to execute files in a certain directory under mod_perl do all processes still include the mod_perl code? If I understand your question correctly, yes. MBM --

Re: [ANNOUNCE] HTTP::GHTTP

2000-11-22 Thread Mark Doyle
On Tuesday, November 21, 2000, at 06:28 PM, 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

Re: [ANNOUNCE] HTTP::GHTTP

2000-11-22 Thread Matt Sergeant
On Wed, 22 Nov 2000, Mark Doyle wrote: On Tuesday, November 21, 2000, at 06:28 PM, 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

Using the same mod_perl cgi-bin by 2 domains mapped to the same IP

2000-11-22 Thread David Jourard
Hi, I'm running a mod_perl application on a virtual hosted site but with its on apache web server. I need to install another domain name using the same virtual host ip. eg. Virtual Host aaa.aaa.aaa.aaa ServerName example1.com . . /VirtualHost Virtual Host aaa.aaa.aaa.aaa ServerName

RE: Using the same mod_perl cgi-bin by 2 domains mapped to the same IP

2000-11-22 Thread Geoffrey Young
-Original Message- From: David Jourard [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 22, 2000 11:54 AM To: [EMAIL PROTECTED] Subject: Using the same mod_perl cgi-bin by 2 domains mapped to the same IP [snip] I'd like to get it so that both domain names can access the

Re: [ANNOUNCE] HTTP::GHTTP

2000-11-22 Thread Mark Doyle
On Wednesday, November 22, 2000, at 10:44 AM, Matt Sergeant wrote: On Wed, 22 Nov 2000, Mark Doyle wrote: It should work pretty much anywhere (probably even windows if you can get past the configure stage). Its part of the gnome project, so you can get it from http://www.gnome.org/. Or a

Re: [ANNOUNCE] HTTP::GHTTP

2000-11-22 Thread Mark Doyle
On Wednesday, November 22, 2000, at 12:43 PM, Nathan Torkington wrote: Mark Doyle writes: Starting with www.gnome.org led to RPM hell and loading a lot more than just this single library. This: ftp://ftp.gnome.org/pub/GNOME/stable/sources/libghttp/ will hold the latest

Re: [ libapreq ] desesperatly need of .32 or .33

2000-11-22 Thread Thierry-Michel Barral
Thierry-Michel Barral [ Hi everyone, I'm using Apache::Request, and I've encountered a bug ! please, could it be possible to see very very soon a new release ? ] Matt Doug mentioned to me at ApacheCon (or it may have been back at TPC) that he would like someone else to take over

RE: Question

2000-11-22 Thread Peiper,Richard
How could they not? Since the files are executable by any process, then all processes must have the mod_perl code in it. You could if you really wanted to run 2 versions of Apache, one with mod_perl and one without. You could then call all CGI's through a different IP and then run

An idea on END_REQUEST handler

2000-11-22 Thread Andrei A. Voropaev
Hi! Everyone knows that END handlers in packages under mod_perl are executed only when apache terminates. But from time to time there might be a need to execute something when the Request is finished. In practice what I do in these cases is install PerlCleanupHandler which checks all loaded

Re: [ANNOUNCE] HTTP::GHTTP

2000-11-22 Thread clayton cottingham
man that is one crazy module! in under ten minutes i had the thing running! kudos again to you matt! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [ANNOUNCE] HTTP::GHTTP

2000-11-22 Thread Matt Sergeant
On Wed, 22 Nov 2000, clayton cottingham wrote: man that is one crazy module! in under ten minutes i had the thing running! kudos again to you matt! I'd be happy if it wasn't turning out to be more popular than AxKit! *sigh* :-) -- Matt/ /||** Director and CTO ** //||**

Re: [ANNOUNCE] HTTP::GHTTP

2000-11-22 Thread Marc Spitzer
Simple useful things get adopted quickly, more complex useful things take more time. marc - Original Message - From: "Matt Sergeant" [EMAIL PROTECTED] To: "clayton cottingham" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, November 22, 2000 1:37 PM Subject: Re: [ANNOUNCE]

Re: [ANNOUNCE] HTTP::GHTTP

2000-11-22 Thread Clayton Cottingham
haha i just got a patch for sablotron its parser wasnt working on the x3d xml stuff remember? i havent been able to get it to work but he just resent the patch cuz it had some extra line feeds in it or something! he also stated that the next release should make it so sablotron will use the

Apache::AuthenDBI request request

2000-11-22 Thread George Sanderson
I need to access DBI table fields in the AuthenDBI/AuthzDBI data base. I think a good way to do this, would be to provide a new directive which would specify the table field values to be placed into the Apache notes. For example: Auth_DBI_note_field UID would add a key/value pair

i need reload the scripts

2000-11-22 Thread bari
i have some modules already written in my subdirectory and i have made chages to them an i need to reload them. how do i reload the perl scripts using mod perl. i was going through documentation it asked me to use PerlModule Apache::StatINC PerlInitHandler Apache::StatINC but i am not clear with

Re: i need reload the scripts

2000-11-22 Thread Sean C. Brady
You can either restart the server... or, add PerlPostReadRequestHandler Apache::StatINC to your httpd.conf file. I think even with StatINC, you might have to restart your server once in a while - my own experience... - Sean On Wed, 22 Nov 2000, bari wrote: i have some modules already

RE: i need reload the scripts

2000-11-22 Thread bari
i dont have the access to restart my server. so is there a dynamic way to reload scripts. I would really apprecate your help. thanks - bari -Original Message- From: Sean C. Brady [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 22, 2000 11:47 AM To: bari Cc: [EMAIL PROTECTED]

Re: New Module Idea: MLDBM::Sync

2000-11-22 Thread Joshua Chamas
Paul Lindner wrote: I'm puzzled why people wouldn't just use version 3 of Berkeley DB (via DB_File.pm or BerkeleyDB.pm) which supports multiple readers and writers through a shared memory cache. No open/close/flush required per-write and very very much faster. Is there a reason I'm

Re: Question

2000-11-22 Thread Les Mikesell
If you run the 2-apache model described in the guide (as you generally need on a busy site), you can use the locations set in ProxyPass directives to determine which requests are passed to the backend mod_perl apache and let the lightweight front end handle the others directly. Or you can use

how do I restart the server

2000-11-22 Thread bari
I have changed some of my scripts and I need to reload them. for that I need to restart the server. but the changes are in my subtree in the sandbox. so if I restart the server is it going to be problem for the other users. if not is there any other way to reload my scripts. I have tried adding

i am looking for mod perl tutor

2000-11-22 Thread mohammed abdul bari
Hi, I am looking for mod perl tutors. I have a pretty good knowledge of perl but just a lil bit about appache modules. I need some one who could spare a day or 2 with 1 or 2 hours a day to get me basics. I live in santa clara. - bari

Re: [ libapreq ] desesperatly need of .32 or .33

2000-11-22 Thread Joe Schaefer
Matt Sergeant [EMAIL PROTECTED] writes: Doug mentioned to me at ApacheCon (or it may have been back at TPC) that he would like someone else to take over maintainence of Apache::Request. If nobody volunteers, I'm willing to look at doing so, although I've only just started that long road into

Re: trouble compiling mod_perl-1.24_01

2000-11-22 Thread peter brown
glad to help would anyone else be interested in a FreeBSD port to do this ?? At 02:23 PM 22/11/00 -0500, you wrote: Thanks! I finally did a dirty hack but this sounds like a good way to fix it right. I'll have to do that as soon as I get a chance. -Jere peter brown wrote: hi jere i am

Bug in Apache::test

2000-11-22 Thread Dave Rolsky
It seems that when you ask it to scan for dynamic modules and produce the appropriate conf file you can end up with something like this in there: LoadModule setenvif_module"/usr/local/apache_mp"/libexec/mod_setenvif.so The quotes cause a problem. Here's a patch against the latest CVS

Use Sambe, not NFS [Re: New Module Idea: MLDBM::Sync]

2000-11-22 Thread Joshua Chamas
Paul Lindner wrote: Might MLDBM::Sync work over an NFS mounted partition? That's one reason I've not used the BerkeleyDB stuff yet.. Paul, For the first time, I benchmarked concurrent linux client write access over a SAMBA network share, and it worked, 0 data loss. This is opposed to a

Re: [ libapreq ] desesperatly need of .32 or .33

2000-11-22 Thread Jeremy Howard
But before anyone bites off more than they can chew, perhaps some discussion of the current bugs and future needs for libapreq should be aired out. My own problems with libapreq revolved around the multipart buffer code, and since I patched it a while back, I haven't bumped into any other

Re: New Module Idea: MLDBM::Sync

2000-11-22 Thread Paul Lindner
On Wed, Nov 22, 2000 at 10:58:43AM +, Tim Bunce wrote: On Tue, Nov 21, 2000 at 03:00:01PM -0800, 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

Re: New Module Idea: MLDBM::Sync

2000-11-22 Thread Perrin Harkins
On Wed, 22 Nov 2000, Tim Bunce wrote: I'm puzzled why people wouldn't just use version 3 of Berkeley DB (via DB_File.pm or BerkeleyDB.pm) which supports multiple readers and writers through a shared memory cache. No open/close/flush required per-write and very very much faster. Is there a

Re: New Module Idea: MLDBM::Sync

2000-11-22 Thread Tim Bunce
On Wed, Nov 22, 2000 at 02:17:25PM +0300, Ruslan V. Sulakov wrote: Hi, Tim! I'd like to use BerkeleyDB! But have you test it in mod_perl environment? Not yet, but I will be very soon. I'm sure others are using it. May be I wrote scripts in wrong fasion. I open $dbe and $db at startup.pl