httpd2 2.0.47, mod_perl 1.99_09
--
httpd does segfault when I try to connect to the database (mysql or
interbase). It faults somewhere in libnss_db.so. It works well if I
remove libnss_db* from the system.
I noticed a while back that when I use
So is PerlOptions +Parent working? Whenever I enable it I get
a segfault on
W2K / Ap2.0.46 / mp1.99.10dev.
have you submitted a bug report?
http://perl.apache.org/docs/2.0/user/help/help.html#Reporting_Problems
I never know whether to submit a bug report or not. Often these things turn
I never know whether to submit a bug report or not. Often
these things turn
out to be known issues or I find out it was my own bug at some
later time...
If you get a segfault, chances are that something is broken, since the sw
should gracefully handle cases when someone does something
-8-- Start Bug Report 8--
1. Problem Description:
# Problem: When I add PerlOptions +Parent I get a segfault.
#
# Breaks with:
# Windows 2000 SP2
# Apache 2.0.46
# ActiveState Perl 5.8.0 (build 804)
# mod_perl 1.99.10dev
Let's say I want to create a site with five virtual hosts. I want all of
them to share the basic MP2 stuff, Apache-related modules and so forth.
Then, for Virtual Host 1 (VH1 for short ;) I want to specify a set of
modules unique to VH1. For VH2-VH4 I want to specify another set of
modules, but
No wonder this seemed familiar. I wrote pretty much the same memo six weeks
ago. D'oh! I've been spending too much time at the keyboard...
So is PerlOptions +Parent working? Whenever I enable it I get a segfault on
W2K / Ap2.0.46 / mp1.99.10dev.
mma
-Original Message-
From: Marc M
Right now it seems a bit silly having a separate ErrorLog line in each
of the apache virtual host stubs, but as far as I am aware there isn't
an easier way is there?
You could look at mod_macro.
mod_macro (http://www.coelho.net/mod_macro) works great for me. I found
that I had to make a
Is anyone using PostgreSQL via DBD::Pg in a threaded environment?
It appears as though the DBD::Pg driver hasn't been made thread-safe yet.
However it's possible that I'm misusing it somehow, doing something in my
startup.pl that I shouldn't, whatever. So I'm asking if anyone else is
using
Is anyone using PostgreSQL via DBD::Pg in a threaded environment?
I'm getting:
[Fri Jun 20 11:47:57 2003] [error] [client 127.0.0.1]
DBD::Pg::dr default_user failed: handle 1
is owned by thread 126e2e4
not current thread 11df014
(handles can't be
With something like a Proxy http://foo/*/Proxy block, mod_proxy does
the right thing ( and the simple ) of using the power of
ap_walk_config() to handler the parsing of the contents of the block.
[...snip...]
Reason Perl blocks can't do that is becasue we can't let httpd try and
parse perl
The code to implement blocks (e.g. TIPool.../TIPool) in
config files is
pretty gnarly, too. I know it's already there for Perl, it's
one of the
places I looked when I was considering doing one of my own and
wanted to see
an example. The Apache framework is pretty strong for putting in
IF you're using mp2...in your httpd.conf are you setting up the handlers
with modperl or perl-script? The former doesn't provide any environment
variables:
http://perl.apache.org/docs/2.0/user/config/config.html#C_SetHandler_
I don't believe this applies to mp1.
mma
-Original
However I think it is possible to make the architecture more
flexible to allow
pools sharing across specific vhosts, or even location containers (if the
scope is set to be only for the handler). e.g. something like:
#base server
TIPool A
# parameters
/TIPool
TIPool B
# parameters
wrt Apache 2.0, mod_perl 2.0...
I'm not using Clone or Parent at the current time, but I was re-reading the
documentation on them for an unrelated reason and started thinking about how
they would work.
Suppose I want to set up five virtual hosts with modules A - E. Then I want
to set up six
I hope that this is the issue. Marc has failed to say that he is using
mp2/apache2, so I won't be surprised if this is yet another
problem introduced
by apache-2.0 (incompatible mod_dir behavior wrt apache-1.3). see
my recent
bug reports to the httpd-dev list.
Yah, yah, sorry, Apache 2.0.46
For Apache 2.0.46 / mod_perl 1.99.10-dev:
If I have an Apache module configured in httpd.conf, will the module code be
executing in the same process as the mod_perl code? If there are multiple
Apache processes (on W2K I always see 2) will the module code exist in all
processes?
mma
This is going to seem odd...obscure...dumb...
I've been using code like this to set up handlers:
Location /some/path/index
SetHandler perl-script
PerlResponseHandler Some::Handler
/Location
Now I'm using this code to set up handlers for individual pages. The
directive
perhaps something such as copying the whole 800,000 rows to
memory (as a hash?) on apache startup?
That would be the fastest by far, but it will use a boatload of RAM.
It's pretty easy to try, so test it and see if you can spare the RAM it
requires.
Always one of my favorite solutions to
I have migrated my site from IIS and Active State to Apache 1.3
and mod_perl
on a Windows machine. I use the site to send emails to registered users
using Mail::sendmail through our SMTP server (another machine).
With Apache I can only send emails once after I start the Apache server,
On Thu, 2003-05-29 at 11:59, Marc M. Adkins wrote:
perhaps something such as copying the whole 800,000 rows to
memory (as a hash?) on apache startup?
That would be the fastest by far, but it will use a boatload of RAM.
It's pretty easy to try, so test it and see if you can spare
On Thu, 2003-05-29 at 12:59, Marc M. Adkins wrote:
That's news to me (not being facetious). I was under the
impression that
cloning Perl 5.8 ithreads cloned everything, that there was no
sharing of
read-only data.
We're not talking about ithreads here, just processes. The data
21 matches
Mail list logo