problem installing libapreq

2001-08-14 Thread Nick Tonkin
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/apachessl/include which works fine, but make generates

Apache::Session not updating session

2001-08-14 Thread Michael A Nachbaur
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

bugfix in Apache::URI

2001-08-14 Thread Vyacheslav Zamyatin
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

Re: Apache::Session not updating session

2001-08-14 Thread Tatsuhiko Miyagawa
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 strange

Re: Apache::Session not updating session

2001-08-14 Thread Mike P. Mikhailov
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 and

HTTPD eating all RAM

2001-08-14 Thread Mike P. Mikhailov
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

Re: Apache::Session not updating session

2001-08-14 Thread Todd Finney
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 CGI, it

RE: HTTPD eating all RAM

2001-08-14 Thread
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 useing

Re: HTTPD eating all RAM

2001-08-14 Thread Perrin Harkins
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 variable

Looking for answers using mod_perl and windows nt.

2001-08-14 Thread Boyd, David
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

RE: bugfix in Apache::URI

2001-08-14 Thread Geoffrey Young
-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 =

Children dying

2001-08-14 Thread Aleksandr Vladimirskiy
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

Re: Apache::Session not updating session

2001-08-14 Thread Jeffrey W. Baker
On Tue, 14 Aug 2001, Todd Finney wrote: Isn't that what tied(%session)-make_modifed; is for? Yep.

Re: Apache::Session not updating session

2001-08-14 Thread Todd Finney
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, Todd

Re: Looking for answers using mod_perl and windows nt.

2001-08-14 Thread Jeremy Howard
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 saving

RE: Looking for answers using mod_perl and windows nt.

2001-08-14 Thread Boyd, David
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

RE: Apache::Session not updating session

2001-08-14 Thread Geoffrey Young
-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: Isn't that

RE: Apache::Session not updating session

2001-08-14 Thread Todd Finney
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

RE: Looking for answers using mod_perl and windows nt.

2001-08-14 Thread Boyd, David
I think I might have this figured out. in my combobox, I had the following: select name=cmbProgramKey id=cmbProgramKey onChange=cmbProgramKey_OnChange(this.value) option value= ( None Selected ) /option [$ while( $rProgramArray ) $] option value=[+

RE: Looking for answers using mod_perl and windows nt.

2001-08-14 Thread Boyd, David
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

Re: Children dying

2001-08-14 Thread Jim Smith
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) It

Re: Children dying

2001-08-14 Thread Rasoul Hajikhani
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 signal

Re: Children dying

2001-08-14 Thread Perrin Harkins
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 request

Re: Children dying

2001-08-14 Thread Aleksandr Vladimirskiy
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

mod_perl s//g

2001-08-14 Thread Rasoul Hajikhani
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

Re: mod_perl s//g

2001-08-14 Thread Perrin Harkins
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

RE: Children dying

2001-08-14 Thread Sidharth Malhotra
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

my()

2001-08-14 Thread swade
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 =

RE: my()

2001-08-14 Thread Joe Breeden
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

Re: Children dying

2001-08-14 Thread Andrew Ho
Hello, AVI am running a perl 5.6.0, mod_perl 1.26, apache 1.3.19 on Solaris 2.6. AVI 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 AVIt looks like the child serves a request and immidiately dies. A few other

Re: my()

2001-08-14 Thread swade
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 get

Re: my() [very off topic]

2001-08-14 Thread Dave Baker
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 should

Re: Children dying

2001-08-14 Thread Aleksandr Vladimirskiy
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, AVI am running a perl 5.6.0, mod_perl 1.26, apache 1.3.19 on Solaris 2.6. AVI get the following

Re: Apache::Session not updating session

2001-08-14 Thread Michael A Nachbaur
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

Re: Children dying

2001-08-14 Thread Kip Hampton
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 that,

Re: Children dying

2001-08-14 Thread Aleksandr Vladimirskiy
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 you expand

Restricting MP3 files being served

2001-08-14 Thread Rod Butcher
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

Re: Restricting MP3 files being served

2001-08-14 Thread Perrin Harkins
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

RE: Restricting MP3 files being served

2001-08-14 Thread Christian Gilmore
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:

Re: Children dying

2001-08-14 Thread darren chamberlain
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 to

Re: my()

2001-08-14 Thread ryc
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

Re: my() [very off topic]

2001-08-14 Thread Gunther Birznieks
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

Re: problem installing libapreq

2001-08-14 Thread Joe Schaefer
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

Re: Children dying

2001-08-14 Thread Jeff Beard
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

cvs commit: modperl-site/embperl Changes.pod.1.html

2001-08-14 Thread richter
richter 01/08/14 20:29:08 Modified:embperl Changes.pod.1.html Log: Embperl Webpages - Changes Revision ChangesPath 1.221 +11 -1 modperl-site/embperl/Changes.pod.1.html Index: Changes.pod.1.html