Re: Question about Apache 2.4 and libapreq2 (Apache2::Request)

2017-01-19 Thread Issac Goldstand
That release was canceled due to lack of votes, but regardless there was very little effective difference between that and 2.13 - mostly around tests, docs and build scripts. 2.13 should run just fine on 2.4 Issac On 1/19/2017 6:30 AM, Jie Gao wrote: There was a new release candidate over

Re: Absorb win32-apxs into httpd distro?

2016-12-14 Thread Issac Goldstand
On 12/14/2016 10:13 AM, William A Rowe Jr wrote: > Randy wrote http://www.apache.org/dist/perl/win32-bin/ > - but I'm wondering > who else here at httpd is interested in helping maintain and get this code > into our own distribution? I've shipped this fo

Re: Unable to set custom header

2015-10-06 Thread Issac Goldstand
$r->headers_out is what would go to the client. You probably want to add your headers to $r->headers_in to get it passed to the upstream server. Issac On 10/6/2015 1:11 PM, Ashish Mukherjee wrote: > Error log does not show anything. It's almost as if that piece of code > never existed! > > Th

Re: [RELEASE CANDIDATE]: mod_perl-2.0.9 RC1

2015-05-13 Thread Issac Goldstand
Awesome!!! I'll need to find some time to build and test, but huge kudos Steve! On 5/13/2015 10:55 PM, Steve Hay wrote: > Please download, test, and report back on this release candidate of > the long-awaited mod_perl 2.0.9. > > http://people.apache.org/~stevehay/mod_perl-2.0.9-rc1.tar.gz > > MD

Re: Large File Download

2015-03-28 Thread Issac Goldstand
sendfile is much more efficient than that. At the most basic level, sendfile allows a file to be streamed directly from the block device (or OS cache) to the network, all in kernel-space (see sendfile(2)). What you describe below is less effective, since you need to ask the kernel to read the dat

Re: Something wrong with CPAN ?

2014-06-09 Thread Issac Goldstand
On 09/06/2014 14:23, André Warnier wrote: > Hi guys. > > Is it only me, or does the search box in www.cpan.org not work anymore ? > > 503 Service Unavailable > No server is available to handle this request. > > (been like that for a couple of days now) Confirmed. Seen this for a week or so now

Re: Web Server Architecture

2013-09-08 Thread Issac Goldstand
On 05/09/2013 04:46, Joseph D Carroll Jr wrote: > I am new to httpd (or any web server for that matter) and I am trying to > play around with some things using Amazon Web Services. So as much as I > may be looking for an answer, I am more interested in where I can figure > all of this out. > > I

Re: mod_perl and Transfer-Encoding: chunked

2013-07-04 Thread Issac Goldstand
On 03/07/2013 23:42, Joseph Schaefer wrote: > Dechunked means it strips out the lines containing metadata about the next > block of raw data. The metadata is just the length of the next block of data. > Imagine a chunked stream is like having partial content length headers > embedded in the dat

Re: mod_perl and Transfer-Encoding: chunked

2013-07-04 Thread Issac Goldstand
On 03/07/2013 23:26, Jim Schueler wrote: > >> Second, if there's no Content-Length header then how >> does one know how much >> data to read using $r->read? >> >> One answer is until $r->read returns zero bytes, of >> course. But, is

Re: mod_perl and Transfer-Encoding: chunked

2013-07-04 Thread Issac Goldstand
On 03/07/2013 21:53, Joseph Schaefer wrote: > When you read from the input filter chain as $r->read does, the http > input filter automatically handles the protocol and passes the dechunked > data up to the caller. It does not spool the stream at all. > > You'd have to look at how mod perl impleme

Re: New Windows mod_perl binaries available

2013-04-29 Thread Issac Goldstand
, > > Thanks for your response. > On Mon, Apr 29, 2013 at 12:54 PM, Issac Goldstand > wrote: > >> This is a known issue related to the winnt MPM. You're likely seeing >> your worker segfault. On linux, there are usually extra processes so if >> one segf

Re: New Windows mod_perl binaries available

2013-04-29 Thread Issac Goldstand
This is a known issue related to the winnt MPM. You're likely seeing your worker segfault. On linux, there are usually extra processes so if one segfaults there's another process that can step in fast enough. But on the winnt MPM, there's one master and exactly one multi-threader worker. So whe

Re: highscalability.com report

2012-04-04 Thread Issac Goldstand
On 04/04/2012 10:31, William A. Rowe Jr. wrote: > On 4/3/2012 9:50 PM, Jim Schueler wrote: >> Hope this doesn't get trapped by too many spam filters. >> >> Sad news. Just saw a blog >> >> http://www.highscalability.com/ >> >> that reports YouPorn.com switched from Perl to PHP. Apparently there'

Re: Problem with long http request generation time - process restarting

