Re: Static vs. DSO on Linux specifically

2002-07-24 Thread WC -Sx- Jones
-Sx- said> Building as STATIC caused Apache to be rebuilt using the now current uselargefiles setting. Sam Tregar said> I don't think so. Rebuilding Apache/mod_perl static with the exact same Perl that shipped with Redhat 6.2 solved the segfaults. :) How is this different from what I said?

Is this list still active?

2002-07-24 Thread Jann Linder
Just wanted to know. Haven't gotten any posts for awhile. Thx. Jann

Re: ASP Page wont work

2002-07-24 Thread Josh Chamas
Omar Chicas wrote: > I don't know what else to do but my configurations are: > the > >SetHandler perl-script >PerlModule Apache::ASP >PerlHandler Apache::ASP >PerlSetVar Global . >PerlSetVar StateDir /tmp/asp > > > >*CORE::GLOBAL::flock = sub { 1 }; > >

Re: Static vs. DSO on Linux specifically

2002-07-24 Thread Sam Tregar
On Tue, 23 Jul 2002, WC -Sx- Jones wrote: > Back in RH 6.2 I would hazard that the segfault was more related to Perl > being set to uselargefiles and Apache NOT being set. This only became > visible when one tried to build mod_perl as a DSO. Building as STATIC caused > Apache to be rebuilt usin

Re: ANNOUNCE: Mason 1.12

2002-07-24 Thread Josh Chamas
Dave Rolsky wrote: > This release has a number of important improvements and it is highly > recommended that anyone use Mason 1.10 or 1.11 upgrade immediately in > order to fix a nasty memory leak in ApacheHandler. 1.12 is also quite a > bit faster than previous 1.1x versions. > Some quick benc

Attribute Handlers under mod_perl again

2002-07-24 Thread Michael Schout
Hi everyone. I've revisited using Attribute::Handlers work under mod perl again, and I am still unsuccesful. Looking at Attribute::Handlers, it appears that Attribute::Handlers relies on CHECK blocks to do its work. I verified this by uncommenting one of the debugging warnings in Handlers.pm an

Re: Mount something with my perl script

2002-07-24 Thread strange
As Dominic Mitchell already pointed out, you're better using sudo than su. Or just add the option "owner" (and optionally "uid=uid") to /etc/fstab. Or just chgrp scriptegid /usr/bin/smbmnt ; chmod 04750 /usr/bin/smbmnt. Regards, Luciano Rocha -- Consciousness: that annoying time between naps

Apache::DProf

2002-07-24 Thread Ruslan V. Sulakov
I have troubles using Apache::DProf I try to use it as described at: http://perl.apache.org/docs/1.0/guide/performance.html#Code_Profiling_Techni ques But when my httpd.conf has a line: PerlModule Apache::DProf apache reply with error 500 (Internal Server Error) when I request a perl script,

Re: Mount something with my perl script

2002-07-24 Thread Michael Jacob
Hi, ouch, bad idea, wrong list, but: 4 solutions: 1.) let your webserver run as root (NEVER, NEVER do this!!) 2.) write a daemon that runs as root and does such things for your normal programs. (Overkill in this case) 3.) use sudo to allow the webserver's user to run exactly that command

ASP Page wont work

2002-07-24 Thread Omar Chicas
I don't know what else to do but my configurations are: the    SetHandler  perl-script   PerlModule  Apache::ASP   PerlHandler Apache::ASP   PerlSetVar  Global .   PerlSetVar  StateDir /tmp/asp        *CORE::GLOBAL::flock = sub { 1 };    PerlModule  Apache::ASPI copied it and pasted

Re: Static vs. DSO on Linux specifically

2002-07-24 Thread WC -Sx- Jones
Sam Tregar> No, the last Redhat Apache/mod_perl I used was in 6.2. I didn't file a Sam Tregar> bug about it because after looking around it appeared that it was a well Sam Tregar> known problem. After that I started compiling Apache/mod_perl static and Sam Tregar> left the seg-faults behind.

Re: mod_perl with a perl built with -Dusethreads, will it work?

2002-07-24 Thread WC -Sx- Jones
On Tuesday 23 July 2002 12:09 pm, regarding mod_perl with a perl built with -Dusethreads, will it work?, Brian wrote: Brian> I would like to install Sendmail::Milter which needs a perl built Brian> with thread support. Last time I tried to use a perl built with Brian> thread support (5.6.x), mo

Re: Mount something with my perl script

2002-07-24 Thread lembark
>> # ! /usr/bin/perl -w >> `su - root -c 'mount -t smbfs -o credentials= >> // /'`; Check out the automounter. -- Steven Lembark 2930 W. Palmer Workhorse Computing Chicago, IL 60647 +1 800 762 1582

Re: Mount something with my perl script

2002-07-24 Thread Dominic Mitchell
Heiss, Christian wrote: > Hello, > > I don't know if this is the right mailing list, but well... > > How can I mount something with my perl script? > I've got always the error: mount: only root can do this > > So I changed my script something like this: > > #! /usr/bin/perl -w > `su - root -c

Mount something with my perl script

2002-07-24 Thread Heiss, Christian
Title: Mount something with my perl script Hello, I don't know if this is the right mailing list, but well... How can I mount something with my perl script? I've got always the error: mount: only root can do this So I changed my script something like this: #! /usr/bin/perl -w `su - roo

RE: possible buget in CGI.pm

2002-07-24 Thread Greg_Cope
> From: mike808 [mailto:[EMAIL PROTECTED]] > Sent: 24 July 2002 05:54 > To: Lincoln Stein; Cope, Greg; [EMAIL PROTECTED] > Subject: Re: possible buget in CGI.pm > > Lincoln, Greg, mod_perl list: > > The problem appears to be that the -no_xhtml option is only > processed in > _setup_symbols. This

Red Hat Linux Beta

2002-07-24 Thread Gary Benson
After reading the comments in "Static vs. DSO on Linux specifically" I was reminded that I had forgotton to say the following: Red Hat are testing httpd-2.0 and mod_perl-1.99 with regard to including them in the next release of Red Hat Linux. There is a beta release available as described in t