[ANNOUNCE] Apache::App::Mercury (new module)

2003-07-19 Thread Adi Fairbank
ed to fit your specific needs (e.g. private labelling). At the moment, installation has quite a few steps. Sorry about that. I tried to make it as simple and straightforward as possible, but the complexity is necessary since it needs to tie into your existing mod_perl app. Cheers, -Adi -- Th

Re: [RFC] web-messaging application for mod_perl

2003-07-16 Thread Adi Fairbank
On, or in the near vicinity of Tue, 15 Jul 2003 01:47:13 -0500 James G Smith <[EMAIL PROTECTED]> has thus written: > Adi Fairbank <[EMAIL PROTECTED]> wrote: > >Here are the possibilities: > > > > 1 Apache::WebMessaging > > 2 Apache::App::WebMessaging

Re: [RFC] web-messaging application for mod_perl

2003-07-14 Thread Adi Fairbank
onally prefer 1 or 2, so if there are no serious objections, I'll pick one of those. Let me know which you like the best. -Adi

Re: [RFC] web-messaging application for mod_perl

2003-07-01 Thread Adi Fairbank
On, or in the near vicinity of Tue, 1 Jul 2003 11:23:00 +0200 Enrico Sorcinelli <[EMAIL PROTECTED]> has thus spoken: > On Mon, 30 Jun 2003 12:57:00 -0700 > Adi Fairbank <[EMAIL PROTECTED]> wrote: > > > Apache::WebMessaging > > > > I am about ready

Re: Few Important Questions

2003-06-30 Thread Adi Fairbank
ur conf file, in which case you'll need more than that. I recommend Apache::AuthCookie as it has good builtin support for custom require methods in mod_perl. -Adi

[RFC] web-messaging application for mod_perl

2003-06-30 Thread Adi Fairbank
es, interfacing with standard mailbox types: mbox, Maildir, etc) If you want to play with it before I release it to CPAN, you can get a copy here: http://adiraj.org/sw/Apache-WebMessaging/Apache-WebMessaging-0.80pre1.tar.gz TIA for any comments, -Adi

Re: full-featured online database apps

2002-04-24 Thread Adi Fairbank
For example, what I'm looking for are other projects similar to Gedafe: http://isg.ee.ethz.ch/tools/gedafe/ but maybe with a more customizable front-end. -Adi

full-featured online database apps

2002-04-23 Thread Adi Fairbank
would make this job really easy? TIA, -Adi

Re: loss of shared memory in parent httpd

2002-03-16 Thread Adi Fairbank
call mlockall() from the mod_perl parent process. HTH.. I'm very curious to know if this works. -Adi Ed Grimm wrote: > > I believe I have the answer... > > The problem is that the parent httpd swaps, and any new children it > creates load the portion of memory that was swa

[ANNOUNCE] ApacheBench 0.62 released

2001-12-04 Thread Adi Fairbank
, good, and failed requests (previously these were fudged) * a few small bug fixes. Please see the Changes file for complete details. Happy benchmarking! -Adi

[ANNOUNCE] ApacheBench 0.62 released

2001-12-03 Thread Adi Fairbank
sent, good, and failed requests (previously these were fudged) * a few small bug fixes. Please see the Changes file for complete details. Happy benchmarking! -Adi

Re: Apache Bench

2001-12-01 Thread Adi Fairbank
could also just use the my Perl version of ab which has most of the same functionality as ab. Let me know if it works for you. -Adi Joshua Chamas wrote: > > Last I checked, ab which comes with Apache, had not yet been ported > to NT/2000 officially. However, there does seem to be a po

Re: [challenge] new mod_perl site

2001-11-14 Thread Adi Fairbank
newest ab) due to my laziness. BTW Stas, the next update with Keep-Alives is almost ready. Next will be authentication and proxy support, then SSL support. my 2c. -Adi -- We are Linux. Resistance is an indication that you missed the point.

[ANNOUNCE] ApacheBench 0.61 released

2001-10-22 Thread Adi Fairbank
an now be added to HTTP requests * removed 512 byte hard-coded maximum size of HTTP requests; now requests can be arbitrarily large * all HTTP requests are now stored and accessible via regression methods * improved documentation Have fun! Adi -- The uploaded file ApacheBench-0

