Re: Server error log says Accept mutex: sysvsem

2002-02-06 Thread Rafiq Ismail (ADMIN)
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

Re: [OT] Server error log says Accept mutex: sysvsem

2002-02-06 Thread Ged Haywood
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?

Re: libapreq problem and mozilla 0.97

2002-02-06 Thread Joe Schaefer
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

RE: [OT] Server error log says Accept mutex: sysvsem

2002-02-06 Thread Al Pacifico
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...

Re: image corruption

2002-02-06 Thread Tim Noll
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

QUESTION

2002-02-06 Thread Martin Haase-Thomas
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

Re: QUESTION

2002-02-06 Thread Tim Tompkins
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

Re: [OT] Server error log says Accept mutex: sysvsem

2002-02-06 Thread Joerg Plate
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,

Is 'PerlHandler Apache::Registry MySimplePerlModule' possible?

2002-02-06 Thread Zsolt Czinkos
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

RE: [?] Same Named Modules, Different Paths

2002-02-06 Thread Stathy G. Touloumis
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

mod_perl version for Tomcat

2002-02-06 Thread Chuck Goehring
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

Re: mod_perl version for Tomcat

2002-02-06 Thread Brett W. McCoy
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

Re: mod_perl version for Tomcat

2002-02-06 Thread brian moseley
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

RE: mod_perl version for Tomcat

2002-02-06 Thread Stathy G. Touloumis
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

RE: mod_perl version for Tomcat

2002-02-06 Thread brian moseley
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

Apache::DBI

2002-02-06 Thread Stathy G. Touloumis
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,

Re: Apache::DBI

2002-02-06 Thread Geoffrey Young
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

RE: Apache::DBI

2002-02-06 Thread Stathy G. Touloumis
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 : )

[DIGEST] mod_perl digest 2002/01/27

2002-02-06 Thread jgsmith
-- mod_perl digest January 27, 2002 - February 2, 2002 -- Recent happenings in the mod_perl world... Features

Re: Apache::DBI

2002-02-06 Thread Geoffrey Young
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

Re: Apache::DBI

2002-02-06 Thread clayton cottingham
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

RE: [OT] Server error log says Accept mutex: sysvsem

2002-02-06 Thread Kyle Oppenheim
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

Re: Is 'PerlHandler Apache::Registry MySimplePerlModule' possible?

2002-02-06 Thread Cees Hek
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

RE: [?] Same Named Modules, Different Paths

2002-02-06 Thread Ged Haywood
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

Re: Installing from scratch Apache + mod_perl + Apache::ASP (+maybe others) on unix

2002-02-06 Thread Rod Butcher
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

RE: [?] Same Named Modules, Different Paths

2002-02-06 Thread Stathy G. Touloumis
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

Re: [Straying from the Topic] Installing from scratch Apache +mod_perl + Apache::ASP (+maybe others) on unix

2002-02-06 Thread Ged Haywood
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

Re: [Straying from the Topic] Installing from scratch Apache + mod_perl + Apache::ASP (+maybe others) on unix

2002-02-06 Thread Paul Lindner
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

Re: [Straying from the Topic] Installing from scratch Apache + mod_perl + Apache::ASP (+maybe others) on unix

2002-02-06 Thread Will Waggoner
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

Re: Make test issue with the URI module

2002-02-06 Thread dan
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

[Q] SIGSEGV After fork()

2002-02-06 Thread Mark P. Fister
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:

[BUG] Can't use parameters-refernces in $r-print using Apache::Filter

2002-02-06 Thread Gregory Belenky
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

Can't locate Sybase/CTlib.pm

2002-02-06 Thread Ng, Lynne (Exchange)
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 =

Re: [Q] SIGSEGV After fork()

2002-02-06 Thread Ged Haywood
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]

choice of mod_perl technology for news site

2002-02-06 Thread Nate Campi
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

Re: choice of mod_perl technology for news site

2002-02-06 Thread Drew Taylor
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

Re: choice of mod_perl technology for news site

2002-02-06 Thread Robin Berjon
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

Re: choice of mod_perl technology for news site

2002-02-06 Thread Matt Sergeant
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