2011-12-14 Thread Issac Goldstand
That stinks of a segfault. The admission to using Windows at the end makes me suspect it even more, as Windows has an unfortunate habit, due to the MPM implementation, of a thread segfault taking the whole server down with it, causing a several second delay while it cleans up the old process and r

Re: How to configure mod_perl files in Apache , i mean where to put them?

2011-11-17 Thread Issac Goldstand
l > where to put them ? physically ? relative to what in which directory ? > also where to configure the path to this directory. > Thanks > > On Thu, Nov 17, 2011 at 4:34 PM, Issac Goldstand <mailto:mar...@beamartyr.net>> wrote: > > On 17/11/2011 16:27, Meir Yanovich

Re: How to configure mod_perl files in Apache , i mean where to put them?

2011-11-17 Thread Issac Goldstand
On 17/11/2011 16:27, Meir Yanovich wrote: > There lots of tutorials on the web on how to configure the mod_perl > filters but info i didn't understand and its like no where written , > where to put them and how to tell mod_perl/apache about there path > /location . i mean only the filters part not

Re: Internal apreq error

2010-12-04 Thread Issac Goldstand
Try setting LogLevel to debug? On 03/12/2010 18:24, Rolf Schaufelberger wrote: > Hi, > > (server Apache/2.2.14, OS Ubunto 10.04 LTS, libapreq 2.12.2 ) > > I'm getting sometimes an > > Internal apreq error > > which appears in my apache log with no more information that just that string. > I w

[RELEASE CANDIDATE] libapreq2 2.13 RC

2010-11-25 Thread Issac Goldstand
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 After a year and a half, the apreq team would like to release version 2.13 of libapreq. Please test and vote on the following tarball: http://people.apache.org/~issac/libapreq2-2.13.tar.gz http://people.apache.org/~issac/libapreq2-2.13.tar.gz.asc h

Re: ApacheCon

2010-10-05 Thread Issac Goldstand
On 05/10/2010 18:56, Fred Moyer wrote: > Anyone going to Apachecon in Atlanta this year? > > http://na.apachecon.com/c/acna2010/ Not sure yet

Re: [RELEASE CANDIDATE] Apache-Test-1.33 RC1

2010-09-11 Thread Issac Goldstand
On 9/11/2010 4:32 PM, Torsten Förtsch wrote: > On Saturday, September 11, 2010 08:38:46 Fred Moyer wrote: >> http://people.apache.org/~phred/Apache-Test-1.33-rc2.tar.gz +1 Debian Lenny (5.0.6) Server version: Apache/2.2.14 (Unix) Server built: May 23 2010 23:00:52 Summary of my perl5 (revisi

Re: Caveats to using Perl Sections for server configuration?

2010-01-15 Thread Issac Goldstand
FWIW, you can look at the source of Apache::UploadMeter to see an example of sections in use - they're actually called during the httpd.conf parsing triggered by statements found in the httpd.conf Issac Perrin Harkins wrote: > I don't use them, but in a startup.pl you would be in a different p

Re: Plack

