On Thu, 22 Jun 2000, Jim Winstead wrote:
Attached is a patch to libapreq that addresses this problem.
Question for Doug,
Can we get libapreq 0.32 out any time soon? There are some pretty nasty
bugs in 0.31 that I'm waiting to get fixed. (the null cookies problem,
this problem, the form
On Thu, 22 Jun 2000, Scott Alexander wrote:
I'm working on creating a site that is completely done in mod perl.
The area that I'm running into problems with is using a single
module to store configuration information. ie where images are
stored. oracle settings, color codes etc. All the
Hello;
I am in big troubles compiling mod_perl 1.23 with apache 1.3.12 on SuSE 6.4.
I have tried to compile mod_perl statically into httpd using axps. I have
received httpd file much bigger than an "empty" one, but httpd didn't know
anything about mod_perl directives inside httpd.conf (it
Any easy fixes to this? am I the first to find this? Am i missing
something obvious? Perhaps having my own ChildRequest counter and
dieing myself, but more randomly, is a better way?
If you're using mod_perl why not use the Apache::SizeLimit module instead of
the MaxChildRequests. AFAIK the
- Original Message -
From: Scott Alexander [EMAIL PROTECTED]
The area that I'm running into problems with is using a single
module to store configuration information. ie where images are
stored. oracle settings, color codes etc. All the settings that are
valid accross the entire
idealab! creates, launches and operates Internet businesses. Founded in
March 1996, idealab! currently has approximately 50 businesses in various
stages of development. In addition to capital, idealab! provides a full
range of resources to infuse startup companies with the development
strategies
Justin [EMAIL PROTECTED] writes:
What I think happens is the children die after their last request,
and apache does not kick off a new child straight away.. MinFree is
set to 2 .. as 12 becomes 11 becomes 10 becomes 9, my backend is
getting less and less powerful and more and more swamped.
In the article "Up to Speed with VelociGen" located
http://www.webtechniques.com/archives/2000/05/infrrevu/ Brian Wilson
tries to compare Velocigen with mod_perl, unfortunately gives lots of
FUD for mod_perl instead of having a true comparison.
For those who don't know FUD is an abbreviation
(XOT: eXtremely OT)
perl complains about variable method calls ($obj-$meth) when I move from
5.6.0 back to 5.00503, it says syntax error near "$meth".
i think this is supported at the very beginning. did i missed sth?
kenneth
Folks, if you think that you can write a few articles about mod_perl
please approach one of the many online magazines about web technology,
linux, unix (ms?) and what not, and offer to write about it. All you have
to do is to go to the site, find an email of the publisher and offer
yourself,
On 23 Jun 2000, David Hodgkinson wrote:
Justin [EMAIL PROTECTED] writes:
What I think happens is the children die after their last request,
and apache does not kick off a new child straight away.. MinFree is
set to 2 .. as 12 becomes 11 becomes 10 becomes 9, my backend is
getting
Hi,
Try http://www.comptek.ru/yandex/YandexFree.html
search engine for web servers with highlighting searched words...
-Original Message-
From: Stas Bekman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 04, 2000 2:10 PM
To: Matt Sergeant
Cc: mod_perl list
Subject: Re: search
Stas Bekman [EMAIL PROTECTED] writes:
On 23 Jun 2000, David Hodgkinson wrote:
Justin [EMAIL PROTECTED] writes:
What I think happens is the children die after their last request,
and apache does not kick off a new child straight away.. MinFree is
set to 2 .. as 12 becomes 11
On 23 Jun 2000, David Hodgkinson wrote:
Stas Bekman [EMAIL PROTECTED] writes:
On 23 Jun 2000, David Hodgkinson wrote:
Justin [EMAIL PROTECTED] writes:
What I think happens is the children die after their last request,
and apache does not kick off a new child straight
On Fri, 23 Jun 2000, Vladislav Safronov wrote:
Hi,
Try http://www.comptek.ru/yandex/YandexFree.html
search engine for web servers with highlighting searched words...
Heh, it helps when you know Russian and have the font installed :)
Oh, I see the English link:
On Fri, 23 Jun 2000, Stas Bekman wrote:
In the article "Up to Speed with VelociGen" located
http://www.webtechniques.com/archives/2000/05/infrrevu/ Brian Wilson
tries to compare Velocigen with mod_perl, unfortunately gives lots of
FUD for mod_perl instead of having a true comparison.
I
Stas Bekman [EMAIL PROTECTED] writes:
I think it doesn't matter whether it's a script or a module.
So if startup.pl contains:
use CGI ;
use DBI ;
use My::Application ;
Then there's no gain?
--
Dave Hodgkinson, http://www.hodgkinson.org
Editor-in-chief, The
Trying to get IE to take a cookie in either an error header or a
standard header has just been driving me insane tonight. After every
possible iteration I ended up with the following and a redirect. Note
that $r-header_out() worked without a redirect as well.
$r-err_header_out('Set-cookie' =
I just tried the following registry script with NS4.7 and IE5 (both win) and
it worked just fine...
#!/usr/bin/perl
use strict;
my $r = shift;
$r-err_headers_out-add('Set-cookie' = 'cookie1=value1;
domain=.laserlink.net');
$r-err_headers_out-add('Set-cookie' = 'cookie2=value2;
How should I correctly make "Param" assignments availble to function_2
and NOT to function_1 ???
#---
sub function_1 {
blah
blah
}
sub function_2 {
my @array = param('This_Param');
foreach (@array) {
my @{$_} = param($_); # ASSIGNMENT IN
Well, with little knowledge I have about mod_perl
if sys admin tells you that mod_perl slows down
the system, before making changes to the program
you should have at least the following:
a) Memory utilization numbers (sorted by a process)
b) CPU utilization numbers (sorted by a process)
c)
"J" == Justin [EMAIL PROTECTED] writes:
J and apache does not kick off a new child straight away.. MinFree is
J set to 2 .. as 12 becomes 11 becomes 10 becomes 9, my backend is
J getting less and less powerful and more and more swamped. When
Make your min-free servers higher, and set max-free
"DH" == David Hodgkinson [EMAIL PROTECTED] writes:
DH If you take a large script, throw it at Apache::Registry, then you'll
DH be compiling the script every time the a diaghter respawns.
No, it doesn't happen when the child process is "spawned" (what is
this, OS/2? We "fork" around here!)
On Thu, 22 Jun 2000, josh schwartz wrote:
[snip]
In addition, idealab! provides advice on strategy, branding and
corporate structure. idealab! public companies include GoTo.com, eToys,
^^
Here we go again ;))
In order to get a certain buggy, poorly-designed application from a well-known vendor
to maintain its sessions in the face of the user's IP address changing (vendor doesn't
understand that addresses may change between requests), I'd like to have Apache lie to
the vendor's canned CGI app about
"SvdB" == Steve van der Burg [EMAIL PROTECTED] writes:
SvdB That is, I'd like to set REMOTE_ADDR like so:
SvdB Location /cgi-bin/VENDOR
SvdB # Feed vendor's crappy CGI code a fake address that won't change:
SvdB PerlSetEnv REMOTE_ADDR 1.2.3.4
SvdB /Location
But is /cgi-bin running under Perl?
On Jun 23, Balazs Rauznitz wrote:
On Thu, 22 Jun 2000, josh schwartz wrote:
[snip]
In addition, idealab! provides advice on strategy, branding and
corporate structure. idealab! public companies include GoTo.com, eToys,
To follow up: Feel free to contact me at Apache Today (http://www.apachetoday.com)
with any article ideas. Stas has contributed to the site, and we're always
looking for more articles from the community. Plus, we do pay $. ;)
--Kevin Reichard
Stas Bekman wrote:
Folks, if you think that you can
"KR" == Kevin Reichard [EMAIL PROTECTED] writes:
KR Plus, we do pay $. ;)
So
I
guess
it
makes
sense
to
make
your
articles
as
many
lines
long
as
possible
in
order
to
maximize
the
value
of
$.
;-)
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vivek Khera, Ph.D.
Vivek Khera [EMAIL PROTECTED] wrote:
"SvdB" == Steve van der Burg [EMAIL PROTECTED] wrote:
SvdB That is, I'd like to set REMOTE_ADDR like so:
SvdB Location /cgi-bin/VENDOR
SvdB # Feed vendor's crappy CGI code a fake address that won't change:
SvdB PerlSetEnv REMOTE_ADDR 1.2.3.4
SvdB /Location
"SvdB" == Steve van der Burg [EMAIL PROTECTED] writes:
SvdB I agree. How a major vendor with lots of staff and billions of
SvdB dollars can get the basics wrong, I don't know.
Ever used a MS product? ;-)
Like that but work-around earlier today for Apache::Request to work
around a MIME
They usually pay by the word rather than the line though. So it makes sense
to say things several times but using different mechanisms. You know, kind
of like going over an idea again but with a slightly different twist.
Sometimes you can liken this to using different wording to discuss the
Like that but work-around earlier today for Apache::Request to work
around a MIME formatting but in IE on the Mac. Lame.
Taking your remote_ip hint, and reading the Eagle a bit more closely, I came up with
this:
In httpd.conf:
Location /cgi-bin/VENDOR
PerlAccessHandler LHSC::FakeRemoteIP
Hi All,
I'm currently using mod_usertrack to maintain a session id for each
request, then am logging this with my own perl Log handler. This is all in
and working fine (thanks to a couple members of this list - Jacob Davies and
Ian Kallen - thanks guys!). Unfortunately, since the cookie is
On Jun 23, Jim Sproull wrote:
This all works fine. However, the get_sessionid and set_sessionid are
using a dbm file, which is locked and unlocked during each request. (I
know, I know). Obviously, this is a lot more load that is necessary. I
tried using a simple global variable (defined
On Fri, 23 Jun 2000, Steve van der Burg wrote:
Taking your remote_ip hint, and reading the Eagle a bit more closely,
I came up with this:
In httpd.conf:
Location /cgi-bin/VENDOR
PerlAccessHandler LHSC::FakeRemoteIP
/Location
Why an Access handler? I realize it works, but a more
On Thu, 22 Jun 2000, Jeff Macdonald wrote:
My thinking is that $error would contain the error recorded in the
error_log file.
Instead $error is empty. Any thoughts?
This works in very current versions of mod_perl. What are you running?
--
-- Tom Mornini
-- InfoMania Printing and Prepress
hi all...
I've been trying all morning to access PerlAddVar variables as
expected (see
http://marc.theaimsgroup.com/?l=apache-modperlm=95718409824646w=2 and
forward)
I'm not sure if anyone tested Doug's patch
(http://marc.theaimsgroup.com/?l=apache-modperlm=95742001627308w=2) or
In httpd.conf:
Location /cgi-bin/VENDOR
PerlAccessHandler LHSC::FakeRemoteIP
/Location
Why an Access handler? I realize it works, but a more appropriate
phase would be PerlFixupHandler, since you aren't doing any access
control in your module. A couple other nitpicky points: you probably
-Original Message-
From: Dan Rench [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 23, 2000 12:33 PM
To: Steve van der Burg
Cc: [EMAIL PROTECTED]
Subject: Re: Simple program _setting_ REMOTE_ADDR - SOLUTION
On Fri, 23 Jun 2000, Steve van der Burg wrote:
Taking your
Hi,
I've been using Net::LDAP in a mod_perl/Apache server for awhile and I
have a question. What would I need to do to cache the Net::LDAP
handler/connection, like Apache::DBI? Net::LDAP is not something I
would consider "blazingly fast," and opening a new LDAP connection and
binding on a
On Fri, 23 Jun 2000, Scott Alexander wrote:
package Mf7::Globals;
use strict;
use vars qw($VERSION);
my (
$imgserver,
);
$VERSION = '0.01';
sub Initialize_globals {
$imgserver = 'http://www.musiciansfriend.com';
}
1;
Okay, this is an easy one. You are declaring
On Fri, 23 Jun 2000, Jeff Macdonald wrote:
Tom Mornini wrote:
On Thu, 22 Jun 2000, Jeff Macdonald wrote:
My thinking is that $error would contain the error recorded in the
error_log file.
Instead $error is empty. Any thoughts?
This works in very current versions of
On 22 Jun 2000, at 17:51, Perrin Harkins wrote:
On Thu, 22 Jun 2000, Scott Alexander wrote:
I then have an Initialize_globals function that I run to reset all the
variables at the begining of a request.
Why would you reset all of your configuration globals at the beginning of
a request?
You could also export the variables (in which case @EXPORT_OK is
preferable to @EXPORT). It still needs to be a global variable, but you
won't need to refer to it with a fully qualified name.
Craig
On Fri, 23 Jun 2000, Perrin Harkins wrote:
On Fri, 23 Jun 2000, Scott Alexander wrote:
On Fri, 23 Jun 2000, Yann Ramin wrote:
I've been using Net::LDAP in a mod_perl/Apache server for awhile and I
have a question. What would I need to do to cache the Net::LDAP
handler/connection, like Apache::DBI?
You could start with something like this:
use vars qw($ldap);
$ldap ||=
On Fri, 23 Jun 2000, Jakub Vosahlo wrote:
I have tried to compile mod_perl statically into httpd using axps. I have
received httpd file much bigger than an "empty" one, but httpd didn't know
anything about mod_perl directives inside httpd.conf (it complained about
not loaded shared module,
Hi, all.
I've started writing a module which I hope to be able to release to
CPAN, and would welcome any input. The inspiration for this module was
an attempt to prevent problems that might arise from modules
overwriting each other's signal handlers *without_even_knowing*. (I
know it would be
Subject says it all, really. I've tried building apache+mod_perl
half a dozen ways, with CFLAGS and without, with DSO and with APXS.
I've even tried recompiling perl 5.6 with -Ubincompat5005 and
-Uuselargefiles. Test 2 always seems to fail; test 1 fails only
sometimes. Any suggestions? Any other
On Fri, Jun 23, 2000 at 09:54:49AM -0400, Vivek Khera wrote:
"J" == Justin [EMAIL PROTECTED] writes:
J Its still worth stating for the purposes of getting into the
J modperl archive at least, that MaxChildRequests is to be avoided
J for modperl backend setups.
I disagree. You just
On 23 Jun 2000, at 13:27, Perrin Harkins wrote:
On Fri, 23 Jun 2000, Scott Alexander wrote:
Okay, this is an easy one. You are declaring $imgserver as a lexical (my)
variable. When Perl finishes executing this file, lexical variables go
out of scope. You can fix this by making it a real
Apache::Request eats up memory during a file upload
Attached is a patch to libapreq that addresses this problem.
...
Thanks for this, Jim. Unfortunately, I'm having some problems with the
patch. When I try and upload a file greater than a couple of k, I get a
segfault in httpd. Could you
52 matches
Mail list logo