Re: Accessing configuration information

2002-11-21 Thread dom
Hi All I know I can use $r-dir_config() to access parameter values set in the config file with PerlSetVar, but is it possible to access the value of generic Apache configuration directives? This is described in the [EagleBook] (worth your money, IMHO), and this particular chapter is

Re: Apache::DBI seg fault

2002-11-21 Thread Randy Kobes
On Wed, 20 Nov 2002, Beau E. Cox wrote: I am using Apache::DBI on my test server - all OK. When I try to use it on my production server, I get the following- stdout: Shutting down httpd..done Starting httpd [ PERL ] Syntax OK stderr: /etc/init.d/apache: line 206: 18040 Segmentation

[SOT] Strange browser behavior

2002-11-21 Thread Matthew Pressly
I am using a mod_perl content handler to implement a series of forms. The first request from a particular browser is always a GET that provides some required parameters in the URL. From then on, all parameters are passed as hidden form variables, and only POSTs should occur. If the browser

RE: [SOT] Strange browser behavior

2002-11-21 Thread Nick Challoner
My questions are, is there some IE anomaly or some anomalous way of configuring or using IE that can cause it to all of a sudden do a GET instead of a POST (anything short of manually entering the url)? User bookmarking the page (well, adding to favourites considering we're talking about IE)

libperl.so: undefined symbol: PL_dowarn

2002-11-21 Thread Dennis
Hi, I have compiled mod_perl en installed it without any errors but wen i try to start Apache witch mod_perl then i get the following error: Starting Apache 1.3.27: Syntax error on line 274 of /opt/apache-1.3.27/conf/httpd.conf: Cannot load /opt/apache/libexec/libperl.so into server:

Re: [SOT] Strange browser behavior

2002-11-21 Thread Perrin Harkins
Nick Challoner wrote: My questions are, is there some IE anomaly or some anomalous way of configuring or using IE that can cause it to all of a sudden do a GET instead of a POST (anything short of manually entering the url)? User bookmarking the page (well, adding to favourites considering

RE: Apache::DBI seg fault

2002-11-21 Thread Beau E. Cox
Randy - Thank you, I owe you lunch. I thought I checked all relevant module versions, but your msg spurred me to check again: DBI 1.28 was on production while DBI 1.30 was on test! 1.30 WORKS! 1.28 DOESN'T WORK. All is well - I am one happy camper ;) Aloha = Beau. -Original Message-

Newbie: Why does my script prompt to be downloaded intermittantly?

2002-11-21 Thread Trevor Joerges [SendMIME Software]
I'm running mod_perl v1.0 with Apache v 1.3.27 on Solaris 2.6. I cannot figure out why my scripts occasionally prompt to be downloaded. The behavior is intermittent. I've read the mod_perl pitfalls and the PerlSendHeader is set to on in my config file. Is there something else I need to add or

Re: References for modperl usage in financial institutions?

2002-11-21 Thread Per Einar Ellefsen
At 21:54 20.11.2002, Marcin Kasperski wrote: Thanks for all the people who sent me the references (both here and to private email). Maybe it would be good idea to add some such references to the 'sites running modperl' page. My business client after taking a look at

RE: Newbie: Why does my script prompt to be downloaded intermittantly?

2002-11-21 Thread Gareth Kirwan
Trevor - is there anything that might be sending output to the I/O handle before the header ? That could disrupt the type Gareth -Original Message- From: Trevor Joerges [SendMIME Software] [mailto:[EMAIL PROTECTED]] Sent: 21 November 2002 17:16 To: [EMAIL PROTECTED] Subject: Newbie:

make test failed when installing mod_perl 2.0 on Linux

2002-11-21 Thread Dawn Sun
Hi I am new to linux and mod_perl. Weare runningperl 5.8.0 and apache 2.0.43 on linux.First time we are tryingtoinstall mod_perl2.But the "make test"failed completed. Here is the error_log reads: END in modperl_extra.pl, pid=19385[Thu Nov 21 11:24:45 2002] [notice] Apache/2.0.43 (Unix)

Re: Newbie: Why does my script prompt to be downloaded intermittantly?

2002-11-21 Thread Rafiq Ismail (ADMIN)
On Thu, 21 Nov 2002, Trevor Joerges [SendMIME Software] wrote: behavior is intermittent. I've read the mod_perl pitfalls and the PerlSendHeader is set to on in my config file. Is there something else I need to add or remove? Hi Treveor, I've seen three fixes to this sort of problem in the

Re: [SOT] Strange browser behavior

2002-11-21 Thread Matthew Pressly
On Thu, Nov 21, 2002 at 02:32:41PM -0500, Perrin Harkins wrote: Nick Challoner wrote: My questions are, is there some IE anomaly or some anomalous way of configuring or using IE that can cause it to all of a sudden do a GET instead of a POST (anything short of manually entering the url)?

Re: problems with characters being added to a request.

2002-11-21 Thread Brian Hirt
Okay, I've been able to create a simple testcase that reproduces the problem I'm having. Hopefully some perl/mod_perl guru out there will be able to tell me what the deal is. The program basically print out three strings, concatinates a few strings and print them out too. I've attached two

RE: Accessing configuration information

2002-11-21 Thread Grant McLean
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Hi All I know I can use $r-dir_config() to access parameter values set in the config file with PerlSetVar, but is it possible to access the value of generic Apache configuration directives? This is described in the [EagleBook] (worth

Re: am i heading for disaster... ?

2002-11-21 Thread Noam Solomon
I definitely didn't run out of disk space, so it must have been something else. There were a number of funky things that happened over the course of the build. The first time around, I made mod_perl, then made mod_ssl, and had an error about util.o being out of sync with mod_ssl, so then I ran

Re: Accessing configuration information

2002-11-21 Thread Geoffrey Young
Grant McLean wrote: From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Hi All I know I can use $r-dir_config() to access parameter values set in the config file with PerlSetVar, but is it possible to access the value of generic Apache configuration directives? This is described in the

Re: mod_Perl script and SSI need advice

2002-11-21 Thread Perrin Harkins
Coexec wrote: Hi all, I have a question about how to pass form data with mod_perl and SSI. I have an HTML page with a mod_perl script included. The script creates a form and takes its input and then prints output based on the input (pretty basic). I have the form action set to the script

state of the art throttling?

2002-11-21 Thread Justin
What is the state of the art now in apache or modperl related modules that will throttle based on a combination of the following metrics: * recent bandwidth per IP * recent request count per IP * max number of parallel requests per IP I'm using a tweaked version of the Stonehenge utility

Re: Migrating from CGI.pm to Apache::Request question.

2002-11-21 Thread Stas Bekman
Jesse Erlbaum wrote: Hi Coexec -- I am experienced with using the CGI.pm, and now I want to rewrite all of my CGI's using mod_perl and Apache::Request. Maybe a silly question: What are you hoping to gain by doing this? Speed. Apache::Request's guts are implemented in C, CGI.pm is Perl.

Re: make test failed when installing mod_perl 2.0 on Linux

2002-11-21 Thread Stas Bekman
please remember to properly report problems, as explained at: http://perl.apache.org/docs/2.0/user/help/help.html#Reporting_Problems (hint: the shortcuts menu on the left side of any page of perl.apache.org) if you don't provide all the required details it makes it hard to guess what

How Can I Install ModPerl on My ISP-based Website???

2002-11-21 Thread David Simcik
I would LOVE to use mod_perl on my personal website -- I have the diskspace to do so, but the question remains as to whether or not I have the rights. Can anyone point me to a guide for this? I've poked around the mod_perl site and didn't find anything too specific. Thanks! D. Simcik

Re: state of the art throttling?

2002-11-21 Thread Justin
Well for the purposes of documentation, I'll follow up to myself. I was pointed at a netfilter module (rule) available as a patch, called iplimit, which limits simultaneous open tcp connections to N from either a single IP or from a netblock.. this helps a lot.. -Justin On Thu, Nov 21, 2002 at

Re: How Can I Install ModPerl on My ISP-based Website???

2002-11-21 Thread Stas Bekman
David Simcik wrote: I would LOVE to use mod_perl on my personal website -- I have the diskspace to do so, but the question remains as to whether or not I have the rights. The rights to do what? Can anyone point me to a guide for this? I've poked around the mod_perl site and didn't find

Re: libperl.so: undefined symbol: PL_dowarn

2002-11-21 Thread Stas Bekman
Dennis wrote: Hi, I have compiled mod_perl en installed it without any errors but wen i try to start Apache witch mod_perl then i get the following error: Starting Apache 1.3.27: Syntax error on line 274 of /opt/apache-1.3.27/conf/httpd.conf: Cannot load /opt/apache/libexec/libperl.so into

Re: Problem with Stream-oriented Output Filter

2002-11-21 Thread Stas Bekman
Esteban Fernandez Stafford wrote: Hello, I am currently developing a modperl filter that uses the streaming approach. I started off with the example in http://perl.apache.org/docs/2.0/user/handlers/filters.html#Stream_oriented_Output_Filter sub handler { my $filter = shift; my

PATCH: Apache::AuthDBI

2002-11-21 Thread mod_perl_users
I have been having trouble connecting to my user database, according to the logs, there was never any password returned. After browsing through the code, I found the following: ---start code--- undef $passwd if 0 == $sth-rows; # so we can distinguish later on between no password and empty

Re: How Can I Install ModPerl on My ISP-based Website???

2002-11-21 Thread Aaron Johnson
On Thu, 2002-11-21 at 19:00, David Simcik wrote: I would LOVE to use mod_perl on my personal website -- I have the diskspace to do so, but the question remains as to whether or not I have the rights. Can anyone point me to a guide for this? I've poked around the mod_perl site and didn't find

Re: mod_Perl script and SSI need advice

2002-11-21 Thread Coexec
Coexec wrote: Hi all, I have a question about how to pass form data with mod_perl and SSI. I have an HTML page with a mod_perl script included. The script creates a form and takes its input and then prints output based on the input (pretty basic). I have the form action set