Re: [OT] Re: DB_File needs compatible versions

2001-10-02 Thread Adi Fairbank
only work if you don't need it for anything. -Adi [EMAIL PROTECTED] wrote: > > I have seen this one before, you will have to recompile DB_File.pm. Maybe > someone can shade some light of why this happen, anyways here's how I fix it. > > 1) I changed the symlink of db.

Re: [OT] New Micro$oft vulnerability?

2001-09-18 Thread Adi Fairbank
I wish someone would just write a worm that would put these IIS machines out of their misery and stop causing the rest of us such a headache. Nick Tonkin wrote: > > Sorry for the off-topic post; there was a lot of discussion here of > CodeRed and Reuven's module to report attempted attacks. > >

Re: "Callback called exit." x 100000

2001-09-11 Thread Adi Fairbank
I had this problem a while back and it turned out to be an infinite loop in my code. I found it by writing in better logging mechanisms which pinpointed exactly where the infinite loop was. HTH, Adi Christoph Bergmann wrote: > > Hi... > > I have a problem with an apache_mod_perl-

Re: Apache::Session::File and free memory weirdness

2001-08-30 Thread Adi Fairbank
swap). So I was going to test the mlockall() Linux system call to see if it made a difference. (Search the archives for "mlockall"). However, I am using the Linux platform - the VM behavior may be totally different on Solaris. If anyone else has some time to play with mlockall() on Linux, I'd like to know the results. It'll be a few more weeks till I get a chance. -Adi

Re: ODBC for Apache

2001-07-27 Thread Adi Fairbank
nyone have any experience with it in a production environment? Is it at least stable with MS SQL server? -Adi

Re: swapping of mod_perl parent process / mlockall()

2001-07-16 Thread Adi Fairbank
Doug MacEachern wrote: > > On Tue, 26 Jun 2001, Adi Fairbank wrote: > > > > > If this is the case, it would be helpful to prevent the parent process from > > *ever* swapping to disk. > > > > The Linux kernel has a system call mlockall() which disable

swapping of mod_perl parent process / mlockall()

2001-06-26 Thread Adi Fairbank
not sure where in the mod_perl source to call mlockall(). It would need to be before the parent spawns any children.. Has anyone tried using Linux's mlockall()/mlock() with mod_perl? -Adi

Re: Real Widgets and Template Languages

2001-05-23 Thread Adi Fairbank
JS10, etc. But either one is fine with me. Sounds fun! -Adi Stephen Adkins wrote: > > Hi, > > I will step up to write this code. (if it is what I think it is) > I have responded to the message by beginning a requirements document. > >http://www.officevision.com/pub/HTM

Re: Real Widgets and Template Languages

2001-05-22 Thread Adi Fairbank
rt is getting people to write the widget objects. -Adi

Re: an unusual [job request] + taking mod_perl to the commercialworld

2001-04-29 Thread Adi Fairbank
On Sat, 28 Apr 2001, Gunther Birznieks wrote: [text cut] > > So for Adi -- I think the messaging server is great and I am sure it is > cool and works well. And I am sure there are people on this list who will > benefit. But unless your company makes the healthcare system

Re: an unusual [job request] + taking mod_perl to the commercialworld

2001-04-27 Thread adi
althcare parties who require a secure environment (we run it behind our SSL server). We are planning on releasing it as soon as we can fully separate it from the rest of our code. Mostly just wanted to let people know in case they were in need of something like this and were thinking of developing it themselves. Cheers, - Adi

Re: mod_perl shared memory with MM

2001-02-28 Thread Adi Fairbank
u? I just didn't like all those warnings in the IPC::Open2 and perlipc man pages. -Adi Sean Chittenden wrote: > > The night of Fat Tuesday no less... that didn't help any > either. ::sigh:: > > Here's one possibility that I've done in the pa

Re: mod_perl shared memory with MM

2001-02-28 Thread Adi Fairbank
this option has worked _very_ well for me in the past. -sc > Yeah, I do use that method for all my read-only data, but by definition the persistent session cache is *not* read-only... it gets changed on pretty much every request. -Adi