2009-10-15 Thread Issac Goldstand
Whaddaya know... Ironically, this might have saved Plone at my workplace had I known that this was on the way. We were looking at writing custom WSGI components in Python and shuddering (well, I was shuddering) Jonathan Vanasco wrote: > > Has anyone here played with Plack yet ? ( http://plackper

Re: mod_perl handler and PHP

2009-03-21 Thread Issac Goldstand
daniel.angil...@imperia.net wrote: > > Hello, > > I found a way to parse the output of mod_perl through PHP with debian > linux. > > > PHP has to be compiled with "apxs2filter": > -- > "apt-get install apache2-threaded-dev" > for apxs2 > > download latest php >

[RELEASE CANDIDATE] libapreq2 2.11

2009-01-20 Thread Issac Goldstand
The apreq developers are planning a maintenance release of libapreq2. This version addresses several bugfixes and includes new features. Changes since the last release version include: - Interactive CGI module [issac] Allow cgi module to interactively prompt for parameters and cookies when ru

[OT] Re: unsubscribe

2009-01-19 Thread Issac Goldstand
It is already included. Check your headers. list-help: list-unsubscribe: List-Post: Michael Ludwig wrote: > Try: modperl-unsubscr...@perl.apache.org > > Maybe it would help to hav

CFP Open For ApacheCon Europe 2009

2008-10-02 Thread Issac Goldstand
The Call for Papers for ApacheCon Europe 2009, to be held in Amsterdam, from 23rd to 27th March, is now open! Submit your proposals at http://eu.apachecon.com/c/aceu2009/cfp/ before 24th October. Remember that early bird prices for ApacheCon US 2008, to be held in New Orleans, from 3rd to 7th Nov

Re: [OT] Solaris + Apache 2.2 / PHP 5 cluster config help

2008-05-20 Thread Issac Goldstand
Perrin Harkins wrote: On Sun, May 18, 2008 at 8:05 AM, Issac Goldstand <[EMAIL PROTECTED]> wrote: Also, do people have concrete benchmarks of keeping a read-only replication mysql on the webservers vs a single read/write shared mysql server? Any time you can spread the reads over mu

[OT] Solaris + Apache 2.2 / PHP 5 cluster config help

2008-05-18 Thread Issac Goldstand
Hi all, I know that bits and pieces of high-load configuration questions have been posted to this list ([EMAIL PROTECTED]) and am CC-ing the mod_perl folks (since I know there are a bunch of knowledgeable people on the subject lurking there, but please post responses to [EMAIL PROTECTED]), but

Re: [ANNOUNCE] mod_perl-2.0.4

2008-04-17 Thread Issac Goldstand
I think we knew that (or am I getting mixed up with the mp1 RC?) and it was supposed to be a known issue... Issac Foo JH wrote: Alas, I have bad news to report: Tech stack: Windows 2003 Server Apache 2.2.4 Perl 5.10.0 mod_perl 2.0.4 from 10xx/ path Observations: 1. mod_perl is able to st

[OT] Re: Apache configuration question - restrict folder access to local machine only

2008-04-11 Thread Issac Goldstand
This really belongs on [EMAIL PROTECTED], but having been asked already... You could put it into a separate VirtualHost container, which listens on 127.0.0.1 Then you don't need to worry about Allow from to begin with. Issac John Zhang wrote: I have this question, and not sure if this is

Re: [RELEASE CANDIDATE] mod_perl-1.31 RC4

2008-04-03 Thread Issac Goldstand
Randy Kobes wrote: On Wed, 2 Apr 2008, Issac Goldstand wrote: Philippe M. Chiasson wrote: The mod_perl 1.31 release candidate 4 "Works with Perl 5.10" is ready. It can be downloaded here: [ ... ] win32 vc6 FAIL Sorry folks, still segfaulting. Backtrace below: I also get thi

Re: [RELEASE CANDIDATE] mod_perl-2.0.4 RC1

2008-04-03 Thread Issac Goldstand
Randy Kobes wrote: On Tue, 1 Apr 2008, Philippe M. Chiasson wrote: The mod_perl 2.0.4 release candidate 1 "Works with Perl 5.10" is ready. It can be downloaded here: http://www.apache.org/~gozer/mp2/mod_perl-2.0.4-rc1.tar.gz MD5: 1f0a941e8b5f26b6102126ae67ddbb43 SHA1: 8b2ceede3c783b9b2cc

Re: [RELEASE CANDIDATE] mod_perl-1.31 RC4

2008-04-02 Thread Issac Goldstand
Randy Kobes wrote: On Wed, 2 Apr 2008, Issac Goldstand wrote: Philippe M. Chiasson wrote: The mod_perl 1.31 release candidate 4 "Works with Perl 5.10" is ready. It can be downloaded here: [ ... ] win32 vc6 FAIL Sorry folks, still segfaulting. Backtrace below: I also get thi

Re: [RELEASE CANDIDATE] mod_perl-2.0.4 RC1

2008-04-02 Thread Issac Goldstand
William A. Rowe, Jr. wrote: Issac Goldstand wrote: Ahem, On that subject, libapreq1 is already a year and a half into it's latest release cycle. We're still waiting for a PMC vote to finish the release... Someone remind me to do a lightning talk about this next time I'm

Re: [RELEASE CANDIDATE] mod_perl-2.0.4 RC1

2008-04-02 Thread Issac Goldstand
Ahem, On that subject, libapreq1 is already a year and a half into it's latest release cycle. We're still waiting for a PMC vote to finish the release... Someone remind me to do a lightning talk about this next time I'm at AC :) Foo JH wrote: Fantastic! Can I assume that libapreq will be

Re: [RELEASE CANDIDATE] mod_perl-1.31 RC4

2008-04-02 Thread Issac Goldstand
Issac Issac Goldstand wrote: win32 vc6 FAIL Sorry folks, still segfaulting. Backtrace below: NTDLL! 7c918fea() NTDLL! 7c90104b() PerlIOUnix_open(interpreter * 0x009a4084, _PerlIO_funcs * 0x280cb548 _PerlIO_unix, PerlIO_list_s * 0x008230fc, long 0, const char * 0x280be174 `string', int

Re: [RELEASE CANDIDATE] mod_perl-1.31 RC4

2008-04-02 Thread Issac Goldstand
win32 vc6 FAIL Sorry folks, still segfaulting. Backtrace below: NTDLL! 7c918fea() NTDLL! 7c90104b() PerlIOUnix_open(interpreter * 0x009a4084, _PerlIO_funcs * 0x280cb548 _PerlIO_unix, PerlIO_list_s * 0x008230fc, long 0, const char * 0x280be174 `string', int 0, int 0, int 0, _PerlIO * * 0x0

Re: modperl with SSL

2008-03-24 Thread Issac Goldstand
a backend server - the server that REALly serves the request. Foo JH wrote: What is a realserver? J. Peng wrote: hello list, we have our own realserver called QHttpd. This realserver doesn't support SSL protocal (https). So I have to develop a proxy before QHttpd to get it be compatible wit

Re: [RELEASE CANDIDATE] mod_perl-1.31 RC3

2008-03-01 Thread Issac Goldstand
Built APSource-1002 using default settings and had the same segfault. Randy Kobes wrote: On Thu, 28 Feb 2008, Issac Goldstand wrote: Steve Hay wrote: Issac Goldstand wrote: win32 (xp sp2, vc6 - no SDK upgrade) - Apache 1.41 binary - ActivePerl 5.10 (build 1002) FAIL (sorry, folks

Re: [RELEASE CANDIDATE] mod_perl-1.31 RC3

2008-02-29 Thread Issac Goldstand
hu, 28 Feb 2008, Issac Goldstand wrote: Steve Hay wrote: Issac Goldstand wrote: win32 (xp sp2, vc6 - no SDK upgrade) - Apache 1.41 binary - ActivePerl 5.10 (build 1002) FAIL (sorry, folks) Segfault at startup. I wonder if this is caused by mis-matched CRTs? ActivePerl is built using VC6 (and

Re: [RELEASE CANDIDATE] mod_perl-1.31 RC3

2008-02-28 Thread Issac Goldstand
Steve Hay wrote: Issac Goldstand wrote: win32 (xp sp2, vc6 - no SDK upgrade) - Apache 1.41 binary - ActivePerl 5.10 (build 1002) FAIL (sorry, folks) Segfault at startup. I wonder if this is caused by mis-matched CRTs? ActivePerl is built using VC6 (and therefore uses MSVCRT.dll

Re: [RELEASE CANDIDATE] mod_perl-1.31 RC3

2008-02-26 Thread Issac Goldstand
win32 (xp sp2, vc6 - no SDK upgrade) - Apache 1.41 binary - ActivePerl 5.10 (build 1002) FAIL (sorry, folks) Segfault at startup. last line in mod_perl-land: mod_perl.c : 704 status = perl_parse(perl, mod_perl_xs_init, argc, argv, NULL); I can't download the AS perl source - it keeps st

Re: Visual Studio 2008 and ActiveState Perl 5.10 updates

2007-12-29 Thread Issac Goldstand
William A. Rowe, Jr. wrote: > Issac Goldstand wrote: >> -0.5 >> >> I would actually like to see builds prepared against MSVCRT80, which is >> available in the Vista SDK's bundled free compiler, rather than having >> users need to download the SDK + VS Express

Re: Visual Studio 2008 and ActiveState Perl 5.10 updates

2007-12-29 Thread Issac Goldstand
-0.5 I would actually like to see builds prepared against MSVCRT80, which is available in the Vista SDK's bundled free compiler, rather than having users need to download the SDK + VS Express Edition + configure the one to find and work with the other (a royal pain). As long as the latest SDKs ar

Re: REST

2007-11-27 Thread Issac Goldstand
Excellent question, and very easily doable. You want to look at the PerlTransHandler http://perl.apache.org/docs/2.0/user/handlers/http.html#PerlTransHandler Issac Beginner wrote: > Hi, > > I hope this isn't a dumb question. > > I want to try and create a small REST style installation and

Re: Hook Ordering

2007-11-27 Thread Issac Goldstand
Access handler always comes *before* authentication/authorization. Maybe add the legal agreement as part of the authorization handler or as a Fixup handler? See http://perl.apache.org/docs/2.0/user/handlers/http.html#HTTP_Request_Cycle_Phases Issac David Eisner wrote: > We have a section of ou

Re: dev environment

2007-11-05 Thread Issac Goldstand
For what it's worth, that's exactly how I handle my dev environments. Samba share on a VMware machine configured the same as the server. The samba share is taken from subversion (eg, a local working copy) and I can manage commits even from windows systems. I also have the advantage of having the

Re: UDP support in mod_perl2/apache

2007-11-01 Thread Issac Goldstand
I put out a patchset a few months ago to support UDP in trunk and 2.2.x branches of httpd (for a mod_dns protocol module that we're currently in the process of releasing to the public). The patchset only works for the unix flavor of APR and the prefork MPM at the moment (I'm sure if it gets adopt

Re: Test Server

2007-10-16 Thread Issac Goldstand
I've had amazing experience setting up development sandboxes with VMWare Workstation and deploying them on Player (which means less investment in licenses). I use MySQL replication from the live server for keeping the DBs in sync and SVN for file management. If I've got people who use win32 as th

Re: redirect

2007-10-06 Thread Issac Goldstand
ut instead of actually automatically > referring me, it displayed an error with a link that "the paged has moved" > or something of that sort. > > > -Original Message- > From: Issac Goldstand [mailto:[EMAIL PROTECTED] > Sent: Saturday, October 06, 2007 6:1

Re: redirect

2007-10-06 Thread Issac Goldstand
Send a Location: header back instead of a full response and return HTTP_MOVED_TEMPORARILY from your handler. If you want/need to return a response from the page, you can alternatively use an HTML META tag in the header to accomplish the same effect. Issac Eli Shemer wrote: > Hey there, > > I

Re: Downloading SpreadSheet Data with Apache

2007-09-22 Thread Issac Goldstand
Make sure that you set a TimeOut in httpd.conf greater than your script's delay: http://httpd.apache.org/docs/2.2/mod/core.html#timeout Issac Tyler Bird wrote: Michael Peters wrote: Tyler Bird wrote: I run this script and the log files show the incrementing numbers in the for loop, but

Re: apr

2007-09-15 Thread Issac Goldstand
Probably because the $r you're passing it is just "Apache2::RequestRec" and not really the request object that Apache2::Request wants... Issac Eli Shemer wrote: > Hey again > > Once I add the apr object I get no error but I also receive no output on > the screen. > > Any thoughts ? > > >

Re: post data

2007-09-15 Thread Issac Goldstand
I'd personally go with Apache2::Request (for the fast C parsers). CGI.pm is useful if you need more portable code (although Apache2::Request could be used for normal CGI these days if APR is available) Issac Eli Shemer wrote: > Hey there. > > > > I yesterday compiled and installed apache2

Re: [RELEASE CANDIDATE] libapreq2 2.09-RC2

2007-08-09 Thread Issac Goldstand
Phillip, If it helps you move along better and have more time to review both 1 & 2, I'll voulenteer to pick up RMing 2.09 in addition to 1.34 so we can get them both out the door. Let me know. Issac Philip M. Gollucci wrote: Are we going to have 2.09 release? It's been quite some time s

Re: [mp2] Segmentation faults with threaded worker-mpm

2007-06-04 Thread Issac Goldstand
I'm a bit confused here... Perrin, isn't what Jani is mentioning here exactly what Stas wanted to accomplish (well, one specific detail of what he wanted to accomplish) with mp2, with the specific result in mind of eliminating the common Apache 1 issue of using the 2 backend (mp/static) with a sin

[RELEASE CANDIDATE] libapreq 1.34-RC3

2007-05-30 Thread Issac Goldstand
The apreq developers are planning a maintenance release of libapreq1. This version primarily addresses an issue noted with FireFox 2.0 truncating file uploads in SSL mode. Additionally, the memory allocation algorithm for multipart requests has been improved. Please give the tarball at http://p

Re: Odd problem

2007-05-08 Thread Issac Goldstand
What OS? Is Perl on the system path? The Doctor wrote: > I am runnng Apache 2.059 and perl 5.8.8 . > > I am trying to compile the most recent version of mod_perl 2 > > however once install, Apache says it cannot find the so even > tough it is there. > > Pointers please. > >

[RELEASE CANDIDATE] libapreq 1.34-RC2

2007-04-27 Thread Issac Goldstand
The apreq developers are planning a maintenance release of libapreq1. This version primarily addresses an issue noted with FireFox 2.0 truncating file uploads in SSL mode. Please give the tarball at http://people.apache.org/~issac/libapreq-1.34-RC2.tar.gz a try and report comments/problems/etc.

[RELEASE CANDIDATE] libapreq 1.34-RC1

2007-04-23 Thread Issac Goldstand
The apreq developers are planning a maintenance release of libapreq1. This version primarily addresses an issue noted with FireFox 2.0 truncating file uploads in SSL mode. Please give the tarball at http://people.apache.org/~issac/libapreq-1.34-RC1.tar.gz a try and report comments/problems/etc.

Re: [Fwd: Call for Papers Opens for ApacheCon US 2007]

2007-04-16 Thread Issac Goldstand
ISn't that kind of short notice? Even for a proposal and certainly for the paper... Geoffrey Young wrote: >> The paper submission deadline is Monday, 28 April 2007, Midnight GMT. > > note that the date (april 28) is correct, but it's a saturday not a monday. > > --Geoff

Re: Apache2::Request for ActivePerl Win32

2007-03-29 Thread Issac Goldstand
Absolutely. Set up Randy Kobes's PPM repository (http://theoryx5.uwinnipeg.ca/ppms/ for latest ActivePerl with PPM4 (build 819 and above) or http://theoryx5.uwinnipeg.ca/cgi-bin/ppmserver?urn:/PPMServer58 for earlier versions). There's also a binary mod_perl2 there. Issac Kelvin Wu wrote: > H

Re: [mp2] aborting a file upload

2007-03-08 Thread Issac Goldstand
I'm not positive, but I think it's dangerous as it can screw up pipelined requests - that's why discard_request_body exists. I've cc-ed [EMAIL PROTECTED] as all the smart HTTP people hang out there :-) and maybe one of them can either confirm or correct that statement. Issac Matt Williamson w

Re: [mp2] aborting a file upload

2007-03-06 Thread Issac Goldstand
I'm not sure it's possible to abort the read. I think the server must finish the read before the client will accept any response data. IIRC, discard_request_body still performs a read on the socket; it just doesn't do anything with the read data. Issac Matt Williamson wrote: > I am trying to

Re: How to obtain the raw http content?

2007-02-13 Thread Issac Goldstand
> Foo JH wrote: >> Hi all, >> >> Can anyone point me in the right direction? I am expecting POST with >> XML content, so the usual parser won't work...I think. FYI, The libapreq (aka, Apache::Request) API (at least, the C API) lets you define your own parsers. See http://httpd.apache.org/apreq/do

Re: [RFC] two ajax-related packages

2007-02-06 Thread Issac Goldstand
Randy Kobes wrote: > On Tue, 6 Feb 2007, Issac Goldstand wrote: > >> Randy Kobes wrote: >>> I'd be interested in any comments about these >>> packages, including their names. CGI::Apache2::Ajax >>> was tentatively chosen because, first of all, it only

Re: [RFC] two ajax-related packages

2007-02-06 Thread Issac Goldstand
Randy Kobes wrote: > I'd be interested in any comments about these > packages, including their names. CGI::Apache2::Ajax > was tentatively chosen because, first of all, it only > provides CGI.pm-compatible methods that the above two Ajax-related > applications need, and also, CGI::Ajax > expects th

Re: How to extract a parameter

2007-01-16 Thread Issac Goldstand
Fred Moyer wrote: >> Issac Goldstand wrote: >> I personally never liked using CGI with mod_perl; if I'm going through >> the trouble of writing optimized handlers to make my application that >> much faster, why use a pure-perl solution that needs to do full pa

Re: How to extract a parameter

2007-01-15 Thread Issac Goldstand
Issac Goldstand wrote: > Jonathan Vanasco wrote: >> On Jan 14, 2007, at 6:45 PM, Fred Moyer wrote: >>> But it's really much easier to use CGI :) >> There's also libapreq > > OK - so out of the corner of my eye, I saw the link again as the > previou

Re: How to extract a parameter

2007-01-14 Thread Issac Goldstand
Jonathan Vanasco wrote: > On Jan 14, 2007, at 6:45 PM, Fred Moyer wrote: >> But it's really much easier to use CGI :) > > There's also libapreq OK - so out of the corner of my eye, I saw the link again as the previous mail was being copied to my sent-mail and noticed that it said RequestRec::args

Re: PerlAuthenHandler, PerlAuthzHandler, Reverse Proxy and Web Services Problem

2007-01-09 Thread Issac Goldstand
Frank Wiles wrote: > > The best way to think about it is like this: > > PerlAccessHandler > is this IP allowed? > PerlAuthenHandler > is this username allowed? > PerlAuthzHandler> is this group allowed? > Small correction: PerlAccessHandler

Re: "apxs" nor ap_release.h not found in libapach2-mod-perl

2006-12-21 Thread Issac Goldstand
Try apt-get install apache2-dev Genesis X1 wrote: > Yes i used apt-get install apache2 to install the HTTPD server. > I searched my box using find files/folders utility but couldnt locate > the file needed. > > GenesisX1 > > > On 12/21/06, Issac Goldstand <[EMAIL

Re: "apxs" nor ap_release.h not found in libapach2-mod-perl

2006-12-21 Thread Issac Goldstand
These would be in the Apache development headers, not in the mod_perl distribution. Did you install a binary package of Apache or build it yourself? If the former, you'll need to install the corresponding development package; if the latter, apxs should be installed to the httpd/bin directory.

Re: [RELEASE CANDIDATE]: Apache-Test-1.29-RC3

2006-11-24 Thread Issac Goldstand
PASS Win32 Perl-5.8.8 + Apache 2.2.3 Philip M. Gollucci wrote: > A release candidate for Apache-Test 1.29-rc3 is now available. > > http://people.apache.org/~pgollucci/at/Apache-Test-1.29-rc3.tar.gz > > Please take the time to exercise the candidate through all your existing > applications that

Re: [RELEASE CANDIDATE]: mod_perl-2.0.3 RC3

2006-11-24 Thread Issac Goldstand
PASS Win32 Perl-5.8.8 + Apache 2.2.3 Philip M. Gollucci wrote: > A release candidate for mod_perl 2.0.3-rc3 is now available for testing. > > Please grab the candidate from > http://people.apache.org/~pgollucci/mp2/mod_perl-2.0.3-rc3.tar.gz > > and report back successes or failures. When reporti

Re: Windows + MP2 in a production environment

2006-11-21 Thread Issac Goldstand
hared->Free(ptr); } __except(EXCEPTION_EXECUTE_HANDLER) { } FreeLockShared(); }; Located in win32\perlhost.h file. The crash occurs in VMem::free function probably during freeing of the block of memory there. --- END QUOTE --- Issac Iss

Re: JOB [CONTRACT] + Re: Windows + MP2 in a production environment

2006-11-21 Thread Issac Goldstand
perl/ modperl for the enterprise? I hope we can find people who can testify otherwise... Issac Goldstand wrote: YES! While it's acceptable for light and smallish applications, I've never found it to be really usable once you're serving concurrent connections. Issac Foo JH wrote

Re: Windows + MP2 in a production environment

2006-11-19 Thread Issac Goldstand
We're using 2.2.3 - Upgrading everything to the latest stable versions was the first thing we tried. Issac Foo JH wrote: > Issac Goldstand wrote: >> We were originally using 5.8.3, but reproduced the problem with both >> activeperl 5.8.8.819 with mod_perl-2.0.3-dev (from

Re: JOB [CONTRACT] + Re: Windows + MP2 in a production environment

2006-11-19 Thread Issac Goldstand
We were originally using 5.8.3, but reproduced the problem with both activeperl 5.8.8.819 with mod_perl-2.0.3-dev (from your PPM repository) as well as our own built perl + mod_perl 2.0.3-rc2 Randy Kobes wrote: > On Sun, 19 Nov 2006, Foo JH wrote: > >> Issac Goldstand wrote: >>

JOB [CONTRACT] + Re: Windows + MP2 in a production environment

2006-11-19 Thread Issac Goldstand
YES! While it's acceptable for light and smallish applications, I've never found it to be really usable once you're serving concurrent connections. On that note, I have a contract (job) offer for anyone who knows their way inside Perl (5.8) and mod_perl (2) enough to help troubleshoot a win

Re: [mp2] PAR in production?

2006-11-15 Thread Issac Goldstand
Not Sophos. ActivePerl. ActivePerl costs $0.00 to download and use, but AFAIK it's not "free software", thus the question :-) Issac Frank Wiles wrote: > On Wed, 15 Nov 2006 12:34:50 +0200 > Issac Goldstand <[EMAIL PROTECTED]> wrote: > >> Cool!

Re: [mp2] PAR in production?

2006-11-15 Thread Issac Goldstand
Cool! But, what license does it have? Foo JH wrote: Are you guys referring to this tool ActiveState released for relocating Perl: http://aspn.activestate.com/ASPN/docs/ActivePerl/5.8/site/lib/ActiveState/RelocateTree.html Frank Wiles wrote: On Mon, 13 Nov 2006 10:24:21 +0200 Issac

Re: [mp2] PAR in production?

2006-11-13 Thread Issac Goldstand
Frank Wiles wrote: I believe this is how Sophos' PureMessage installs itself. Basically putting your own Perl binary and module paths in say /usr/local/myapp/bin/perl. This is probably the best way to ensure you have full control over everything about your application. I actu

Re: [RELEASE CANDIDATE] Apache-Test-1.27 RC2 + mod_perl2.03-RC2 + apreq 2.09-RC2

2006-11-09 Thread Issac Goldstand
Win32 (VS2003) - httpd/2.2.3 - ActivePerl 5.8.8.819 PASS Apache-Test PASS mod_perl FAIL libapreq2 libapreq passed the 2 sets of C-based tests and failed the 3rd set (quite miserably), so it may just be a bug in Apache-Test. I'll look into it and send a proper bug report with details to apreq-dev

Re: Win32 ppm packages

2006-10-31 Thread Issac Goldstand
I tend to use 2.0 where I need subversion or PHP (which ship with 2.0 modules only) and 2.2 everywhere else... I personally find the naming a bit tricky (2-2.2). and would frankly rather see the modules called mod_perl20 (or mod_perl2.0) and mod_perl/libapreq22/2.2; I'd rather type the couple

Re: Authentication

2006-08-04 Thread Issac Goldstand
Not necessarily so. Like Jonathan mentioned, many huge ISPs (like AOL, for example, IIRC) route requests through load balanced transparent proxies. This can cause the same person to appear to browse from a number of different IPs - changing perhaps even more often than Jonathan reported. Issac

Re: X-Forwarded-For

2006-08-04 Thread Issac Goldstand
IIRC, it's not needed for mp2, since it's been implemented directly in mod_proxy Issac Jonathan Vanasco wrote: > my mp2 needs to get the ip of the remote address > > on some installations, mp2 is on port 80 > > on other installations, mp2 is on 80xx and the ip is in X-Forwarded-For > > i'd l

Re: Cannot load mod_perl.so

2006-05-16 Thread Issac Goldstand
You may need to add (to httpd.conf) LoadFile c:/path/to/perl/bin/perl58.dll before the LoadModule line. Issac Tracy E Schreiber wrote: > Hi, > > I hope this isn't too much of a newbie question... > > I am trying to upgrade from Apache 2.0.55 using mod_perl V1.0 to Apache > 2.2.2 using mod_per

Re: mod_proxy_add_forward

2006-05-05 Thread Issac Goldstand
In Apache 2, it's built in to mod_proxy. In Apache 1 (as of a couple of years ago, at least) it wasn't - that's why mod_proxy_add_forward was originally written :) Issac Michael Schout wrote: > David Romero wrote: >> Hi >> I need the client ip on a backend server. > > Plain old mod_proxy will

Re: Progress bar for file uploads

2006-04-28 Thread Issac Goldstand
No. Actually, the main reason it never saw a 1.0 version is because of lack of an intelligent method to configure multiple forms. Patches are welcome, though :-) Issac Barry Hoggard wrote: > On Apr 27, 2006, at 10:09 AM, Perrin Harkins wrote: >> Martin Moss wrote: >>> Does anybody know of a p

Re: How many people use the Windows combo of Apache2 + mod_perl2 ?

2006-04-26 Thread Issac Goldstand
IIRC, PerlEx was discontinued a few years ago, I think shortly after the Sophos acquisition. I've recently seen it quietly reappear in standard ActivePerl distributions, but not sure where (if anywhere) the great folks at ActiveState are going with it... Issac Philip M. Gollucci wrote: > Foo J

Re: How many people use the Windows combo of Apache2 + mod_perl2 ?

2006-04-25 Thread Issac Goldstand
I provide contracting services for a company who has a web-based (LAMP) product. Around a year ago, they got a big client who wanted the webserver to run on a win32 platform. They were using mod_perl for registry services on the old setup, and I ported them to a windows environment with mod_perl

Re: [OT] Database transaction across multiple web requests

2006-04-04 Thread Issac Goldstand
Greg Sabino Mullane wrote: > >>> Granted, I use a few MySQL features for this; I'm not sure if LIMIT >>> exists in postgresql, and I'm fairly sure that the SQL_CALC_FOUND_ROWS >>> directive (which will return the total rows in a select statement >>> regardless of the LIMIT directives) doesn't...

Re: pnotes MP1->MP2

2006-04-03 Thread Issac Goldstand
It should work fine. I wrote the same thing today (albeit without method calls)... # Trans handler sub lookup_handler { my $r=shift; my $dbh=GTS::Util::connectdb(); # essentially a wrapper for DBI->connect ... $r->pnotes(dbh=>$dbh); return Apache2::Const::DECLINED; } # Response handler

Re: [OT] Re: Database transaction across multiple web requests

2006-04-03 Thread Issac Goldstand
Right - that was the line I was trying to find earlier. So much for my theory about ignoring the LIMITs :-( All I can think of to explain the speedup that people (including myself) tend to see anyway is the indexes being cached in the key_buffer the second+ times around. Issac Jeff wrote: > -

Re: Database transaction across multiple web requests

2006-04-03 Thread Issac Goldstand
If anything, it really doesn't make sense to cache something in the query cache with limits intact; LIMIT is just a modifier which trims the result set on the server side. Since LIMIT doesn't actually affect the result set, per se, it doesn't make sense for the query cache to pay attention to it a

Re: Database transaction across multiple web requests

2006-04-02 Thread Issac Goldstand
Frank Wiles wrote: > On Fri, 31 Mar 2006 14:47:37 +0200 > Issac Goldstand <[EMAIL PROTECTED]> wrote: > >> Granted, I use a few MySQL features for this; I'm not sure if LIMIT >> exists in postgresql, and I'm fairly sure that the SQL_CALC_FOUND_ROWS >>

Re: Database transaction across multiple web requests

2006-03-31 Thread Issac Goldstand
Hi there, I also tend to go with this variant of B. I keep $start_from and $max_results in the session (or the query string). This gives me the options of allowing flexible number of results per page, flexible breadcrumbs for navigating the search results, etc. If it's critical that it's a sin

Re: Controlling subversion access

2006-03-26 Thread Issac Goldstand
PerlAuthenHandler requires that you have at least one require directive and an AuthType directive in place, else it won't be called. See http://perl.apache.org/docs/2.0/user/handlers/http.html#PerlAuthenHandler (paragraph beginning with "It's not enough to enable this handler for the authenticati

Re: Concurrency with mod_perl 2.01 on Windows

2006-03-07 Thread Issac Goldstand
Hey Rod, You're only supposed to get 2 processes on win32. The win32 mpm supports only one master process and one child processes (which causes all sorts of issues and delays when the child process segfaults :-( ). The child process loads by default with 250 worker threads which are the "instance

  1   2   >