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
$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!
>
>
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
MD5 =
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
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.
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 implements
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
for your response.
On Mon, Apr 29, 2013 at 12:54 PM, Issac Goldstand mar...@beamartyr.net
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 segfaults there's another process that can step
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's a
reported
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
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 the
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 mar...@beamartyr.net
mailto:mar...@beamartyr.net wrote:
On 17/11/2011 16:27, Meir Yanovich wrote:
There lots
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 would like
-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
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
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 (revision
FWIW, you can look at the source of Apache::UploadMeter to see an
example of Perl 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
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 ? (
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
.configure
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
It is already included. Check your headers.
list-help: mailto:modperl-h...@perl.apache.org
list-unsubscribe: mailto:modperl-unsubscr...@perl.apache.org
List-Post: mailto:modperl@perl.apache.org
Michael Ludwig wrote:
Try: modperl-unsubscr...@perl.apache.org
Maybe it would help to have this
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
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 multiple
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]),
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
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
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 this crash
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:
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 this crash
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 * *
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 0, int 0, int 0
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
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 at AC :)
Time
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
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 therefore
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
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
-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
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
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 was
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
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
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
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
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
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 on
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 ?
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 since
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
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
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.
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
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
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
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:
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
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
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
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 the CGI
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
provides CGI.pm-compatible methods that the above two
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 parsing
in perl-land, when a lighter-weight C
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
previous mail was being copied to my sent-mail and noticed
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 and
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.
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 PROTECTED] wrote:
These would
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 reporting
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 use
/ 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:
Hello guys,
Just
);
}
__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
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.
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
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:
YES! While it's
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 your PPM repository
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
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!
But, what license does it have?
Sophos
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
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
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
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 like to
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.
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_perl
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 pass
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
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
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
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...
Postgres
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
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:
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
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
directive (which will return the total rows in a select
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
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
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
That's because the $r you get from shift isn't interchangable with the
$r you get from Apache2::Request (which I think is deprecated anyway).
Try doing
sub handler {
my $r = shift;
my $q = Apache2::Request-new($r);
my %ins = processInput($q);
...
$r-print($html);
return OK;
}
Harry Zhu
Hold on a second.
That's still not going to be a good spoof because you also would check
REMOTE_CLIENT as usual, and expect to always see your front-end's IP
there, so Randal's example isn't completely accurate, since you'll see
the real client's IP there and thus know not to trust the
Not sure if this is what people are running into, but if you use
variables, even lexicals scoped on the package level, in a subtype of
HTML::Parser, they won't get reset if you call new() on your class
unless you overload the default new() or otherwise reset them.
For example (untested, but this
As more of a hack than a necessarily good practice, I've found that
sending a newline (in addition to $|=1) sometimes helps. I think the
problem here is more that the browser doesn't necessarily render content
every single time some data comes in over the socket, but maybe waits
for logical
Whoa there. Using your example 30 files @ 50MB each, it's going to be
very expensive to upload them all multiple times (which is what happens
if you keep submitting the form)... As for shared memory, use
Cache::Cache and look at it as a black box - it's quite simple, and a
lot smarter IMHO than
Is there any particular reason why you must split it into 4 pages? Why
can't you do something like:
local $|=1;
$r-headers_out;
print $tt_header;
foreach my $f (@files) {
... process file ...
print $tt_file_info($f);
}
print $tt_footer;
The idea being do everything in 1 single page.
Dermot Paikkos wrote:
On 3 May 2005 at 17:11, Issac Goldstand wrote:
Is there any particular reason why you must split it into 4 pages?
3 reasons; I want appearance to be as if the page is refreshing on
it's own, I thought a large batch of say 30 x 50MB tiffs would cause
the browser
There's also a great tool by Microsoft[1] (now there's an oxymoron for
you :-)) called Fiddler[2] which is basically a proxy server that sits
on your local machine and lets you inspect all the HTTP traffic (as well
as build your own requests). The only major drawback is that since it's
a separate
1 - 100 of 113 matches
Mail list logo