On Tue, 14 Dec 1999, Saar Picker wrote:
Hrm. Does perl use 0x as a marker?
yes, see malloc.c
I thought once an sv was freed it gets a null value or something.
sure, but with Perls before 5.005_60-ish, Perl's malloc overrides system
malloc/free *everywhere*, not just for Perl
What I find odd is that all of the sudden people seem to be coming out of
the woodwork about this stuff. Whe I searched through mailing list
archives, some of them going back years, I found something odd... Many
people were talking about this same problem between December of last year
are you still stuck on this? did you link mod_perl static or dso? if
dso, try static. you can also try configuring Perl with -Dusemymalloc=n,
but that comes with a large performance hit.
I've never had a problem with solaris and any combo of mod_perl/Perl
On Mon, 1 Nov 1999, Dan Rench wrote:
On Mon, 1 Nov 1999, Tubbs, Derric L wrote:
Well, I finally got it to work with Apache::Request. I had to do "$args =
Apache::Request-new($r);" and "$file = $args-upload;" in the handler sub
and then pass $args and $file to any other subs that needed it. Maybe this
is normal but if so I was
On Mon, 1 Nov 1999, James G Smith wrote:
I have some code working, but I'm curious as to why it has to work in the
way it does. The code:
package My::TAMU;
sub handler ($$) {
my $class = shift;
my $r = shift;
if($r-current_callback eq "PerlHandler" || # this one makes sense
On Mon, 1 Nov 1999, Robin Berjon wrote:
At 11:44 01/11/1999 -0800, Doug MacEachern wrote:
On Mon, 1 Nov 1999, Wyman Eric Miles wrote:
The next question is, when the cookie expires 2 hours later, the initial
SecurID user/password has long since expired. How do I cause the module
to force
thanks, I'll add this for 1.22.
On Tue, 2 Nov 1999, Yasushi Nakajima wrote:
Doug the handler() in Apache::PerlRun was not originally indended to be
Doug subclassed. however, if somebody submits a patch to make is
Doug subclass-able that doesn't break the way Apache::PerlRun currently works,
you need the cvs snapshot of mod_perl to use 5.005_62+, or wait for 1.22
On Tue, 2 Nov 1999, Arkadiy Goykhberg wrote:
*This message was transferred with a trial version of CommuniGate(tm) Pro*
Hello, I'm trying to compile mod_perl-1.21 as DSO module for apache
version 1.3.9 on Solaris 2.6
try Apache-request-get_server_name instead of hostname()
it's cheaper too, since Sys::Hostname::hostname forks, at least once
per-process. not so bad if you call it in the parent though (in a
PerlRequire script), then all children have the cached results
On Wed, 3 Nov 1999, Nick Urbanik wrote:
On 3 Nov 1999, Greg Stark wrote:
I'm trying to update to 1.3.9+1.21 but I'm having various problems:
1) The makefile seems to try to run ../apaci even though perl is two levels
deep, so it can't find ../apaci, it would have to be ../../apaci
=== src/modules/perl
gcc -I.
On Wed, 3 Nov 1999, Jeffrey Baker wrote:
There was a short discussion a while ago about getting mod_perl working
with Apache 2.0. Since Apache 2.0 can actually be built and run on a
few platforms now, I think it is worth taking a lot at this for real.
I started to fiddle with 5.005_63 and
did you ever get this sorted out? looks like an rpm version of Perl
maybe? have you tried configuring/build Perl from source?
On Thu, 4 Nov 1999, Eva Neuberger wrote:
Hallo,
I'm trying to install mod_perl_1.21 with apache 1.36 perl 5.005_03
and Linux Kernel 2.2.10
I follow the
On Mon, 8 Nov 1999, Brad Bonkoski wrote:
This message was sent from Geocrawler.com by "Brad Bonkoski" [EMAIL PROTECTED]
Be sure to reply to that address.
Hello, I am trying to build mod_perl and PHP together with apache and this is a
sample of what I am getting:
===
try adding:
PerlModule Apache
to your httpd.conf
On Tue, 9 Nov 1999, Shay Mandel wrote:
Hi all,
It is my first time I am building the apache with the mod_perl enabled.
I have installed it as static module. Then I compiled the apache
(1.3.9). Everything passed ok (I skipped the make test
more details please, Makefile.PL options, etc.
On Thu, 11 Nov 1999, Dominic A. V. Amann wrote:
I am trying to build apache 1.3.9 (or 1.3.anything)
with mod_perl. It builds fine without, on libc-2.0.7 platform,
using gcc 2.7.2.3
I have tried many options in the APACI make process, all
see Apache::RedirectLogFix
On Thu, 11 Nov 1999, Bill Moseley wrote:
In an Apache::Registry script I'm print()ing
Status: 304 Not Modified
when the client sends an If-Modified-Since: header.
The 304 error is returned to the client properly, but the log file shows a
200 status. Can
can you get a stacktrace with gdb? see the SUPPORT doc for hints.
On Tue, 16 Nov 1999, Tony Demark wrote:
I have compiled the following:
Apache 1.3.9
mod_perl 1.21 (PERL_AUTHEN PERL_LOG PERL_STACKED_HANDLERS)
on:
Ultra 10
Solaris 7
with:
gcc
On Thu, 18 Nov 1999, Ekaterina Ivannikova wrote:
Hi All!
I should have mentioned that there is a Safe.pm 2.06
in perl5 directory tree. But after browsing modperl
archive I was under the impression that a special
Apache::Safe was needed due to some subtle problems.
Is it not so ? It seems
On Thu, 18 Nov 1999, John S. Evans wrote:
I've been attempting to write a perl module that handles POSTs of type
multipart/form-data, and have been having a rough time.
I'm using Apache::Request to process the request. I have dumped the
content-type of the incoming request, and verified
On Fri, 19 Nov 1999, John Siracusa wrote:
Apache::Cookie seems to have two different interfaces...or maybe there
are two different distributions of Apache::Cookie? Whatever it is, the
interface seems different on two machines here at work. One has 5.004
and one has 5.005, but that
why don't you just use a PerlAuthenHandler? see chapter 6 online at
modperl.com
On Tue, 23 Nov 1999, Trevor Phillips wrote:
I've written an Authentication Handler using the Access phase, where someone
must validate themselves before accessing a resource. The way I've done it, if
the client
My CPU-based limiter is working quite nicely. It lets oodles of
static pages be served, but if someone starts doing CPU intensive
stuff, they get booted for hogging my server machine. The nice thing
is that I return a standard "503" error including a "retry-after", so
if it is a legitimate
Here's a snip from an email that I just receved from one of your
co-workers, Alex Shah [EMAIL PROTECTED] in response to this same
email:
---begin quote
Why the comparison with mod_perl? This was part of the agreement we
made with Sun in order to bundle our product with their web
the TypeHandler phase will override your changes, I think. try setting
$r-handler with a PerlTypeHandler, apache stops after the first one
returns OK, so mod_mime won't stomp your $r-handler settings in that
case.
On Thu, 25 Nov 1999, Trevor Phillips wrote:
I'm trying to write an access
On Fri, 26 Nov 1999, Ken Williams wrote:
Hi,
I've got an ISP running Apache/1.3.4 mod_perl/1.18, and I'm trying to get them
to fix some of the broken functionality therein by upgrading to the latest
versions. I really need the latest CVS snapshot so that Perl sections work
correctly,
On Mon, 29 Nov 1999, Michael Dearman wrote:
...
When looking at http_config.h at the handler_rec structure, the elements
don't seem to match the way they're used in the example in the book.
Going to the book site, the src's for the examples are NOT available.
*shrug*
all of the book source
On Thu, 2 Dec 1999, Brian S. Craigie wrote:
Hi Doug,
Thanks and sorry if I looked impatient :-)
nah, sorry if I looked like I thought you looked impatient ;-)
I'm glad that this was spotted. I thought I was doing something wrong. I'm
assuming you are referring to the cvs snapshot of
On Wed, 1 Dec 1999, Brian S. Craigie wrote:
I presume from the lack of response that nobody knows the answer to this
one? Or have I sent this to the wrong mailing list? Or is it a stupid
question?
or because you just posted on monday and some people have been extra
super buzy with other
thanks Michael! I've committed your change to the cvs tree.
actually, Eric Cholet did, mine failed, cvs rocks. need more coffee.
cvs server: Up-to-date check failed for `Changes'
cvs server: Up-to-date check failed for `src/modules/perl/Apache.xs'
cvs [server aborted]: correct above errors
On Mon, 1 Nov 1999, John Siracusa wrote:
On 11/1/99 2:32 AM, Doug MacEachern wrote:
or use this undocumented feature:
$Apache::ERRSV_CAN_BE_HTTP = 1; #set this anywhere, startup script is best
die FORBIDDEN;
mod_perl peeks at $@, if it's a 3 digit http status code, it propagates
On Mon, 1 Nov 1999, Tubbs, Derric L wrote:
I've been trying to use the "file" input field to upload some files and I'm
having no luck at all. I first tried using Apache::Request with no luck and
the error message "Can't call method "filename" without a package or object
reference at ..."
On Mon, 1 Nov 1999, Kent, Mr. John wrote:
Doug,
I asked O'Reilly's permission to use the "camel and feather" without
acknowledging them, and they said NO, see letter below from Edie Freedman.
gad, I hate politics. Tim O'Reilly gave us permission to use the camel in
the mod_perl logo two
So you can't use Apache::Util unless you are running Apache.
exactly. but it might be possible with the SHARED_CORE configure option,
that builds libhttpd.so, I've never tried though.
Our httpd's were spinning out of control on uploads until Doug sent us
this patch. I don't know whether it made it into the distribution or
not.
yabut, that was only when netscape was trying to upload a directory
name and lied about the content length. anyhow, the patch is in the
On 1 Nov 1999, Greg Stark wrote:
Was this ever resolved?
yes, fixed in cvs.
I'm concerned because for Oracle the environment variable ORACLE_HOME is
critical and I think the environment corruption explains some of our past
database problems.
PATH was the only corrupted variable, this
On Mon, 1 Nov 1999, Wyman Eric Miles wrote:
I should have realized that. I managed to architect a kludge that sets
the cookie but causes a fragment of the HTTP header to appear in the
browser the first time. For now, I'm content with it.
The next question is, when the cookie expires 2
On Fri, 15 Oct 1999, John Whitehead wrote:
I can succesfully make Apache and perl with the following versions ;
apache_1.2.6
perl5.004_05
when trying to make mod_perl-1.21
mod_perl no longer supports 1.2.x, try 1.3.9 instead.
On Mon, 18 Oct 1999, Wyman Eric Miles wrote:
System:
Solaris 2.6
Apache 1.3.9/mod_perl 1.19/gcc 2.8.1/perl-5.004.04
I'm using SecurID to authenticate for an Apache proxy server. I've
written a little perl module that uses a username/tokencode returned by
basic auth to validate a
try building Perl with Configure -Uusemymalloc, solaris+perl malloc don't
seem to get along when mod_perl is a dso. you're better off to link
static though, solaris system malloc is 25%-30% slower than using Perl's
malloc
On Mon, 18 Oct 1999, Steve Snodgrass wrote:
I've been using mod_perl
if you read POST data, then redirect, you need to do this before the
redirect or apache will hang:
$r-method_number(M_GET);
$r-method('GET');
$r-headers_in-unset('Content-length');
On Wed, 20 Oct 1999, Ilya Obshadko wrote:
Hello,
Weird things: this simple plain
try adding to httpd.conf:
PerlModule Apache
On Thu, 21 Oct 1999, Alessio Bragadini wrote:
I am sorry to bother you with what seems a FAQ, but the solutions found
on the list archive (do make install, check permissions, use PerlSetEnv
PERL5LIB) are not working for me:
after make make
On Thu, 21 Oct 1999, Scott Anderson wrote:
am having the following errors trying to compile apache with mod_perl
my mod perl configuration script looks like this
perl Makefile.PL \
APACHE_SRC=/usr/local/src/apache_1.3.9 \
NO_HTTPD=1 \
PREP_HTTPD=1 \
sounds like somebody has already read the POST data before your code is
reached.
On Fri, 22 Oct 1999, Marler, Gordon wrote:
I'm running mod_perl 1.21, Apache 1.39 on Solaris 2.5.1.
I'm using the proxy example from pp. 374-381 of the "Writing Apache Modules"
book, and I've come up with a
I've checked the Apache::SIG and $r-connection-aborted, but is there a
way to "write" without actually writing, probably some control char will
do? Something like:
while(1){
$r-print("\0");
last if $r-connection-aborted;
$i++;
sleep (1);
}
have a look at what Eric
On Tue, 26 Oct 1999, Pouneh Mortazavi wrote:
i'm so close to getting apache::ssi to work correctly but right now my
work has come to a halt...
I've tracked the problem down to POST-ed forms + SSI + virtual includes +
$r-lookup_uri, but i don't know how to fix it!
I use Apache::SSI
On Thu, 28 Oct 1999, Yasushi Nakajima wrote:
Hello All
I have made a module derived from PerlRun. It overrides only readscript()
method in PerlRun. First I wrote as follows (essencial part only)
package Apache::PerlRunFake;
use Apache::PerlRun;
@ISA = qw(Apache::PerlRun);
On Sat, 23 Oct 1999, Stas Bekman wrote:
After investigating deeper into a hanging detection problem, I understood
that I can quite easily write a monitor that will detect these processes
and kill them off. I wrote a module Apache::SafeHang with help of
Apache::Scoreboard that should solve
On Thu, 28 Oct 1999, Public Interactive wrote:
I'd like to be able to prematurely end the thread of execution
within a Perl apache module from someplace *other than* the
PerlHandler entry point subroutine (usually "handler()"). That is,
when I'm a few subroutines deep inside my module, I
sounds like you have PerlFreshRestart On, try turning it Off. scan the
archives for more info.
On Fri, 29 Oct 1999, Ben Bell wrote:
Hi,
I'm using the Debian package of mod_perl (1.21) and apache 1.3.9 and
I've noticed quite nasty memory leaks on server restart. I've noticed
unresolved
On 31 Oct 1999, Greg Stark wrote:
Does anyone have any idea how much overhead Apache::DProf or Apache::SmallProf
add? Will it be possible to use these on a production system without having a
severe impact?
I wouldn't using profiling on a production site, there is considerable
overhead
On 1 Oct 1999, Stephen Zander wrote:
"Stephen" == Stephen Zander [EMAIL PROTECTED] writes:
Stephen Is the SetHandler functionaity of mod_mime available from
Stephen within mod_perl somehow? This was the one ovbious
Stephen problem I could see with removing everything.
On Sun, 3 Oct 1999, Gerald Richter wrote:
When I use HTML::Embperl for instance like:
perl -MHTML::Embperl -e 'HTML::Embperl::Execute(some_embperl.epl)'
I got: perl: error in loading shared libraries:
/usr/local/lib/site_perl/5.00561/i686-linux/auto/HTML/Embperl/Embperl.so:
801 - 852 of 852 matches
Mail list logo