> When running "make" for mod_perl, I'm getting the following error:
>
> mod_perl.c: In function `perl_startup`:
> mod_perl.c:738: 'ap_configtestonly' undeclared (first use in this function)
> mod_perl.c:738: (Each undeclared identifier is reported only once
> mod_perl.c:738: for each function i
The more books is out there the more people come to use Apache, the more
people come to use mod_perl. So if you think that you want to write a book
about Apache and related projects, send your name to Ken.
Forwarded with Ken's permission.
-- Forwarded message --
Date: Wed, 21 Ju
> -Original Message-
> From: Tom Mornini [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, June 21, 2000 3:44 PM
> To: [EMAIL PROTECTED]
> Subject: How to log post and put contents?
>
>
> I'm attempting to write a real-world traffic recorder for
> volume testing
> and QAing our site
>
>
Hi,
Why not using hashes or arrays? What are the serious drawbacks of arrays?
(I know hashes are slow, but..) Why Apache::Table is better (or faster)?
Vlad.
> Are people using hashes or arrays here? (I use Apache::Table myself :)
>
> also, I noticed that $r->pnotes() and $r->server->loglevel
> -Original Message-
> From: Vladislav Safronov [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, June 22, 2000 8:24 AM
> To: 'Geoffrey Young'; 'Andrew Ford'; '[EMAIL PROTECTED]'
> Subject: RE: ANNOUNCE: new draft mod_perl quick reference card
>
>
> Hi,
>
> Why not using hashes or arrays?
On 21-Jun-00 at 17:59, J. J. Horner ([EMAIL PROTECTED]) wrote:
> In Netscape (and probably IE), if a handler returns AUTH_REQUIRED, the
> user can just hit 'Ok' on the password dialogue without typing in a
> password and the browser will resend the original information again.
> If the passwo
On Wed, 21 Jun 2000, Geoffrey Young wrote:
>
> > On Wed, 21 Jun 2000, Blue wrote:
> >
> > > On Wed, 21 Jun 2000, J. J. Horner wrote:
> > >
>
> you might want to check out Apache::TicketAccess and the example of ticket
> based access in the eagle book if you decide move to form based verifica
Michael Todd Glazier ([EMAIL PROTECTED]) said something to this effect:
> As a way to speed up the CGIs but allow my designers easy access to
> the html file, I'm executing an Apache::Registry CGI script from
> within an .shtml document using #exec cgi . The Apache manual says to
> prefer use o
This script should do sql things. After processing sql thing, it shoulld print
some output. Now sql thing is correct because i can see that the data was
in database, but output got this message. So i don't think that DB connection
is timing out. Thanks for your reply
"Erich L. Markert" wrote:
>
> "ES" == E S <[EMAIL PROTECTED]> writes:
ES> Why's that? I'm relatively new to mod_perl, at least in the sense of what
ES> I've been using it for - what're the advantages of going with the direct
ES> handler interface as opposed to registry?
We had a big discussion about this about a month
> "MTG" == Michael Todd Glazier <[EMAIL PROTECTED]> writes:
MTG> As a way to speed up the CGIs but allow my designers easy access to
MTG> the html file, I'm executing an Apache::Registry CGI script from
MTG> within an .shtml document using #exec cgi . The Apache manual says to
MTG> prefer
> "R" == Rudy <[EMAIL PROTECTED]> writes:
R> prepare all your database handles only once!
R> read: perldoc DBI
R> vassst improvements will be noticed. Even if you
R> don't use Perl, the theory is the same.
It depends a lot on your actual database server. For some, it matters
not a bit
I wrote a quick handler that implements a regex as a PerlHandler
maybe this will help to strip out comments:
(oh, and if anyone would like to see this as an official module, I can clean
it up and release it - I didn't really think there would be much interest in
it when I wrote it...)
package
On Thu, Jun 22, 2000 at 09:36:44AM -0400, Vivek Khera wrote:
> > "ES" == E S <[EMAIL PROTECTED]> writes:
>
> ES> Why's that? I'm relatively new to mod_perl, at least in the sense of what
> ES> I've been using it for - what're the advantages of going with the direct
> ES> handler interface as
I don't use the regex handler all that often, but I thought it might come in
handy for this type of thing.
of course, reducing real-time overhead is always prefered.
HTML::Clean looks like a cool module, I'm sure I'll use it often now that I
know of it - thanks for pointing it out...
--Geoff
>
Dave DeMaagd <[EMAIL PROTECTED]> writes:
> Have an application that generates nicely formatted HTML (from
> templates, so that they can be easily edited), but since there's a
> awful lot of extra line breaks (and other things, like comments) that
> we'd like to strip out (save bandwidth), is there
Darren,
Try looking at what IE does around the cutoff point.
I'm not sure how well browers (and proxy caches) follow cache control
directives - I can't see anything wrong with your headers.
I don't know if there are any FAQs etc on this subject. Certainly I've
seen bad things happen with cookie
Hello,
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 QUESTION
> "MTG" == Michael Todd Glazier <[EMAIL PROTECTED]> writes:
MTG>
MTG> The book Professional Apache says this is more efficient than include
MTG> virtual since it allows scripts to be persistent, but I don't see how
MTG> they would not be using include virtual.
I have mod_perl as dynamic
Hi folks,
I am now in the position to hire two or more full-time web engineers
for the redhat.com site. The large majority of our infrastructure is
built up using perl, mod_perl handlers and Apache::ASP. If you love
perl and believe in the spirit of open source, you'll love working
here.
We
On Thu, 22 Jun 2000, Paul Lindner wrote:
>Web Technology: XML, XSLT and XML-RPC; Internationalization;
> Applications Servers (HTML::Mason, Embperl, Apache::ASP, Zope,
> Zentropa, Cocoon etc.); Search systems and concepts.
Bah! You're missing AxKit from that list ;-)
--
Fastnet S
Dave,
WOW!! I know our name is not exactly rare (the producer of
Polka-Dot-Door), but what are the odds of being on the same mailing
list. Too wierd. Anyways.
Correct me if I'm wrong on this, but Apache::PerlVINC has to be compiled
as a shared object that gets loaded on server startup. This is
On Wed, 21 Jun 2000, Dave Moore wrote:
> Hey,
>
> I've installed Apache::PerlVINC, and PerlModule'd it in my httpd.conf
> file. Now whenever I start apache, it doesn't start and logs no errors. I
> am using:
>
> Apache 1.3.9
> mod_perl 1.24 (compiled as DSO)
> Redhat 6.2
> Perl 5.005_03
>
> Th
You might start by staticly linking mod_perl. DSOs are evil.
> -Original Message-
> From: Dave Moore [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, June 22, 2000 09:22 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Apache::PerlVINC making apache kak
>
>
> On Wed, 21 Jun 2000, Dave Moore wrot
Thanks for the reply, Jason.
I agree, that WOULD make the arrays available WITHIN function_2.
However, it seems like they would be GLOBAL (seen outside of
function_2), which is what I am trying to avoid.
In a nutshell, does the assignment:
@{$_} = param($_) foreach @array;
introduce gl
On Thu, 22 Jun 2000, dave moore wrote:
>
> Dave,
>
> WOW!! I know our name is not exactly rare (the producer of
> Polka-Dot-Door), but what are the odds of being on the same mailing
> list. Too wierd. Anyways.
Hmmm. That is a pretty wierd coincidence.
>
> Correct me if I'm wrong on this, but
Here is yet another almost complete rewrite of the section. Thanks to
Barrie and Ed for the comments.
I've taken time to re-read long time ago read linux kernel memory
management system overview, so I hope now the section carries no mistakes.
Remember that many details, like virtual memory explan
On Tue, 20 Jun 2000, Joshua Chamas wrote:
> > your machine. Therefore you should configure the server, so that the
> > maximum number of possible processes will be small enough using the
> > C directive. This will ensure that at the peak hours the
> > system won't swap. Remember that swap space i
Tom Roche 6/16/00 6:52PM
>> I`ve also found Randy Kobes` mod_perl binaries at
>> ftp://theoryx5.uwinnipeg.ca/pub/other/
>> and am planning to try perl-win32-bin-0.6.exe. If anyone has already
>> gotten mod_perl running on w2k, I`d appreciate your recommendations
>> (or pointers to documentation
> "IM" == Ian Mahuron <[EMAIL PROTECTED]> writes:
IM> You might start by staticly linking mod_perl. DSOs are evil.
I disagree. DSOs are exceptionally useful.
On Thu, Jun 22, 2000 at 05:01:41PM +0100, Matt Sergeant wrote:
> On Thu, 22 Jun 2000, Paul Lindner wrote:
>
> >Web Technology: XML, XSLT and XML-RPC; Internationalization;
> > Applications Servers (HTML::Mason, Embperl, Apache::ASP, Zope,
> > Zentropa, Cocoon etc.); Search systems and
Hi,
I found this interesting tidbit from the Eagle book on page 460:
... In addition, the message will be saved in the request's notes
table, under a key named error-notes. ...
And on page 454:
... For example, the logging API saves error messages under a key named
error-notes, wh
On Thu, 22 Jun 2000, Tom Roche wrote:
> Tom Roche 6/16/00 6:52PM
> >> I`ve also found Randy Kobes` mod_perl binaries at
> >> ftp://theoryx5.uwinnipeg.ca/pub/other/
>
> >> and am planning to try perl-win32-bin-0.6.exe. If anyone has already
> >> gotten mod_perl running on w2k, I`d appreciate you
Jeff Macdonald ([EMAIL PROTECTED]) said something to this effect:
> Hi,
> I found this interesting tidbit from the Eagle book on page 460:
> ... In addition, the message will be saved in the request's notes
> table, under a key named error-notes. ...
>
> And on page 454:
> ... For exa
"Russell Lundberg" <[EMAIL PROTECTED]> 6/17/00 12:01:17 PM >>>
>>> Thanks Randy for the perl-win32-bin-0.6.exe binary.
On Thu, 22 Jun 2000, Tom Roche wrote:
>> Indeed! I bow in the general direction of Winnipeg. A few tweaks to
>> httpd.conf-perl, install the service per
>> http://apache.org/docs
I'm not trying to start a debate; I've already read a lot of mod_perl
vs. fastcgi advocacy threads, but I have a specific question or two I
haven't been able to find answered anywhere yet.
I have to do a large, heavily dynamic web site in Perl. It is a
requirement that dynamic content generation
I'm trying to create a cache for group authorization. I'm wondering if
there's any way I can alter the requires information during the initial
authorization so that the cache building code can just pick from that which
group this person matches instead of re-authorizing during cache creation.
I'd
Take a look at my Apache::AuthenCache. You can stack modules. Someday I will
write Apache::AuthzCache which will do just what you want to do.
On 22-Jun-2000 Christian Gilmore wrote:
> I'm trying to create a cache for group authorization. I'm wondering if
> there's any way I can alter the requires
On Thu, 22 Jun 2000, Todd Federman wrote:
> So, my main question: Is there a way to use mod_perl with remote
> execution, or at that point is it just silly not to go with fastcgi?
Not sure how you missed it, but go and read the discussion of using a
reverse proxy with mod_perl in the guide or th
On Wed, Jun 21, 2000 at 11:36:45AM +0200, Per Weisteen wrote:
> In the README file it says :
>
> > =item AIX users
> >
> > If you build mod_perl as a DSO you will get core dumps as soon as you
> > try to use xs modules in perl, e.g. use Fcntl or use Socket. The
> > following patch to perl 5.005_3
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 settings that are
valid accross the entire site.
.--[ Scott Alexander wrote (2000/06/22 at 17:08:06) ]--
|
| So what method are you guys using to store sitewide variables?
|
`-
Where I work we store them as PerlSetVar's in the Apache config,
we store all implementa
On Thu, 22 Jun 2000, Scott Alexander wrote:
> The way i've been trying to do this is to create a module Mf7::Globals
> and then store the data inside.
That should work fine.
> I then have an Initialize_globals function that I run to reset all the
> variables at the begining of a request.
Why w
Attached is a patch to libapreq that addresses this problem.
(Doug, this may be updated since we last sent you this patch to
resolve issues with IE 4.5 on the Mac, which doesn't terminate the
MIME boundary correctly when there are fields
in a multipart/form-data form.)
Jim
On Jun 21, dorian wr
I've taken a liking to setting up a centralized config that puts various
package globals where I want them
# contents of Foo::Config
{
package Foo::Zip;
use vars qw($got $no $guitar $strings);
$got='ernie';
$no='ball';
$guitar='or';
$strings='markly';
}
{
package Foo::Zap;
use va
The backend/frontend setup works well, but for the following problem
that I think is a risk for loaded sites:
I set MaxChildRequests to 500, to effectively clean house every
now and again, as is recommended.. I have about 12 backend
modperl servers, and that handles the load fine. (about 250 fron
On Thu, 22 Jun 2000, Justin wrote:
Hi Justin,
> I set MaxChildRequests to 500, to effectively clean house every
> now and again, as is recommended.. I have about 12 backend
> modperl servers, and that handles the load fine. (about 250 front
> ends).
What is MaxClients set to? Also, do you have
On Thu, 22 Jun 2000, Justin wrote:
> 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
Does it help if you crank MinSpareServers higher?
> Perhaps having my own ChildRequest counter and dieing myse
I RTFM'd some more..
Seems like Apache::SizeLimit helps, if I switch to that, it
would avoid the galloping-herd-off-a-cliff problem I am seeing..
Its still worth stating for the purposes of getting into the
modperl archive at least, that MaxChildRequests is to be avoided
for modperl backend setu
One other thing... Make sure your DB connections are timing out.
Blue wrote:
>
> On Wed, 21 Jun 2000, darren chamberlain wrote:
>
> > The problem seems to arise when your handler returns something (a status
> > code) but hasn't send any data. Turning off buffering ($|) will only help
> > if you
Hello, all.
My question is probably more Apache-related than mod_perl related, but since
my output is being generated dynamically from a Perl module, I'll ask it here
first.
We are dynamically generating datebars for our sites using GD. The datebar
for the day is generated the first time a child
Have an application that generates nicely formatted HTML (from
templates, so that they can be easily edited), but since there's a
awful lot of extra line breaks (and other things, like comments) that
we'd like to strip out (save bandwidth), is there an easy way to do
this via mod_perl, something l
If bandwidth is your issue then why not just zip them up look at
Apache-GzipChain-0.06
-Original Message-
From: Dave DeMaagd [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 22, 2000 4:15 PM
To: [EMAIL PROTECTED]
Subject: stripping CRLF on the way out?
Have an application that gene
Try running HTML::Clean on your template, instead of using CPU for
every request to strip output.
I've done this with some success on a few projects..
Also, Apache::ASP users can activate HTML::Clean to post-process all
HTML output, which can result in 20-40% savings.
I read somewhere that 5 by
At 9:39 AM -0400 6/22/00, Vivek Khera wrote:
>
>I use the include virtual in some situations. If you want the query
>string, just append it:
>
>
Do you happen to know if there's any performance difference between
using the include and virtual and using the following:
The book Professional
55 matches
Mail list logo