Not sure but it just looks like you're getting confirmation of semaphore
locking which is probably occuring between the different processes - I'd
guess. Then again, it's worrying that it's being directed to STDERR. My
guess would be that it's harmless. Check the options with which you
rebuilt
Hi there,
On Wed, 6 Feb 2002, Rafiq Ismail (ADMIN) wrote:
The following message keeps appearing in my server error log
guess would be that it's harmless.
Nothing to do with mod_perl, check the Apache docs (performance tuning guide).
Presumably this only happens when you restart the server?
Rob Mueller (fastmail) [EMAIL PROTECTED] writes:
Note the extra blank line, which I think the lack of is causing the
problem under 0.97.
I'm pretty sure we can come up with a reasonable work-around for 1.0,
but it would really help if you can:
1) rebuild libapreq with debugging:
% perl
Ged-
You are correct; a little more delving suggests that it has to do with
Apache, but not mod_perl. The message appears only when the server is
started.
Apache was compiled from the mod_perl source tree using only the
following options:
APACHE_SRC=../usr/apache...
First of all, let me apologize for the hacked-up code I sent with my
original post. I was actually trying to return my current code back to
something that looked more like the TT sample code, but I clearly didn't
do a very good job. (In my actual code, I've moved
$r-send_http_header() until after
Hi all,
I hope there'll be someone here to help we with a mod_perl prob, of
which I thought first it wouldn't be one. I refer to the "Writing Apache
Modules" book by Stein/MacEachern.
The prob is quite simple: I have to redirect certain requests under
certain conditions to another URL
if ($redirect = $shortnames-get($fname, WAIT, 1)) {
if ($redirect !~ /$r-server()-server_hostname/) {
$r-content_type('text/html');
$r-header_out ( Location = $redirect ); $log-debug($redirect);
$r-send_http_header;
return REDIRECT;
}
Regards,
Tim
The following message keeps appearing in my server error log
guess would be that it's harmless.
Presumably this only happens when you restart the server?
The source file is 'main/http_main.c' and the function is standalone_main.
ap_log_error(APLOG_MARK, APLOG_NOERRNO|APLOG_NOTICE,
Hello
Is it possible to insert my Set-Cookie headers after a modperl script?
for exapmle:
httpd.conf
...
PerlFreshRestart On
PerlModule SetMyCookies
PerlFixupHandler SetMyCookies
PerlSetVar SessionDataPath /tmp/apache_session
PerlSetVar SessionLockPath /tmp/apache_session_lock
Alias /modperl
We have a similar issue here but it is designed more for development of
modules/code by multiple developers. This is managed through virtual hosts
and although we do not have our production server the same as development we
are able to view the production code through the development box. The
Is there anyone out there working on a mod_perl
"version" for Tomcat? We currently have Apache running for mod_perl and
Tomcat running for a purchased servlet library. I primarily user mod_perl
as a "speedup" for cgi programs. I need ssl capabilities and have had
problems trying to get it
On Wed, 6 Feb 2002, Chuck Goehring wrote:
Is there anyone out there working on a mod_perl version for Tomcat?
We currently have Apache running for mod_perl and Tomcat running for a
purchased servlet library. I primarily user mod_perl as a speedup for
cgi programs. I need ssl capabilities
On Wed, 6 Feb 2002, Brett W. McCoy wrote:
Why would you need mod_perl with Tomcat? You can use
Tomcat with Apache using mod_jk, and get the best of
both worlds.
presumably so that he doesn't have to port his cgi programs
to servlets.
i'm pretty sure tomcat has the capability to execute cgi
Hmmm, from what I've read of Tomcat it is recommended to use it in
conjuction with apache and just proxy specific requests to Tomcat.
Why would you need mod_perl with Tomcat? You can use
Tomcat with Apache using mod_jk, and get the best of
both worlds.
presumably so that he doesn't have
On Wed, 6 Feb 2002, Stathy G. Touloumis wrote:
Hmmm, from what I've read of Tomcat it is recommended to
use it in conjuction with apache and just proxy specific
requests to Tomcat.
that's why i recommended he spend his time getting apache
working with ssl.
ps: you don't proxy requests to
I thought I saw a posting on how to retrieve an independent database handle
from Apache::DBI using a certain method call (instead of from the shared
$dbh for the child). Does anyone know where this documentation may reside
(If it is possible).
Thanks,
Stathy G. Touloumis wrote:
I thought I saw a posting on how to retrieve an independent database handle
from Apache::DBI using a certain method call (instead of from the shared
$dbh for the child). Does anyone know where this documentation may reside
(If it is possible).
I'm not sure what
I'm not sure what you mean, really, but perhaps you mean
dbi_connect_method?
Did you mean specifying this argument like so ?
DBI-connect( $driver, $u, $p, { dbi_connect_method= 'connect' } );
I will see if this is what I am looking for. Thanks for the reference : )
--
mod_perl digest
January 27, 2002 - February 2, 2002
--
Recent happenings in the mod_perl world...
Features
Stathy G. Touloumis wrote:
I'm not sure what you mean, really, but perhaps you mean
dbi_connect_method?
Did you mean specifying this argument like so ?
DBI-connect( $driver, $u, $p, { dbi_connect_method= 'connect' } );
yes, you never call Apache::DBI-connect() directly.
I will
Stathy G. Touloumis wrote:
I'm not sure what you mean, really, but perhaps you mean
dbi_connect_method?
Did you mean specifying this argument like so ?
DBI-connect( $driver, $u, $p, { dbi_connect_method= 'connect' } );
I will see if this is what I am looking for. Thanks for the
However, the sample configuration file supplied with Apache contains no
AcceptMutex runtime directive nor did I come across documentation
suggesting how it should be used or where I would learn the options for
my system (linux, i686, kernel 2.4.7-10).
There's a good description of what the
On Thu, 2002-02-07 at 05:31, Zsolt Czinkos wrote:
Hello
Is it possible to insert my Set-Cookie headers after a modperl script?
for exapmle:
httpd.conf
...
PerlFreshRestart On
PerlModule SetMyCookies
PerlFixupHandler SetMyCookies
PerlSetVar SessionDataPath /tmp/apache_session
Hi all,
On Wed, 6 Feb 2002, Stathy G. Touloumis wrote:
We have a similar issue here but it is designed more for development of
modules/code by multiple developers.
If each of your developers runs her own copy of Apache, each copy
listening to a different port, you can make the namespace
This is exactly what I was alluding to in my previous post, and even
professionals are being driven mad, despite reading the Guide (which despite
being complete is still mysterious, it comes across as having a mission
statement to contain everything rather than to be useful, sorry). My .05 is
Yeah, this is an ideal way to go. Althought, depending to what degree you
can trust your developers (contractors, etc.) and how much your sys admins
want to admin it may or may not be a good fit.
We have a similar issue here but it is designed more for development of
modules/code by
Hi there,
On Thu, 7 Feb 2002, Rod Butcher wrote:
professionals are being driven mad, despite reading the Guide (which despite
being complete is still mysterious, it comes across as having a mission
statement to contain everything rather than to be useful, sorry).
Patches, chapters, help
Two things,
First check out http://www.apachetoolbox.com/ About as out-of-the-box
as you can get. Last time I tried it seemed to 'do the right thing'
for me.
For mod_perl specifics you might also check out chapter 1 of the
mod_perl Developer's Cookbook. I think it's a pretty good stab at
I agree that Apache Toolbox does a nice job for apache/mod_perl
installation -- even goes out and gets the source for you. I would like to
mention that I got a great deal of benefit from the INSTALL document from
the mod_ssl distribution -- it contains many examples of configuring and
compiling
I've read through the previous messages on this topic, and have modified
my blib/lib/Apache/test.pm as did export PERL_HTTP_URI_CLASS=URI::URL .
Now when I make test I get:
Can't locate URI/URL/_generic.pm in @INC (@INC contains: . ../blib/lib
../blib/arch /usr/lib/perl5/5.6.0/i386-linux
Dear mod_perl experts:
Collectively, we've been at this for more than two weeks and have searched
various mod_perl archives, all to no avail.
Symptom:
===
SIGSEGV after fork(). Very reproducible. Memory corruption gets moved
around if the codebase changes.
Tried:
=
* disable rule:
One of the $r-print()'s declared abilities is to pass reference in place of
scalar value (to prevent unneeded copying of large strings).
But when I use Apache::Filter and pass my output to another handler (module)
I can't use this feature.
IMHO that's because Apache::Filter-print uses
print
Hi..
I got a problem when I run a test perl script. I 'm not sure that I pointed
to the right path.
Here's my script:
#!/usr/bin/perl -I
/usr/local/lib/perl5/site_perl/5.005/sun4-solaris/Sybase:/usr/local/lib/perl
5/site_perl/5.005/sun4-solaris/auto/Sybase
use Sybase::CTlib;
@INC =
Hi there,
On Wed, 6 Feb 2002, Mark P. Fister wrote:
Collectively, we've been at this for more than two weeks and have searched
various mod_perl archives, all to no avail.
:(
SIGSEGV after fork(). Very reproducible. Memory corruption gets moved
around if the codebase changes.
[snip]
Lets pretend I work for Wired News, and I really really hate Vignette's
content management system. I mean *really* hate it. I'm the Ops guy
supporting it and I have nightmares about the next unexplained CMS
crash.
Ok, we all know mod_perl is the right choice to replace their system,
but what is
You should take a look at Bricolage (http://bricolage.thepirtgroup.com/).
It's a relatively new, but comprehensive, CMS that is based on Mason
mod_perl. I think it supports most of the things you mentioned below, but
you should ask the developers to be sure.
If you talk w/ Matt, he'll be
On Thursday 07 February 2002 02:06, Nate Campi wrote:
I like Mason's way of doing things, and it works for salon.com (similar
needs), but now that we have AxKit, is that the right way to go? Seems
better to force the separation of content and display, and using XML
allows the stories to be
On Wed, 6 Feb 2002, Drew Taylor wrote:
You should take a look at Bricolage (http://bricolage.thepirtgroup.com/).
It's a relatively new, but comprehensive, CMS that is based on Mason
mod_perl. I think it supports most of the things you mentioned below, but
you should ask the developers to be
38 matches
Mail list logo