Re: mod_perl shared memory with MM

2001-02-27 Thread Adi Fairbank
Perrin Harkins wrote: > > Adi Fairbank wrote: > > > > I am trying to squeeze more performance out of my persistent session cache. In > > my application, the Storable image size of my sessions can grow upwards of > > 100-200K. It can take on the order of 200ms f

mod_perl shared memory with MM

2001-02-27 Thread Adi Fairbank
supported multi-dimensional Perl data? My other question is: since this will be somewhat moot once Apache 2.0 + mod_perl 2.0 are stable, is it worth the effort? What's the ETA on mod_perl 2.0? Should I spend my effort helping with that instead? Any comments appreciated, -Adi

[OT] Re: mkdir function syntax

2001-02-27 Thread Adi Fairbank
. It also requires a second MODE parameter, but likely not on the mac. You'll also need to change 22 to 22 in order for CGI.pm to get your ProjectNumber correctly. -Adi

Re: [ANNOUNCE] Apache::SOAP 0.47 (mod_soap)

2001-02-24 Thread Adi Fairbank
ization speed is significantly better. Cheers, -Adi Paul Kulchenko wrote: > > > you are dedicated to supporting the full SOAP API (not sure what > > SOAP::Lite leaves out). > First thing I did seven months ago was my email to Keith Brown > (author of DM's SOAP/Perl module)

[ANNOUNCE] ApacheBench 0.60

2001-02-23 Thread Adi Fairbank
The uploaded file ApacheBench-0.60.tar.gz has entered CPAN as file: $CPAN/authors/id/A/AD/ADIRAJ/ApacheBench-0.60.tar.gz size: 51190 bytes md5: e2325d7f89e32fecb6f76643ae38f7ed No action is required on your part Request entered by: ADIRAJ (Adi Fairbank) Request entered on: Fri, 23

Re: Response time under mod_perl

2000-12-07 Thread Adi Fairbank
e system in milliseconds. Please, have anyone any idea what function I can >use? > > Try the Time::HiRes module on CPAN. > Or HTTPD::Bench::ApacheBench if you want to see response time from the perspective of the client. -Adi

Re: Apache User Creation

2000-12-01 Thread Adi Fairbank
Manhar, HTTPD-User-Manage is exactly what you're looking for. Get it from CPAN at: http://www.cpan.org/modules/by-authors/id/L/LD/LDS/HTTPD-User-Manage-1.54.tar.gz -Adi > Manhar Goindi wrote: > > Hi, > > Are there any APIs available in Apache modperl which can be use

Re: AuthCookie

2000-11-24 Thread Adi Fairbank
xpires:" header. If you click reload, it will actually hit the server and show you your login script page again. HTH, -Adi Kiran Kumar wrote: > > Hi, > I have Installed AuthCookie Module but it does not work on netscape (4.7) > but works on IE . >In netscape after

Re: two identical directives in configuration (doc patch included)

2000-11-18 Thread Adi Fairbank
Dave Kaufman wrote: > > "Adi Fairbank" <[EMAIL PROTECTED]> wrote: > > Dave Kaufman wrote: > > > > > > $Location{"blah"} = { > > > require => "group payer_manager, payer_group demo" > > > }; > > &

Re: two identical directives in configuration (doc patch included)

2000-11-17 Thread Adi Fairbank
ments in $Location{} directives. The most logical seems to be what Tom suggested: require => ["group payer_manager", "payer_group demo"] I'd be happy to submit patches if I got a go ahead from Doug that this would be useful. -Adi - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: two identical directives in configuration (doc patch included)

2000-11-17 Thread Adi Fairbank
Dave Kaufman wrote: > > i belive it is. in fact, i didn't realize specifing two require coditions (one >group and one user) worked on *separate* lines :) > > something like: > > $Location{"blah"} = { > require => "group payer_manager, payer_group demo" > }; > > should do the trick. > > -d

Re: two identical directives in configuration

2000-11-17 Thread Adi Fairbank
7;t work. Maybe I'll have a looksee at the source code. -Adi Tom Lancaster wrote: > > I think require => ["group payer_manager", "payer_group demo"] should do it. > > On Fri, Nov 17, 2000 at 01:11:09PM -0500, Adi Fairbank wrote: > > Say I have a $Direc

two identical directives in configuration

2000-11-17 Thread Adi Fairbank
uot;group payer_manager", require => "payer_group demo", }; Obviously this won't work because the second "require => " directive will clobber the first. So what's the workaround? I coul

Re: SSL/encryption & mod_perl

2000-11-07 Thread Adi
"B. Burke" wrote: > > I've got a question related to encryption and mod_perl. I'm running > an apache mod_perl server (AIX and Linux platforms) to serve HTML > forms, query backend databases, and print formatted results. I currently > use .htaccess for authentication, although this will probabl

Re: how to really bang on a script?

2000-10-30 Thread Adi
"Christopher L. Everett" wrote: > > Adi wrote: > > > > martin langhoff wrote: > > > > > > Chris, > > > > > > i'd bet my head a few months ago someone announced an apache::bench > > > module, that would take a

Re: how to really bang on a script?

2000-10-29 Thread Adi
rks and logs. CPAN is your friend, also. It was HTTPD::Bench::ApacheBench. It is a Perl API to ab. It doesn't take a log per se, it simply sends sequences of HTTP requests and benchmarks the results. I'm sure you could very easily write a script to parse a log and then make a benchmarking run out of it. -Adi

Re: XML help (offtopic)?

2000-10-18 Thread Adi
n XML system to use the SOAP standard. BTW, has anyone played with these SOAP modules much? Specifically, are they well-written / optimized for mod_perl? -Adi Geoffrey Gallaway wrote: > > I know this isnt the right place to ask this question but if someone could > at least fill me in a

(possible bug) PerlAccessHandler called twice?

2000-09-28 Thread Adi
er should be called twice, the second time from within Apache? Also, is there a better way I should go about accomplishing my desired goal of only allowing proxy-through requests to the mod_perl server? -Adi

[ANNOUNCE] new module HTTPD::Bench::ApacheBench

2000-09-26 Thread Adi
tead of ab. > Yes, I'll be looking at it extensively in the next few months. So I might just take it over. :) -- The uploaded file ApacheBench-0.51.tar.gz has entered CPAN as file: $CPAN/authors/id/A/AD/ADIRAJ/ApacheBench-0.51.tar.gz size: 46603 bytes md5: d9e5bd5550

[ANNOUNCE] new module ApacheBench

2000-09-21 Thread Adi
ual. Download the full package at http://adiraj.org/sw/ApacheBench/ApacheBench-0.5.tar.gz. Enjoy. -Adi --- NAME ApacheBench - Perl API for Apache benchmarking and regression testing. SYNOPSIS use ApacheBench; my $b = ApacheBench->new; # global configurat

Re: A precision about "All RAM Consumed" in the manual

2000-08-25 Thread Adi
I'm there, anyone can recommend me a way to hunt the memory > leak of my modules? I've inherit an already well developped site that > leak a lot and I'd like to trap those memory leaking... I'm on Solaris, > if that can help... Apache::Leak -Adi

Re: Proxy setup w/ SSL

2000-08-08 Thread Adi
approach is to use a load-balanced set of proxy/SSL servers, as Stas describes in the guide. Commodity PC hardware running Linux has a much better performance/price ratio than expensive, single-purpose SSL accelerators. -Adi

Re: Where to get benchmarking utilities?

2000-07-12 Thread Adi
release in a week or two. Sounds like you don't need much more than ab at the moment though. -Adi Rich Lemanski wrote: > > Hello all, > > I just visited Stas Bekman's Benchmarking Applications page at: > http://thingy.kcilink.com/modperlguide/performance/Benchmarking_App

Re: Hope you didn't miss me too much

2000-07-09 Thread Adi
Must be nice being your own boss! I think we missed not just your technical expertise but also your moral guidance (don't worry though, there wasn't another eToys thread). Glad to have you back... -Adi "Jeffrey W. Baker" wrote: > > I got a three week vacation fr

Re: [OT] Apache Bench (ab.c) written as perl XS module?

2000-06-21 Thread Adi
(everyone) for the responses, I'll get back to you all when we have something concrete. -Adi Stas Bekman wrote: > > Adi, I've already implemented a part of the thing you are talking about. > At least the core of it. At this point I've the framework for benchmarking > suit

[OT] Apache Bench (ab.c) written as perl XS module?

2000-06-21 Thread Adi
perfectly except for the fact that its just not fast enough. It would be perfect if we could integrate ab with LWP. So, just wanting to get general feedback from the LWP community on whether such software would be useful to others. -Adi

developer wanted

2000-05-16 Thread Adi
unity. Experience in one or more of the following desired: - Apache, perl, mod_perl - CGI.pm - DBI - XML - FreeBSD and/or Linux kernel - Oracle, Postgres, or MySQL We are located in Raleigh, NC. Please forward inquiries to [EMAIL PROTECTED] -Adi

Re: speed up/load balancing of session-based sites

2000-05-08 Thread Adi
..." > > Can anyone quantify this a bit? On my site, I *need* to use server-side session objects. I am storing data that the user should not be allowed to modify. The session data is used directly by the server to determine what data to send to users in different cases. If it were passed in the cookie, a malicious user could take advantage of this and change the state of their session at will. -Adi

Re: Newbie Question -

2000-05-05 Thread Adi
Jim Winstead wrote: > > On May 05, Adi wrote: > > You can still use CGI.pm from within mod_perl (and you should). There is > > nothing better at handling data passed from a browser via HTTP POST and/or > > GET. If you currently use CGI.pm, I think you'll find t

Re: Newbie Question -

2000-05-05 Thread Adi
browser via HTTP POST and/or GET. If you currently use CGI.pm, I think you'll find that a lot of your current code can simply be cut-and-pasted into a mod_perl setup. -Adi

Re: Cookies and redirection

2000-05-02 Thread Adi
Did you call $r->send_http_header before you returned REDIRECT ? Cookies reside in the HTTP header, so you need to send it. 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 doin

Re: speed up/load balancing of session-based sites

2000-04-28 Thread Adi
"Jeffrey W. Baker" wrote: > > On Fri, 28 Apr 2000, Adi wrote: > > > Joshua Chamas wrote: > > > How many writes and session ties per second does this system > > > handle, and what kind of db are you using. Currently the NetApp > > > NFS fil

Re: speed up/load balancing of session-based sites

2000-04-28 Thread Adi
"Jeffrey W. Baker" wrote: > > On Fri, 28 Apr 2000, Adi wrote: > > > "Jeffrey W. Baker" wrote: > > > > > > On Fri, 28 Apr 2000, Dan McCormick wrote: > > > > > > > "Jeffrey W. Baker" wrote: > > > > >

Re: speed up/load balancing of session-based sites

2000-04-28 Thread Adi
/sec on that hardware, it is a scalable solution. All decent DBMSes are multi-threaded and scale with number of CPUs. Is the NetApp NFS approach as scalable ? I don't know enough about it to compare... Sorry for not providing exact benchmark numbers.. -Adi

Re: speed up/load balancing of session-based sites

2000-04-28 Thread Adi
taking a hash already tied to a DB_File (via Apache::ASP) and then trying to tie it to a DBMS via Tie::DBI. At best, you'd have two copies of your session data, but most likely it wouldn't work. -Adi

Re: Implementing security in CGI

2000-04-19 Thread Adi
e other ways to auto-logout - I thought doing it outside of mod_perl is a good idea just to take some load off of it. -Adi Jeff Beard wrote: > > This is a question for comp.infosystems.www.authoring.cgi. > > But since I'm here... > > I would check for the cookie every time

Re: [OT] LWP: Regression testing a mod_perl server

2000-04-18 Thread Adi
r on mine (I just started working on it today). Thanks for the LWP list ref.. I'll post the question there. -Adi Stas Bekman wrote: > > First I work on a similar suite as well. I didn't want to announce it yet, > before I get some things working. But since you've mention

[OT] LWP: Regression testing a mod_perl server

2000-04-18 Thread Adi
/localhost/uri3')); } # this code will only send 3 requests to the webserver, NOT 15 Has anyone done similar work making a regression test using LWP ? Is there an easy way to turn off this caching behavior? -Adi

Apache::Session and IPC::Semaphore

2000-04-07 Thread Adi
I get an intermittent error using Apache::Session while trying to tie a session. It occurs sometimes and the only way to fix it I've found is to reboot. The weird thing is that I change nothing and rebooting fixes it. Looks like a semaphore problem. Why would the call: new IPC::Semaphore g

Re: [RFI] URI escaping modules?

2000-03-28 Thread Adi
I use URI::Escape. Check CPAN. It allows you to customize which characters to escape if you don't like the default. -Adi Ed Loehr wrote: > > I just noticed that Apache::Util::escape_uri does not escape embedded '&' > characters as I'd expected. What is

Re: Apache::ASP

1999-11-02 Thread Adi
@c[0]={'k1','v1','k2','v2'}; @c[1]={'k3','v3','k4','v4'}; $Session->{'array'} = [ @c ]; print $Session->{'array'}->[0]->{'k1'},"\n"; @e = @{$Session->{'array'}}; print $e[0]{'k1'},"\n"; DBI handles should be storable also, just be sure to use anonymous hash syntax, since they are blessed hashes. - Adi

Re: Redhat httpsd with mod_perl

1999-10-23 Thread Adi
sk always chugs for a sec right before it happens. Sorry for bothering you with this.. I feel sheepish now that it looks like just a disk swap issue. Is it normal for mod_perl apache processes to forget their shared memory when they come out of swap? - Adi

Re: Redhat httpsd with mod_perl

1999-10-21 Thread Adi
minutes, and reload VMonitor after a period of no activity. I couldn't test exiting the Apache child, since it isn't a gradual dropoff. BTW, how do you terminate an Apache child process from within mod_perl? Thanks, - Adi Randy Harmon wrote: > > On Wed, Oct 20, 1999 at 10:47:02PM

Re: Redhat httpsd with mod_perl

1999-10-20 Thread Adi
ours do. It looks like a memory leak. Does anyone know why the shared memory would decrease so dramatically? Initially virtually all of the 10M size is shared, then it decreases to about 3M. I'm using Apache::ASP->Loader to pre-load all my .asp scripts, and have all the modules I use pre-loaded into the parent server with PerlModule's. - Adi

Re: Apache::ASP - accessing Session data from Application

1999-10-19 Thread Adi
Yeah, I'd be happy to. I'm not quite done with my app-specific version, but once I get done I'll genericize it and send it along. I'll have to write up some documentation, too. It'll probably be a week or two before I have something worthy of publication. -

Re: Apache::ASP - accessing Session data from Application

1999-10-19 Thread Adi
llow controlled access to other sessions. Anyway, just thought I'd mention this, though I'm sure you already realized it. You might want to put a note in your API documentation to take care not to reveal the SessionID when you use GetSession. - Adi Joshua Chamas wrote: > &g

Re: Apache::ASP - accessing Session data from Application

1999-10-18 Thread Adi
;); > > print $sessobj->{'foo'}; > > > > That way I wouldn't have to go through all my code adding Session data to > > Application. :) How hard would implementing such a method be? > > > > Not terribly. > Could I do it? It seems this is the best solution for my problem. Do you think there's a better way? - Adi

Re: Apache::ASP - accessing Session data from Application

1999-10-18 Thread Adi
ementing such a method be? Yes, I'm using DB_File to store data, so the size won't be a problem. BTW, are there still problems using Storable with DB_File? Thanks again, Adi Joshua Chamas wrote: > > You end up having to add the information that you want > to $Application yourself, and cleaning that up in > Session_OnEnd.

Apache::ASP - accessing Session data from Application

1999-10-18 Thread Adi
s. So I only get the user data value. Any data that gets added to Session after it starts doesn't show up in $Application->{'Session'}->{'SessionID'} Is there a way to get a reference to a session object given the SessionID? If not, is there any plans on adding that feature? If not, I'd be happy to code in that functionality if no one's working on it. Adi