I really hope this isn't a FAQ, but I've lost more hair over this problem
than I really should have, which is why I'm here.
I'm using Apache::Session::File, and am setting a cookie for my sessionid,
and my code is currently running in plain-old CGI mode (one of the libraries
I'm using keeps segfa
Hello all,
Here is a small patch that prevents crash in the following example.
$referer = 'http://some.host.com';
$uri = Apache;:URI->parse($req,$referer);
$page = $uri->rpath;
If parsed uri don't have path at all, it'll dump core in the last line.
--- URI.xs Mon Apr 10 18:07:07 2000
On Tue, 14 Aug 2001 00:27:28 -0700
"Michael A Nachbaur" <[EMAIL PROTECTED]> wrote:
> I'm using Apache::Session::File, and am setting a cookie for my sessionid,
> and my code is currently running in plain-old CGI mode (one of the libraries
> I'm using keeps segfaulting under mod_perl for some str
Hello Michael A Nachbaur,
Tuesday, August 14, 2001, 12:27:28 PM, you wrote:
MAN> I really hope this isn't a FAQ, but I've lost more hair over this problem
MAN> than I really should have, which is why I'm here.
MAN> I'm using Apache::Session::File, and am setting a cookie for my sessionid,
MAN>
Hello modperl,
I'm useing Apache/1.3.12 (Unix) mod_perl/1.25 Embperl 1.3b7 under RH
7.0. From request to request size of the httpd grows and eat all
available RAM. Daemon run under -X option. My question is:
how can I find out which exactly variable are eating RAM ?
I'm absolutely s
At 03:27 AM 8/14/01, Michael A Nachbaur wrote:
>I'm using Apache::Session::File, and am setting a cookie for my
>sessionid,
>and my code is currently running in plain-old CGI mode (one of the
>libraries
>I'm using keeps segfaulting under mod_perl for some strange
>reason). When I
>visit the CG
I would imagine that this is more related to Embperl and your code than it is to
mod_perl.
Check out the Embperl docs to find out how to get debugging info turned on. I've used
it in the past and found it quite useful.
"Mike P. Mikhailov" <[EMAIL PROTECTED]> wrote:
>Hello modperl,
>
> I'm u
On Tue, 14 Aug 2001, Mike P. Mikhailov wrote:
> I'm useing Apache/1.3.12 (Unix) mod_perl/1.25 Embperl 1.3b7 under RH
> 7.0. From request to request size of the httpd grows and eat all
> available RAM. Daemon run under -X option. My question is:
>
> how can I find out which exactly varia
I am using Windows NT, running apache with mod_perl.
The problem that I am having is that I am dynamiclly filling in the options
of a select box from a
database. now when a user selects a value, I expect that value to be on the
URL, but it is not. I
am currently saving the selected value to a
> -Original Message-
> From: Vyacheslav Zamyatin [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, August 14, 2001 4:15 AM
> To: [EMAIL PROTECTED]
> Subject: bugfix in Apache::URI
>
>
> Hello all,
>
>
> Here is a small patch that prevents crash in the following example.
>
>
> $referer =
Geoffrey Young wrote:
>
> > -Original Message-
> > From: Vyacheslav Zamyatin [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, August 14, 2001 4:15 AM
> > To: [EMAIL PROTECTED]
> > Subject: bugfix in Apache::URI
> >
> >
> > Hello all,
> >
> >
> > Here is a small patch that prevents crash in t
Hi all,
I am running a perl 5.6.0, mod_perl 1.26, apache 1.3.19 on Solaris 2.6. I
get the following error in my logs:
[Tue Aug 14 10:45:10 2001] [notice] child pid 2630 exit signal
Segmentation Fault (11)
It looks like the child serves a request and immidiately dies.
Does anyone have any idea
On Tue, 14 Aug 2001, Todd Finney wrote:
> Isn't that what tied(%session)->make_modifed; is for?
Yep.
At 11:07 AM 8/14/01, Jeffrey W. Baker wrote:
>On Tue, 14 Aug 2001, Todd Finney wrote:
> > Isn't that what tied(%session)->make_modifed; is for?
>
>Yep.
Perhaps it might be a good idea to mention it in the Apache::Session
perldoc. I'm using 1.5mumble, and there's no word of it there.
cheers,
To
Boyd, David wrote:
> I am using Windows NT, running apache with mod_perl.
>
> The problem that I am having is that I am dynamiclly filling in the
options
> of a select box from a
> database. now when a user selects a value, I expect that value to be on
the
> URL, but it is not. I
> am currently
lets see if I can clearify my statement.
first I am new to mod_perl.
Now, my form is using post. I am using some debug messages
that will output, in html format, the contents of $fdat. So,
when I select next page, after making a selection from the combo
box, i expected to see something like t
> -Original Message-
> From: Todd Finney [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, August 14, 2001 11:19 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Apache::Session not updating session
>
>
> At 11:07 AM 8/14/01, Jeffrey W. Baker wrote:
> >On Tue, 14 Aug 2001, Todd Finney wrote:
> > >
At 11:39 AM 8/14/01, Geoffrey Young wrote:
> > -Original Message-
> > From: Todd Finney [mailto:[EMAIL PROTECTED]]
> > Subject: Re: Apache::Session not updating session
> >
> > At 11:07 AM 8/14/01, Jeffrey W. Baker wrote:
> > >On Tue, 14 Aug 2001, Todd Finney wrote:
> > > > Isn't that what
I think I might have this figured out.
in my combobox, I had the following:
( None Selected )
[$ while( $rProgramArray ) $]
[+
$$rProgramArray[1] +]
[- $rProgramArray = $sthProgram->fetchrow_arrayref(); -]
[$ endwhile $]
Now when I rem
I take it back, what seems to be happing is that the
first item in the select box is identified as selected. If
I select a different item in the list, the first one is always selected.
This gets stranger by the minute.
...
-Original Message-
From: Boyd, David [mailto:[EMAIL PROTECTED
On Tue, Aug 14, 2001 at 10:48:48AM -0400, Aleksandr Vladimirskiy wrote:
>
> Hi all,
>
> I am running a perl 5.6.0, mod_perl 1.26, apache 1.3.19 on Solaris 2.6. I
> get the following error in my logs:
>
> [Tue Aug 14 10:45:10 2001] [notice] child pid 2630 exit signal
> Segmentation Fault (11)
>
Jim Smith wrote:
>
> On Tue, Aug 14, 2001 at 10:48:48AM -0400, Aleksandr Vladimirskiy wrote:
> >
> > Hi all,
> >
> > I am running a perl 5.6.0, mod_perl 1.26, apache 1.3.19 on Solaris 2.6. I
> > get the following error in my logs:
> >
> > [Tue Aug 14 10:45:10 2001] [notice] child pid 2630 exit si
On Tue, 14 Aug 2001, Aleksandr Vladimirskiy wrote:
> I am running a perl 5.6.0, mod_perl 1.26, apache 1.3.19 on Solaris 2.6. I
> get the following error in my logs:
>
> [Tue Aug 14 10:45:10 2001] [notice] child pid 2630 exit signal
> Segmentation Fault (11)
>
> It looks like the child serves a r
This happens whenever I do anything with mod_perl - serve a URL by a
handler I wrote or by a cgi script under Apache::Registry. If I knew what
was causing this I wouldn't be asking this list.
Alex
On Tue, 14 Aug 2001, Rasoul Hajikhani wrote:
> Jim Smith wrote:
> >
> > On Tue, Aug 14, 2001 at 10
Are there any traps that I should be aware of when using s//g? I was
reading the online mod_perl docs and could not find anything to that
effect. But I do recall working with Perrin (correct me if I am wrong
Perrin) that there were some issues with using global tag in
substitutions.
-r
On Tue, 14 Aug 2001, Rasoul Hajikhani wrote:
> Are there any traps that I should be aware of when using s//g? I was
> reading the online mod_perl docs and could not find anything to that
> effect. But I do recall working with Perrin (correct me if I am wrong
> Perrin) that there were some issues
I have also experienced the same without any [known] xml parsers or
templates.
-Original Message-
From: Aleksandr Vladimirskiy [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 14, 2001 1:54 PM
To: Rasoul Hajikhani
Cc: Jim Smith; [EMAIL PROTECTED]
Subject: Re: Children dying
This happens
Hi, I'm completly confused by this my(X) not being available outside of a
subroutine, I've read everything but must not still get itis this an
approriate solution? it makes @countries available...
my @countries; <- solution?
my $sql = "select distinct country from geo";
my $sth = $match::d
That is the way to do it. It can get a little confusing at first, but once
you get used to doing things that way it will become 2nd nature.
--Joe Breeden
--
Sent from my Outlook 2000 Wired Deskheld (www.microsoft.com)
> -Original Message-
> From: swade [mailto:
Hello,
AV>I am running a perl 5.6.0, mod_perl 1.26, apache 1.3.19 on Solaris 2.6.
AV>I get the following error in my logs:
AV>
AV>[Tue Aug 14 10:45:10 2001] [notice] child pid 2630 exit signal Segmentation Fault
(11)
AV>
AV>It looks like the child serves a request and immidiately dies.
A few ot
Much thanks! What do the knowledgable programmers do? Do they my() thier
variables, etc at the beginning of thier subroutines? Or do they do it as
they come to it? or is it really just personal prefence?
shawn
> That is the way to do it. It can get a little confusing at first, but once
> you ge
On Tue, 14 Aug 2001, swade wrote:
> Much thanks! What do the knowledgable programmers do? Do they my() thier
> variables, etc at the beginning of thier subroutines? Or do they do it as
> they come to it? or is it really just personal prefence?
>
This is rather off topic for mod_perl and shoul
Hi Andrew, thanks for the suggestions. I compiled mod_perl statically.
I haven't seen "expat" mentioned anywhere, can you expand on that?
Thanks
Alex
On Tue, 14 Aug 2001, Andrew Ho wrote:
> Hello,
>
> AV>I am running a perl 5.6.0, mod_perl 1.26, apache 1.3.19 on Solaris 2.6.
> AV>I get the fol
Okay, thank you all for your suggestions. It was the deep modifications
that were killing me. I just did a handy-dandy:
$session{timestamp} = time;
and that fixed everything.
-man
Michael A Nachbaur
Hi Aleksandr,
Aleksandr Vladimirskiy wrote:
>
> Hi Andrew, thanks for the suggestions. I compiled mod_perl statically.
> I haven't seen "expat" mentioned anywhere, can you expand on that?
You can check by doing:
strings /path/to/apache/bin/httpd | grep -i XML
If you get anything back from tha
Hey, thanks I ran the command and no output, so I guess I don't have
expat?
On Tue, 14 Aug 2001, Kip Hampton wrote:
> Hi Aleksandr,
>
> Aleksandr Vladimirskiy wrote:
> >
> > Hi Andrew, thanks for the suggestions. I compiled mod_perl statically.
> > I haven't seen "expat" mentioned anywhere, can
I have a lot of large MP3 files, and want to restrict the number that Apache
serves concurrently. Is this possible ? I'm posting it here since I assume
it would require some sort of module to achieve it. ?? (Win 32).
Thanks. Rod
> I have a lot of large MP3 files, and want to restrict the number that
Apache
> serves concurrently. Is this possible ? I'm posting it here since I assume
> it would require some sort of module to achieve it. ?? (Win 32).
You want mod_throttle. I don't know if it works on Windows.
- Perrin
Actually, you want mod_throttle_access. Standard C apache plugin module.
http://www.fremen.org/apache/.
Regards,
Christian
> -Original Message-
> From: Perrin Harkins [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, August 14, 2001 5:28 PM
> To: Rod Butcher; [EMAIL PROTECTED]
> Subject: Re: R
Aleksandr Vladimirskiy <[EMAIL PROTECTED]> said something to this effect on 08/14/2001:
>I am running a perl 5.6.0, mod_perl 1.26, apache 1.3.19 on Solaris 2.6.
>I get the following error in my logs:
perl 5.6.0 has DynaLoader bug that minifests itself under
mod_perl. Upgrade to 5.6.1, downgrade
Using 'my $variable_name' is kinda like a declaration of the variable that
tells perl the scope of the variable. So if you do my $var1 at the root
level of a file, the variable will be accessible throughout the entire
file.. or like in the problem you ran into, if you declare my $var2 inside a
whi
It is not off topic if you realize that the way Apache::Registry and
PerlRun wraps scripts will cause the closures to occur with my. So it's
really rude to actually have anew person have to join an entirely new
mailing list just because of a problem that mod_perl itself forces the user
to deal
Nick Tonkin <[EMAIL PROTECTED]> writes:
> I'm trying to install libapreq on a new box on which I've rolled an
> apache-mod_ssl-openssl combo. As you may know this puts apache in
> /usr/local/apachessl.
>
> I followed the hint in INSTALL and did ./configure
> --with-apache-includes=/usr/local/apa
I've got the same configuration and it's working fine.
No seg faults unless I cause'em.
If nothing else is giving you adequate information,
you can always remove code until it works. Not
very elegant but it works consistently.
--Jeff
On Tue, 14 Aug 2001, darren chamberlain wrote:
> Aleksandr V
Hi Gunther,
On Wed, 15 Aug 2001, Gunther Birznieks wrote:
> It is not off topic if you realize that the way Apache::Registry and
> PerlRun wraps scripts will cause the closures to occur with my.
Nice one Gunther. :) TMTOWDI...
> It seems to me that he is confused about when the variable wil
Hi Andrew,
On Tue, 14 Aug 2001, Andrew Ho wrote:
> AV>I am running a perl 5.6.0, mod_perl 1.26, apache 1.3.19 on Solaris 2.6.
[snip]
> AV>[Tue Aug 14 10:45:10 2001] [notice] child pid 2630 exit signal Segmentation Fault
>(11)
[snip]
>
> A few other folks have given useful references on how to
46 matches
Mail list logo