On Tue, Apr 14, 2009 at 12:48 PM, Roberto C. Sánchez
robe...@connexer.com wrote:
As far as loading the module, I have tried:
- PerlModule Example::Image in .htaccess
- use Example::Image; in the main HTML::Mason component
Either of those should be ok. If you decide to export the sub later,
On Tue, Apr 14, 2009 at 1:34 PM, Roberto C. Sánchez
robe...@connexer.com wrote:
On Tue, Apr 14, 2009 at 01:21:09PM -0400, Perrin Harkins wrote:
On Tue, Apr 14, 2009 at 12:48 PM, Roberto C. Sánchez
robe...@connexer.com wrote:
As far as loading the module, I have tried:
- PerlModule
On Mon, Apr 13, 2009 at 8:21 PM, Roberto C. Sánchez
robe...@connexer.com wrote:
I've been dealing with trying to figure out an Undefined subroutine
error on one of my sites. At first I thought it was something to do
with Apache::ASP, so I sent a message requesting help to that list:
On Mon, Apr 13, 2009 at 10:54 PM, Roberto C. Sánchez
robe...@connexer.com wrote:
The entire Example/Image.pm:
I don't see you exporting get_image_data. Do you call it with a
fully-qualified name then? e.g. Example::Image::get_image_data().
- Perrin
On Wed, Apr 8, 2009 at 4:14 PM, E R pc88m...@gmail.com wrote:
When diving into a large code base and trying to understand how it
works, one thing that would be very helpful to know is how control
gets to a particular point in the code. That is, for a given
subroutine, what does the stack look
On Fri, Apr 3, 2009 at 1:22 PM, E R pc88m...@gmail.com wrote:
I want to send all error output to a process for specialized logging.
I know that you can use CustomLog with a pipe. However, will that
capture output from things like 'print STDERR ...' or if an XS module
directly writes to stderr?
2009/4/4 Stanisław T. Findeisen sf181...@students.mimuw.edu.pl:
How does this relate to mod_perl? Is it safe to simply call srand() once per
CGI script?
It's safe, although there's not much reason to do it unless you have
access to something more random than what it will use by default. You
On Wed, Apr 1, 2009 at 1:51 PM, Torsten Foertsch
torsten.foert...@gmx.net wrote:
I hope you understand, there is a security bug and it seems nobody cares
for a month!
Try not to take it personally, Torsten. Sometimes people claim to
have a security bug, but later find it's not really a bug and
On Mon, Mar 30, 2009 at 9:14 AM, Cosimo Streppone cos...@streppone.it wrote:
The problem that we had, this was in November last year,
was that all the backends were at load 15.0-20.0 (normal was ~3-4)
after an update to the application.
That's pretty rare (hitting a CPU problem), and it sounds
% okay. 1/11 subtests failed, 90.91% okay.
- Perrin
On Sun, Mar 29, 2009 at 2:51 PM, Fred Moyer f...@redhotpenguin.com wrote:
Thanks Perrin. Can you run 'make test TEST_VERBOSE=1'?
-- Forwarded message --
From: Perrin Harkins phark...@gmail.com
Date: Sat, Mar 28, 2009 at 8:38
On Sun, Mar 29, 2009 at 3:50 PM, Fred Moyer f...@redhotpenguin.com wrote:
perl -MApache::TestConfig -e print Apache::TestConfig-custom_config_path
I get nothing back from that. Just an empty string. It's entirely
possible that something is odd about the setup on this machine, since
I don't
On Sun, Mar 29, 2009 at 4:21 PM, Fred Moyer f...@redhotpenguin.com wrote:
Can you try this one?
http://people.apache.org/~phred/Apache-Bootstrap-0.05-rc2.tar.gz
All tests successful.
Nice work, Fred.
- Perrin
-
To
On Sun, Mar 29, 2009 at 4:08 PM, Cosimo Streppone cos...@streppone.it wrote:
Is profiling mod_perl like this at all possible?
Yes.
Does that make sense?
No.
You'll get so much data that you won't be able to make heads or tails
of it. And profiling is heavy enough that people hardly ever do
On Sun, Mar 29, 2009 at 4:44 PM, Cosimo Streppone cos...@streppone.it wrote:
The main problem is that in the past we experienced some kind of
performance problems that only manifested themselves really clearly
in production and only at peak traffic hours.
Out of peak hours, everything was
Fred,
Help needed with testing mod_perl 1.31 rc6
Looking good on Mac OS 10.5, perl 5.8.8.
Help needed with testing Apache::Bootstrap
This one didn't make it.
PERL_DL_NONLAZY=1 /usr/bin/perl -MExtUtils::Command::MM -e
test_harness(0, 'blib/lib', 'blib/arch') t/*.t
t/00-load.ok 1/11#
On Thu, Mar 26, 2009 at 1:39 PM, David Ihnen dav...@norchemlab.com wrote:
Do people think that the cookbook is good perl practice?
Yes, it's an excellent resource and you'll have to pry it from my cold
dead hands. It wouldn't be where I would turn to find out the current
best ORM module, but it
On Thu, Mar 26, 2009 at 8:36 PM, Chris Prather perig...@gmail.com wrote:
This is to say if you're making the decision for Mouse, you need to
know what all that entails and currently the propaganda machine is
saying that Mouse == Moose + FAST which simply isn't true.
My reason for mentioning
On Thu, Mar 26, 2009 at 2:29 PM, B. Prince binis...@gmail.com wrote:
Recently I noticed that every so often the Apache parent process tries to
handle the request after a server restart.
Really? I've only seen that when explicitly using the -X option. You
might want to see if anyone on the
On Mon, Mar 23, 2009 at 5:20 PM, andynic andynic...@yahoo.com wrote:
I would like to write a cgi script using a persistent database connection.
I have read that I need
For database persistent connections:
http://cpan.uwinnipeg.ca/dist/Apache-DBI-Cache
No, you don't. You don't need anything
On Mon, Mar 23, 2009 at 4:10 AM, Iosif Fettich ifett...@netsoft.ro wrote:
The problem is that what I want to be the handler's proxied response is
actual embedded instead in an construct like
html
head/
body
pre
...
/pre
/body
/html
which I seem not to be able to get rid of. What am I
On Mon, Mar 23, 2009 at 7:14 AM, Iosif Fettich ifett...@netsoft.ro wrote:
I've ommited printing headers explicitely :(
HTTP won't work without headers.
Have to see when and how I should do this; simply inserting a
$r-content_type( 'text/html' );
before my
$r-print( $content );
seems to
On Mon, Mar 23, 2009 at 9:07 AM, Louis-David Mitterrand
vindex+lists-modp...@apartia.org wrote:
One of our customers is doing a detailed review of a mason/modperl ERP
app we've built for them since 2001. Prodded by some buzzword-compliant
consultants they are expressing concerns that the app's
On Mon, Mar 23, 2009 at 3:07 PM, Octavian Râsnita orasn...@gmail.com wrote:
I knew that Amazon used Perl, than tried to use Java, than... I don't know
what they use now.
Please stop with the FUD! Amazon uses Perl for their front-end
development. Check their job ads.
Google uses Python,
On Fri, Mar 20, 2009 at 10:57 AM, praba har prabap...@yahoo.co.in wrote:
I am very new to mod perl. I have a task to create feedback form (Web Page
for a portal) in the mod perl. Please give me some idea or sample code on
this. I have knowledge to create feed back form in the perl/CGI.
On Wed, Mar 18, 2009 at 1:02 PM, Roch Delsalle rdelsa...@gmail.com wrote:
yes but if for instance I'm building dynamic SQL queries at somes point the
memory usage will keep growing even if the data is released.
How would that happen? It just drops old data and replaces it with
your new stuff.
On Wed, Mar 18, 2009 at 1:26 PM, Dustin dsalli...@gmail.com wrote:
It doesn't try very hard to reuse memory when it hasn't allocated as
much as you've given it.
Sure, and I'm guessing it's not religious about making sure don't go
over the limit even a fraction, but there should be no
On Tue, Mar 17, 2009 at 12:42 PM, BobSharp bobsh...@ntlworld.com wrote:
These have been written successfully with Sub-Queries,
I would like to know how they can be done with only JOINs ?
http://dev.mysql.com/doc/refman/5.0/en/rewriting-subqueries.html
- Perrin
--
MySQL General Mailing List
On Tue, Mar 17, 2009 at 12:21 PM, daniel.angil...@imperia.net wrote:
is it possible to parse the output of mod_perl handler through PHP?
No, mod_php is not tightly integrated with apache the way mod_perl is.
It doesn't allow you to write your own filters or handlers. The best
you can do is
On Tue, Mar 17, 2009 at 2:07 PM, Roch Delsalle rdelsa...@gmail.com wrote:
what happens when it's full ?
It silently drops data. This is one of the reasons people say not to
use it as a database.
- Perrin
2009/3/12 Carl c...@etrak-plus.com:
I am still a little puzzled about how we could have a relatively large set
of records (100,000+) and yet not cause any table to be locked as the server
has only 8GB of memory.
What's the relationship you're implying between memory and locking?
Multi-version
I'm afraid enums are useless for anything except compressing your
data, since they don't reject bad values. If you want to limit a
field to a set of values, you need to use a lookup table and a foreign
key constraint.
- Perrin
On Fri, Mar 6, 2009 at 1:35 PM, David Karr
On Thu, Mar 5, 2009 at 9:23 PM, Chen, Peter peter.c...@itg.com wrote:
Apache2::SizeLimit not implemented on solaris at /Apache2/SizeLimit.pm
line 95.\nBEGIN failed--compilation aborted at //Apache2/SizeLimit.pm
line 98.\nCompilation failed in require at /htdocs/bugzilla/mod_perl.pl
On Thu, Mar 5, 2009 at 10:18 PM, Chen, Peter peter.c...@itg.com wrote:
Ok, so what do I do now?
Just take out the version check in SizeLimit for now. In the version
you have it probably looks like this:
if (SOLARIS $Config{'osvers'} = 2.6) {
- Perrin
On Wed, Mar 4, 2009 at 10:27 AM, Morten my.li...@mac.com wrote:
Hi, I was hoping that using SQL_NO_CACHE would help me bypass the query
cache, but judging from the below it doesn't.
You probably just brought the data into the cache and are not hitting
the query cache.
- Perrin
--
MySQL
On Wed, Mar 4, 2009 at 11:23 AM, Thomas Spahni t...@lawbiz.ch wrote:
SQL_NO_CACHE means that the query result is not cached. It does not mean
that the cache is not used to answer the query.
Oh, right, he's looking for this:
SET SESSION query_cache_type=off;
- Perrin
--
MySQL General Mailing
2009/3/4 Carl c...@etrak-plus.com:
However, when I had all the pieces in the query
(copy attached), I could easily see it was locking tables using the Server
Monitor in Navicat.
I don't know what that is, but I think you'd better look at something
closer to the bone, like SHOW INNODB STATUS.
On Tue, Mar 3, 2009 at 10:53 AM, Carl c...@etrak-plus.com wrote:
A query that is selecting data for a report locks the files that it accesses
forcing users who are attempting to enter transactions to wait until the
select query is finished.
Is it an INSERT INTO...SELECT FROM? Those lock.
My guess would be that your table is too small to bother using an
index on. There's some information in the MySQL docs about when it
chooses to use an index. For small tables, using one makes the query
slower.
- Perrin
On Tue, Mar 3, 2009 at 7:58 PM, David Karr davidmichaelk...@gmail.com
On Mon, Mar 2, 2009 at 9:54 AM, Matthew Lenz matt...@nocturnal.org wrote:
According to the docs CGI::Carp doesn't function properly with
fatalToBrowser under mod_perl 2.
I'm not sure if that's accurate or not, but setting a $SIG{__DIE__}
handler should work fine. BTW, I assume you mean
On Fri, Feb 27, 2009 at 7:58 AM, Matthew Lenz matt...@nocturnal.org wrote:
I looked through the packge diff:
http://ftp.de.debian.org/debian/pool/main/liba/libapache2-mod-perl2/libapache2-mod-perl2_2.0.4-5.diff.gz
and didn't spot any changes that would have this affect.
What about other CPAN
On Fri, Feb 27, 2009 at 5:30 AM, Carl Johnstone
modp...@fadetoblack.me.uk wrote:
The thing is that as I'm running the app under Catalyst, once I've started
splitting off into different server instances, there's not as much of an
advantage in using mod_perl - I can use FastCGI or HTTP::Prefork
On Fri, Feb 27, 2009 at 11:43 AM, Matthew Lenz matt...@nocturnal.org wrote:
No, this is just a legacy app that runs straight CGI's via
ModPerl::RegistryPrefork
I'd check for any $^W manipulation in ModPerl::RegsitryPrefork.
I thought that if a package does a 'use warnings;' that it only
On Fri, Feb 27, 2009 at 3:06 PM, Mark Hedges hed...@scriptdolphin.org wrote:
What about PerlOptions +Parent?
http://perl.apache.org/docs/2.0/user/config/config.html#C_Parent_
That's the thing I was referring to that I haven't tried. Can anyone
confirm that this works?
- Perrin
On Thu, Feb 26, 2009 at 4:01 PM, Matthew Lenz matt...@nocturnal.org wrote:
Maybe the debian guys did something goofy with the modules. It wouldn't
be the first time. That or maybe its just a bug in ModPerl. Even if
some CPAN module out there has 'use warnings;' in it that shouldn't have
any
On Thu, Feb 26, 2009 at 12:38 PM, Carl Johnstone
modp...@fadetoblack.me.uk wrote:
1) We want to run different versions of the same app for different sites -
this means I have a namespace problem for MyApp v1 vs MyApp v2 etc.
This has been discussed many times on the list. You can't run two
On Tue, Feb 17, 2009 at 8:28 PM, Lyle webmas...@cosmicperl.com wrote:
Considering that almost everything is already on CPAN, then most plugins are
likely to be wrappers, adding extra benefits like lazy loading and framework
specific functions. It would be wrong to try and recreate things that
On Wed, Feb 18, 2009 at 3:16 AM, Octavian Rasnita orasn...@gmail.com wrote:
Using (or creating plugins) for Catalyst is discouraged, because there are
better methods for doing the same thing.
It was encouraged before it was discouraged. There were dozens of
wrapper plugins on CPAN the last
On Tue, Feb 17, 2009 at 12:39 PM, Lyle webmas...@cosmicperl.com wrote:
Very easy lazy loaded emailing based on Email::Stuff (with it's new Pure
Perl dependency options).
I know you mean well with this, but trivial wrappers around other
modules described as plugins is the kind of thing that
On Tue, Feb 17, 2009 at 8:13 AM, André Warnier a...@ice-sa.com wrote:
Now, how about extending this so it would work on both Unix/Linux *and*
Windows platforms, figuring out itself where it is and doing whatever is
needed to use the OS mechanisms available ?
The underlying library does not
On Tue, Feb 17, 2009 at 12:07 PM, macke...@animalhead.com wrote:
IMO, the perl threads sharing mechanism is flawed because
(in my short experience with it) it does not allow certain
interesting items (e.g. tied) to be shared.
Well, since everything shared by IPC::MMA has to go through
On Mon, Feb 16, 2009 at 12:30 PM, cr...@animalhead.com wrote:
If anyone would like to read the docs and/or try the module,
and send comments (probably not to the whole list), they would
be greatly appreciated. IPC::MMA might be just what you need
for your next project. (Current project?
On Fri, Feb 13, 2009 at 10:52 PM, jpen...@aol.com wrote:
I wish to cache a full dynamic application like Web Services (SOAP).
I was thinking if it's possible to make a proxy with modperl to do that
caching?
You could write a filter to do that, but you don't need to. Just use
the mod_cache
On Sat, Feb 14, 2009 at 5:50 AM, André Warnier a...@ice-sa.com wrote:
Less nice, less neat, less classic, terrible style, whatever you want, but
which also works :
Yeah, I wouldn't really recommend this. Passing your $cgi object to
subs that need it is the best solution.
I am not quite sure
On Fri, Feb 13, 2009 at 11:30 PM, shiriru0...@hotmail.com wrote:
I am using FindBin and added the FindBin::again() as recommanded
in hope to switch to ModPerl::RegistryPrefork soon.
I am using both use lib and unshift @INC but still, for some reasons,
even with ModPerl::PerlRunPrefork got
is shared unless you
explicitly make it shared.
- Perrin
On Sun, Feb 15, 2009 at 1:27 PM, André Warnier a...@ice-sa.com wrote:
Sorry, this list does not automatically set the reply-to, and I always
forget..
Perrin Harkins wrote:
On Sat, Feb 14, 2009 at 5:50 AM, André Warnier a...@ice-sa.com wrote
On Fri, Feb 13, 2009 at 4:00 AM, jpen...@aol.com wrote:
Can we write a dynamic caching system with modperl within few days?
I got the idea from this article:
http://publib.boulder.ibm.com/infocenter/wsdoc400/v6r0/index.jsp?topic=/com.ib
m.websphere.iseries.doc/info/ae/ae/welc6tech_dyn.html
On Fri, Feb 13, 2009 at 1:22 PM, Mark Hedges hed...@scriptdolphin.org wrote:
Connection pooling is a cool idea but I don't know who's
made it work.
I gave a couple of options earlier in this thread.
- Perrin
On Thu, Feb 12, 2009 at 9:55 PM, shiriru0...@hotmail.com wrote:
Is there a way to manipulate @INC without having to use a startup.pl in
mod_perl2???
Sure. For example, PERL5LIB.
As for now, I've created a startup.pl to manipulate @INC that is called when
the server is launched
but this
On Thu, Feb 12, 2009 at 7:17 AM, Chris Czub ashgromn...@gmail.com wrote:
The extends block means, roughly, to take index.html and replace any
blocks inside of it with the ones defined in the current file, photos.html.
I do something similar in TT by varying the include path. I have
default
On Tue, Feb 10, 2009 at 10:44 PM, Patrick Galbraith p...@patg.net wrote:
After looking at it in gdb, I noticed it has something to do with
Apache2::RequestRec, the header in particular.
My guess is that you're keeping an old CGI or $r object around between
requests, or that this is some kind of
On Wed, Feb 11, 2009 at 6:47 AM, titetluc titetluc titet...@gmail.com wrote:
I wrote a mod_perl module managing FORM authentication (and a lot of other
things).
This module had to run on a platform (router) with a lot of memory/CPU.
These last days, our marketing team changed the platform
On Sat, Feb 7, 2009 at 5:07 AM, Marc Sebastian Pelzer
m...@knusperfisch.de wrote:
(I need this kind of URL2template matching for different reasons) and
then started the build in web-server (./script/my_app_server.pl -d -p
8080).
When I call the template for the first time with some 'test' GET
On Tue, Feb 3, 2009 at 12:24 PM, Jerry Schwartz
jschwa...@the-infoshop.com wrote:
Somebody, I think it was somebody from MySQL, said that you should never put
anything into a WHERE clause that could be put into the ON clause of a JOIN.
My guess is that this helps with the optimization, but it
On Fri, Jan 30, 2009 at 9:32 AM, lance raymond lance.raym...@gmail.com wrote:
basically I have an old fc5 machine running mysql 4.1 and a
newer server running centos5 / mysql 5.0.45.
So, different hardware, different OS, different database server...
could be anything. I suggest you run EXPLAIN
On Wed, Jan 28, 2009 at 10:36 AM, Henrik Schröder skro...@gmail.com wrote:
I should also add that although in-process caches are the fastest, memcached
is still much, much faster than your average database.
It's been a little while, but when I compared connections to a local
MySQL (using Unix
On Mon, Jan 26, 2009 at 1:03 AM, Adam Prime adam.pr...@utoronto.ca wrote:
I'm not sure how many of you are aware of chromatic's previous article
about 5 things perl 5 needs right now, or about the mod_perlite
project that was spawned by some people from sixapart, but chromatic has
published
On Mon, Jan 26, 2009 at 1:29 PM, Adam Prime adam.pr...@utoronto.ca wrote:
In the context of people with uber-cheap virtual webhosting, is changing
MaxRequestsPerChild really an option?
No, but frankly, uber-cheap virtual hosting will never support
mod_perl or mod_perlite.
FastCGI, to me
On Mon, Jan 26, 2009 at 2:26 PM, Michael Ludwig m...@as-guides.com wrote:
I think this is technically incorrect in that it does not match the
Apache/LibPHP execution model (which is what I think they're trying to
emulate), where the Apache/LibPHP process does not exit after serving
only a
On Mon, Jan 26, 2009 at 3:16 PM, Thilo Klein ostenta...@arcor.de wrote:
What I want to do: I want to write a script which downloads a photo from a
given url and detects objects on it - in other words, I want
hough transformation, edge detection etc. - all to be done on the
apache-webserver.
On Mon, Jan 26, 2009 at 3:51 PM, Thilo Klein ostenta...@arcor.de wrote:
Which kind of permission do I need from my domain hoster for that?
For mod_perl? Just ask them if they support mod_perl. If they say
no, ask if they support FastCGI. Or, if you don't care much about the
speed, you can
On Mon, Jan 26, 2009 at 4:15 PM, Michael Ludwig m...@as-guides.com wrote:
I may be wrong but I used to think that PerlRun provides just that, a
non-persistent execution environment, just like LibPHP. Memory consumed
by the interpreter is not deallocated in either case. (Unless, of
course, I'm
On Sun, Jan 25, 2009 at 10:55 AM, Jeremy Dunck jdu...@gmail.com wrote:
On Sun, Jan 25, 2009 at 9:51 AM, Xaxo idio...@gmail.com wrote:
On Jan 23, 4:21 pm, Jeremy Dunck jdu...@gmail.com wrote:
In general, file-based makes sense if:
* memory is at a premium
* latency to other nodes is high
On Tue, Jan 20, 2009 at 4:19 PM, Michael Ludwig m...@as-guides.com wrote:
On the other hand, performance isn't what you'd call great, as access to
the database is effectively serialized.
Are you sure about that? Berkeley DB doesn't work that way. It has
read and write locks which can be set
On Mon, Jan 19, 2009 at 5:56 AM, Michael Ludwig m...@as-guides.com wrote:
Now, what happens if I am going to install a new Apache
2.2/prefork with mod_perl in addition to the already existing
Apache 2.2/worker with mod_perl?
Hmm, isn't the MPM just a runtime configuration? Why would you need
On Mon, Jan 19, 2009 at 1:37 PM, Adam Prime adam.pr...@utoronto.ca wrote:
Perrin Harkins wrote:
Hmm, isn't the MPM just a runtime configuration? Why would you need
another httpd install? It sounds like a separate config file would do
it, if that's all you want to change.
MPM is a build
On Mon, Dec 15, 2008 at 8:29 PM, Alex Teslik a...@acatysmoof.com wrote:
On Mon, 15 Dec 2008 20:04:26 -0500, Perrin Harkins wrote
my $d1 = DateTime-today;
my $d2 = $d1-clone-subtract(years = 1);
my $dur = $d1-delta_days($d2);
print $dur-in_units('days') . \n;
corrected above. I don't know
I'm embarrassed to have to ask this question, but can't seem to find
an answer that works.
I have two dates. I want to know the number of days between them.
Not days with years and months subtracted, just total days. The
recipe I see for this on the web is this:
my $d1 = DateTime-today;
my $d2
Hi,
I'm trying to figure out if anything ever happened with this bug where
internal redirects cause method handlers to get called as subs.
http://marc.info/?l=apache-modperl-devm=101261915419106w=2
http://marc.info/?l=apache-modperlm=106839932418976w=2
The thread ends without a fix and I don't
SELECT EXISTS(
SELECT * FROM table WHERE condition
)
- Perrin
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/mysql?unsub=arch...@jab.org
I'm proposing to give a talk at OSCON this year about choosing your
reverse proxy, comparing proxy servers and other parts of the stack
like mod_perl and FastCGI. I haven't seen a good comparison that hits
all the popular proxy servers (perlbal, pound, nginx, lighttpd,
apache, squid... I think
On Thu, Dec 11, 2008 at 1:03 PM, b. nyec bn...@yahoo.com wrote:
What i have is a SOAP Lite server set up (for development purposes) and i'm
wondering if there is a way to make changes to files outside the
dispatch_to directory that are included (require/do) in myhandler
without having to
On Thu, Dec 11, 2008 at 1:43 PM, b. nyec bn...@yahoo.com wrote:
It works with things inside the dispatch_to directory. (refer to my orig post)
Unless i've misconfigured, it's not working for things outside that directory.
Sorry, I should have read the whole thing. I think the problem is
that
On Wed, Dec 10, 2008 at 1:22 PM, Enno [EMAIL PROTECTED] wrote:
yes, but, do you really want to gamble that the second request is handled by
the same child process? and what if another request comes in between?
I think you're misunderstanding his question. As I read it, he was
worried that
On Wed, Dec 10, 2008 at 2:27 PM, Justin Wyllie [EMAIL PROTECTED] wrote:
However if Apache uses
child processes sequentially - i.e there is no danger of that child process
being used simultaneously by two requests I think I should be ok. I think
this is what Perrin was confirming?
Yes, that's
On Mon, Dec 8, 2008 at 2:20 PM, Bill Moseley [EMAIL PROTECTED] wrote:
Is there something special I need to do to allow keep-alive responses
for HTTP 1.0 requests?
Not sure, but there's some info in Apache2::Connection about how it
determines Keep-Alive and how to check if a connection has it.
On Sun, Dec 7, 2008 at 1:44 AM, Lars Skjærlund [EMAIL PROTECTED] wrote:
The same code runs fine at other machines.
The machine in question is running openSUSE 11.0 / Apache 2.2.8 / mod_perl2
2.0.4-dev.
Are the machines where it runs fine on the exact same versions of
apache and mod_perl? I
On Sat, Dec 6, 2008 at 2:48 PM, William Ahern
[EMAIL PROTECTED] wrote:
I was forced to move from mod_perl to mod_perl2 because of Ubuntu.
Don't let Ubuntu push you around. If you want to run mod_perl 1, go
ahead. You don't need the Ubuntu packages.
Anyhow, unfortunately for me, I'm using
On Thu, Dec 4, 2008 at 11:13 AM, Shibi NS [EMAIL PROTECTED] wrote:
The
main issue I can see the header no longer contains 'Content-Range',
'Content-Length' etc. But I already have 'PerlOptions +ParseHeaders
+GlobalRequest' in my request handler.
Are you saying the request no longer has
On Sun, Dec 7, 2008 at 12:51 PM, Terence Monteiro
[EMAIL PROTECTED] wrote:
I'm getting segmentation faults with apache child processes. I'm running a
Catalyst application using DBIx::SearchBuilder in the backend to accesss a
mysql database.
My guess is that you're opening database handles in
On Fri, Dec 5, 2008 at 5:39 PM, Justin Wyllie [EMAIL PROTECTED] wrote:
The mySQL documentation for LAST_INSERT_ID says that it returns the last
auto-incremented field value for 'that client'.
I am not sure what the client is in a mod_perl situation with Apache::DBI?
The current connection.
On Tue, Dec 2, 2008 at 4:54 PM, Shane McCarron [EMAIL PROTECTED] wrote:
We have a TON of customers using a mason-based app under mod_perl. Two out
of the hundreds are both running into a situation where when a subcomponent
is referenced and that subcomponent has a once block that needs to do a
On Tue, Dec 2, 2008 at 5:26 PM, Shane McCarron [EMAIL PROTECTED] wrote:
While we DO support mod_perl 1, in the case of
these customers they are both using modern versions of Apache 2 and mod_perl
2. In either case, since SOME of our modules compile just fine, and it only
falls over in a
On Tue, Dec 2, 2008 at 5:49 PM, Shane McCarron [EMAIL PROTECTED] wrote:
In looking at the mod_perl 2 documentation, I see that using a SetHandler
perl-script has very different behavior than using a SetHandler modperl -
could that be related at all?
Yes. Quoting the docs:
Several special
On Tue, Dec 2, 2008 at 1:56 PM, April Papajohn
[EMAIL PROTECTED] wrote:
I tried setting alarm() around the DBI lines, using the Sys::SigAction
module, in order to get the script to timeout if MySql isn't
responsive. This works great if I run it as a plain perl script. But
it seems that alarm()
On Sun, Nov 30, 2008 at 9:49 PM, [EMAIL PROTECTED] wrote:
This suggests that the forking operation (with demotion to a lower priority
user) prevents flock from working properly on the inherited filehandle. Yet
my Apache child processes can inherit other open filehandles and tied hashes
from
On Mon, Dec 1, 2008 at 12:52 PM, Andreas Mock [EMAIL PROTECTED] wrote:
BUT: We would like the following. As soon as a file in one of the aliased
directories is not found
the server should return the standard error message. At the moment a
subrequest hits the perl
handler doit.pl.
What's in
On Tue, Nov 25, 2008 at 1:30 PM, Neil Gunton [EMAIL PROTECTED] wrote:
The only downside is that people on extremely slow dialup connections might
notice longer download times for page text... but I have to wonder if that's
really an issue today. Back in 1998 perhaps you might care about
On Thu, Nov 20, 2008 at 4:50 PM, Bruce Johnson
[EMAIL PROTECTED] wrote:
This happens when the exit is triggered in the nested require file. which is
code like this:
# Check to see if the person was logged in, and if not go to login page and
# pass the url and parameters
if (!defined($UUAff)
On Mon, Nov 24, 2008 at 1:56 PM, Neil Gunton [EMAIL PROTECTED] wrote:
Someone replied to me off-list suggesting using Squid instead of httpd for
the front-end caching reverse proxy. I guess that is a good question - I use
Apache for proxying mainly because I know apache quite well, and like
On Mon, Nov 24, 2008 at 2:42 PM, Neil Gunton [EMAIL PROTECTED] wrote:
The section on Maintaining the Disk Cache says you should use
htcacheclean, which is what I've been doing, and it doesn't seem to be up to
the job.
I can't speak to your filesystem question but you might consider
getting
401 - 500 of 4038 matches
Mail list logo