Mark Hazen wrote:
Hmm, then create a ramdisk and read from the file virtually stored in
the RAM.
Stas,
This is an elegant solution that I had not thought of. My problem is that
I
can't get ramdisks to work on my Red Hat 6.2 with 2.4.9 machine. But
that's
really my problem, and you've
Jonathan M. Hollin wrote:
Er, that's not strictly true. Outlook handles encrypted and/or signed
email as well as any other client. Outlook displays the signed email
with a unique icon to identify it as such. The attachment contains the
actual PGP info (in case you want to see it). I think
Geoffrey Young wrote:
Philip Mak wrote:
The following webpage on a mod_deflate enabled server is not working
correctly in some browsers:
...
a few of us have been wondering where all the traffic on these modules
has been coming from, is all - I thought it might genuinely be some
mod_accel and mod_deflate are the modules I discussed a couple of weeks ago
to allow you to create an efficient HTTP accelerator front-end to your
mod_perl servers.
I incorrectly reported 2 days ago that mod_deflate does not work with
Mozilla-based browsers. It turns out that the problem is
I posted a couple of weeks ago about how well the mod_deflate/mod_accel
combination works on a front-end HTTP accelerator. I've just discovered a
problem that I thought I'd mention here for anyone who's trying this out.
It appears that Mozilla-based browsers fail when using gzip encoding with
Philip Mak wrote:
On Fri, 28 Dec 2001, Igor Sysoev wrote:
I think it should have reverse syntax:
AccelReverse http://127.0.0.1:8001/ /
Or not ? Of course it complicates porting from mod_proxy to mod_accel
but I think it's clearer then ProxyPassReverse syntax.
I don't think
Philip Mak wrote:
In ftp://ftp.lexa.ru/pub/apache-rus/contrib/ (where I have been told to
download mod_accel/mod_deflate from before), I see another file called
mod_realip-1.0.tar.gz just released one week ago. From looking at the
keywords in the documentation, it looks like a module to be
Igor Sysoev mentioned recently on this list that he has written a module
called 'mod_accel' that provides a caching HTTP accelerator, as well as a
mod_gzip replacement called 'mod_deflate'. These modules are both used on
Kaspersky labs' busy sites, as well as at the popular portal
Rob Mueller (fastmail) wrote:
And ++ on Paul's comments about Devel::DProf and other profilers.
Ditto again. I've been using Apache::DProf recently and it's been great at
tracking down exactly where time is spent in my program.
One place that Rob and I still haven't found a good solution
Perrin Harkins wrote:
Also, I'd like to see MLDBM + BerkeleyDB (not DB_File) with BerkeleyDB
doing automatic locking, and IPC::MM, and IPC::Shareable, and
IPC::ShareLite (though it doesn't serialize complex data by itself), and
MySQL with standard tables. Of course I could just do them
Matt Sergeant asked:
I have an error on my server that I think is caused by an infinite loop in
perl code [*]. Does anyone have a reliable way to detect where this is
happening on a server with lots of code?
$SIG{ALRM} = sub {
Carp::confess(Got Apache::Event ALRM);
};
By the way, I noticed he documented still another gotcha due to a sneaky
closure. Does anyone know off-hand whether the Perl 6 folks plan to
change the closure syntax so they don't sneak into your code this way?
Closures, references, et al are being thoroughly revised, such that there
will
to be ignored anyway unless you are sending binary data.
At 06:35 AM 10/13/2001, Jeremy Howard wrote:
Our site is suddenly getting to the point where resource constraints
are
becoming an issue for the first time. So, apologies in advance if I
have
lots of optimization-related questions over
I just noticed that Apache 1.3.22 is out. Details here:
http://www.apacheweek.com/issues/01-10-12
3 security patches included, plus enhancements to ab, mod_auth (now
understands FS permissions), and the manual, plus numerous other bits and
pieces.
Our site is suddenly getting to the point where resource constraints are
becoming an issue for the first time. So, apologies in advance if I have
lots of optimization-related questions over the next couple of weeks...
One thing I would like to catch is the related problems of:
- Users pressing
Ray and Lara Recendez wrote:
I am trying to get Apache::Hello to work.
...
#!/usr/local/bin/perl
Turn PerlWarn On as described here:
http://perl.apache.org/src/mod_perl.html#SWITCHES
Also try running Apache in single-user mode:
/usr/local/apache/bin/apachectl -X
This helps you pick up
Miroslav Madzarevic wrote:
I don't wan't anything related to Apache (no Apache, not even
Apache::Registry or anything else, I'm a mod perl, Mason programmer so I'm
familiar with them).
I just wanted to have perl binary persistent in memory (_like_ in
mod_perl)
so that perl doesn't have to
Medi Montaseri wrote:
Having said thatI recommend Writing Apache Modules with Perl and C
known as the 'eagle book'. See Chapter 3, 'The Apache Module Architecture
and API' and for a quick feeling, see Figure 3-3, page 60, The Request
Loop.
Of course I'm new to mod_perl, so if Pokymon
Ed Loehr wrote:
I recently read that AxKit was in the process of becoming an ASF xml
project. Does anyone have a sense of the timing for when this might
happen and when axkit.org/axkit.apache.org will return/arrive?
Also, does anyone know of a mirror site for axkit.org?
You can see where
Paul DuBois wrote:
mysql_store_result/mysql_use_result determine whether or not the server
sends all the rows to the client at once, or one at a time as the client
asks for them. mysql_store_result is therefore more memory intensive
for the client (which must hold the entire result set).
Hi! I am wondering if anyone could tell me how to actually run
modperl on my webserver i have perl modules installed to run without
modperl and dont know how to invoke the process to get them working
can anyone help?
jason
The best place to learn mod_perl is the Guide:
Stas Bekman wrote:
Something forces the reload of your files. I'd suggest putting something
like:
use Carp;
cluck(I was loaded);
in one of the files
run the server in single server mode (httpd -X)
and check the trace on the second reload.
Nice idea. You might also try 'warn @INC' in one
Steven Sajous wrote:
From: Jeremy Howard [mailto:[EMAIL PROTECTED]]
Steven Sajous wrote:
referring to nmake with VC++
It comes with it? I don't see it
Yes it does. Run the batch file Robert mentioned and it'll work from
the
command line. You can also download it from:
ftp
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
Jack Cushman wrote:
I am having a problem with very large file uploads (eg 100 MB). While the
files load, the apache process stays at about 12000 K (the ps VSZ size).
When the file finishes uploading, the thread suddenly jumps to over
20.
My guess is that something is loading the whole
brian moseley wrote:
for those of you who were at the presentation this morning
and wanted more info on wombat - here are the urls:
http://libservlet.sourceforge.net
http://wombat.sourceforge.net
Unfortunately I wasn't at the preso, but I've looked at the slides you've
got up on your
Please be aware that WebMacro is a moderately popular Java templating tool
hosted at
http://www.webmacro.org
Naming it WWW::WebMacro might be a bit confusing.
It's your choice. I just wanted to make you aware of the other WebMacro.
You're right--I just remembered that...
Back to the
Gunther Birznieks wrote:
If you guys end up finally collaborating, one very minor request I would
have is that it goes into CPAN as something more standard like WWW::
namespace rather than a marketing name like RoboWeb.
The current plan is for the 'scripting language' which provides a simple
A number of people have come across a problem where mod_dav shows the
contents of the filesystem root:
http://dav.lyra.org/pipermail/dav-dev/2001-June/002487.html
I have also come across this problem, and narrowed it down (at least for me)
to a conflict with mod_perl.
I have no other
Perrin Harkins wrote:
What I was saying is that it doesn't make sense for one to need fewer
interpreters than the other to handle the same concurrency. If you have
10 requests at the same time, you need 10 interpreters. There's no way
speedycgi can do it with fewer, unless it actually makes
Joe Schaefer wrote:
"Jeremy Howard" [EMAIL PROTECTED] writes:
I don't know if Speedy fixes this, but one problem with mod_perl v1 is
that
if, for instance, a large POST request is being uploaded, this takes a
whole
perl interpreter while the transaction is occurring. This is at
Perrin Harkins wrote:
Buddy Lee Haystack wrote:
How much of a performance penalty does using Apache::SizeLimit have?
Not enough that you'll notice it.
It really depends on 2 things:
- What OS you're on
- How complex your scripts are.
Here's the code that does the size check, which
Stas Bekman wrote:
Come'n, are you sure you have ever looked at perl.apache.org?
http://perl.apache.org/#docs
Books and Documentation:
Writing Apache Modules with Perl and C book by
Lincoln Stein and Doug MacEachern.
==
Stas Bekman wrote:
But you don't need to call setsid() when you fork. Why looking for
complicated workaround when you can do it properly without any workaround.
Have you ever seen an example of fork that uses setsid?
But your Guide says:
A much better approach would be to spawn a
Stas Bekman wrote:
Apologies Tim, somehow I always thought that 'infamous' is better than
just 'famous'... I meant the 'famous'... sorry about that. I've corrected
it in the guide.
Thanks, Tom for clearing this out for me ;)
Yeah, this is one of the more confusing words in English... Check
Per Moeller wrote:
A couple of days ago I asked the question below, but nobody seemed to be
able to answer it.
Well, in case somebody else runs into this problem I can tell that my
solution to the problem was to use perl5.005 and not install perl5.6.0
until
after i completed the
Dave Rolsky wrote:
On Thu, 14 Dec 2000, Khachaturov, Vassilii wrote:
http://bugs.perl.org/perlbug.cgi?req=querybody=Bizarre+copy
seems to yield only one bug relevant to my particular error message
case -
http://bugs.perl.org/perlbug.cgi?req=bidbid=20001207.005range=6012format=
H
which
Darren Duncan wrote:
...
Now some questions that I hope some of you can help me with. Hopefully
each has short answers.
...
Hi Darren,
I think that all of your questions are answered in the mod_perl guide, which
is at:
http://perl.apache.org/guide/
I don't have time right now to post a
Randal L. Schwartz wrote:
META COMMENT...
Maybe it's time we spun off a mailing list for this discussion,
unless it's still interesting to the rest of the onlookers.
Anyone care to host it or take that on?
I would have thought that most people here are interested in how to teach
George Sanderson wrote:
I think it would be cool to have an email Apache module. I was thinking
that if the URL was something like:
http://www.site.com/user/mail
it would activate the module.
The module would allow the users to read and send email. Kind of like how
I did
John Michael Soileau wrote:
Excuse me if I make an error. This is my first post to this list and not
sure how it all fits together exactly. I just joined the news perl list
you selected to have a look at it and now wonder why you don't put this
mailing list in the same type of setup.
Perrin Harkins wrote:
Apache::Session::File - Dual-PIII-600/512MB/Linux 2.2.14SMP: Ran 4
times.
First time: ~2.2s. Second time: ~5.0s. Third time: ~8.4s. Fourth time:
~12.2s.
Is there any reason not to use a file tree approach (splitting first and
second characters of filenames into
Joshua Chamas wrote:
If you are using CGI.pm object methods, I would worry about calling
all those methods to build your HTML and if you are performance
minded, I would use them frugally.
IIRC, CGI.pm is actually slower to run the functional syntax than the object
syntax. This is because
[EMAIL PROTECTED] wrote:
I'm also interested in this problem. I've
been piping my mails to sendmail and I'm
told that this is not a good idea with mod_perl.
I find that talking to SMTP server is noticeably
slower although I don't know whether the slowness is
just in the initial connection.
On Wed, 6 Dec 2000, Matt Sergeant wrote:
OK, so this isn't really much of an announcement, since its still the
same
web site. Anyway, I'm renaming modperl.sergeant.org to take23.org.
DNS should propogate shortly. Until then its available at
modperl.sergeant.org (and will continue to
martin langhoff wrote:
I wonder how do those hardcore guys that develop using handlers debug.
Mhhh. They must write 'perlfect' code, I guess, and/or understand those
cryptic debuggers ...
Actually, debugging handlers is pretty easy. Just run httpd with the -X flag
to make it single process,
Perrin Harkins wrote:
On Wed, 6 Dec 2000, Paul wrote:
I was pointed to IPC::Sharable, IPC::Sharelite.
I'll look at those.
Take a look at IPC::MM for a shared memory hash implemented in C. Also,
File::Cache is sometimes faster than the IPC modules. I don't think any
of these solve
But before anyone bites off more than they can chew, perhaps some
discussion of the current bugs and future needs for libapreq should
be aired out.
My own problems with libapreq revolved around the multipart buffer
code, and since I patched it a while back, I haven't bumped into
any other
PJ When I start up apache (apachectl startssl), I get a core dump.
PJ Attached is an "strace httpd -X" for those of you who find this
useful.
FWIW, I have the same issue also. I noticed it when using CGI::Carp.
My solution was not "use" CGI::Carp; in startup.pl (a real lame
solution, I know
PJ When I start up apache (apachectl startssl), I get a core dump.
PJ Attached is an "strace httpd -X" for those of you who find this
useful.
FWIW, I have the same issue also. I noticed it when using CGI::Carp.
My solution was not "use" CGI::Carp; in startup.pl (a real lame
solution, I
I'm not sure if this is the right place, but here goes my problem:
I'm running Apache::ASP on apache 1.3.14 with mod_perl 1.24_01 on a i686
with RH 6.2. I've got a database query system written in ASP that at some
point uses an ODBC connection to an MS Acess database to query it. The
unusual
and David's more efficient version? (Sorry, I'm no C
guru...)
--
Jeremy Howard
[EMAIL PROTECTED]
mode at the
moment. I don't know why--maybe he's busy with v2 at the moment. If you
don't have any luck on the dev list you could try mailing him directly, I
guess.
--
Jeremy Howard
[EMAIL PROTECTED]
that at the end of the
import sub, it checks that the sub isn't already defined. Just wrap this
around the last block in import():
if (!(defined {"${pkg}::$name"})) {
import the const sub
}
I don't have this problem anymore with 5.6 though...
--
Jeremy Howard
[EMAIL PROTECTED]
FastMai
From: "Kenneth Lee" [EMAIL PROTECTED]
I wrote a module CGI::CommonObject which is a subclass of CGI.
If I preload them both in conf/startup.pl, error occurs when I try to
instantiate CGI::CommonObject.
...
my $q = new CGI::CommonObject;
Kenneth, _never_ use that style of calling
obvious problem characters in Unix. A more robust
version would specifically check for safe chars, rather than removing
unsafe chars.
--
Jeremy Howard
[EMAIL PROTECTED]
FastMail--Sign up at http://fastmail.fm
haps you need to add to your startup.pl (before any 'use' statements):
delete @ENV{qw(PATH IFS CDPATH ENV BASH_ENV)};
--
Jeremy Howard
[EMAIL PROTECTED]
FastMail--Sign up at http://fastmail.fm
PECT
+0
End of Patch.
--
Jeremy Howard
[EMAIL PROTECTED]
and _then_ pass it on?
--
Jeremy Howard
[EMAIL PROTECTED]
kind of 'gateway' server?
--
Jeremy Howard
[EMAIL PROTECTED]
FastMail--Sign up at http://fastmail.fm
with -g.
I'm running latest Apache, mod_perl, and Perl, under Linux (2.2 kernel).
PS: Can anyone point me to a tutorial on debugging XS modules? From time
to time Doug provides some magic gdb commands which are really
helpful--I'd love to be able to do this kind of stuff myself...
--
Jeremy
,
in order to work around the libapreq bug that your patch fixed!
--
Jeremy Howard
[EMAIL PROTECTED]
possibly email me your current working
libapreq sources?--perhaps there's some other differences hiding
somewhere...
Has anyone applied this patch and got it working with large uploads?
--
Jeremy Howard
[EMAIL PROTECTED]
a segfault using
Apache::DB.
--
Jeremy Howard
[EMAIL PROTECTED]
You might remember the 'Bizarre copy of HASH in aassign' when using
CGI::Carp I posted a workaround for... Here's an update from Perl 5
Porters--it's being fixed in the next release:
- Original message -
From: Gurusamy Sarathy [EMAIL PROTECTED]
To: Jeremy Howard [EMAIL PROTECTED]
Date
MAX_SIZE_KILLPROC;
}
--
Jeremy Howard
[EMAIL PROTECTED]
--
Jeremy Howard
[EMAIL PROTECTED]
?
TIA,
Jeremy
--
Jeremy Howard
[EMAIL PROTECTED]
. That's why it's so hard to debug and replicate.
--
Jeremy Howard
[EMAIL PROTECTED]
Well, that turned out to be a challenging request!
Here's a module that always segfaults, if you run with
httpd -X -Dperldb -Dperlsi
Sorry, I forgot to mention... the segfault only occurs if you _don't_
have Net::DNS installed.
--
Jeremy Howard
[EMAIL PROTECTED]
Randy Kobes said:
- the patch posted to this list a few days ago by
Jeremy Howard for an error about a "Bizarre copy of HASH ...":
In Carp::Heavy, change 'DB' to 'DB_tmp':
Line 39: while (do { { package DB_tmp; @a =
when 'shift' was used!
I'll contact the relevant authors tomorrow. I don't know if this is a
Perl 5.6 bug, or a module bug that 5.6 has surfaced.
--
Jeremy Howard
[EMAIL PROTECTED]
fixed
itself, so I haven't got the patched version anymore (I'm a bigger
masochist than you, Randal--I upgraded Perl, mod_perl, and Apache all at
the same time!)
--
Jeremy Howard
[EMAIL PROTECTED]
have some subs outside of modules that wouldn't
break properly... now they work fine!
Is anyone aware of any specific reason not to switch to 5.6.0 with mod_perl for
production machines (other than just 'in case')?
--
Jeremy Howard
[EMAIL PROTECTED]
keep Randy CC'ed -- all the kudos should go his way :)
When I search for 'dbi' or 'DBI', it finds nothing, and the search box shows 'dby'!
It looks like it's try to helpfully change my search pattern...
--
Jeremy Howard
[EMAIL PROTECTED]
in the works?
--
Jeremy Howard
[EMAIL PROTECTED]
by the debugger. However, doing an 'L' doesn't show any breakpoints, and no
breaks occur.
I've tried replacing perl5db.pl in 5.6.0 with the version from 5.005_03, but the
behaviour is the same.
Anyone else having this trouble? Anyone successfully used Apache::DB in 5.6.0?
--
Jeremy
separate to the rest of
perl.apache.org, should it have a separate domain (modperlguide.org?,
guide.perl.apache.org?)?
--
Jeremy Howard
[EMAIL PROTECTED]
Name Server: DNS.THAKKAR.NET
Updated Date: 24-nov-1999
They're not using it though--maybe they would transfer? Probably better to stick in
the perl.apache.org domain though.
BTW, thanks to everyone who's already responded privately to my renewed request. Keep
it up!
--
Jeremy Howard
to be a programming guru, of course... there's
always plenty of ways to get involved in these things.
--
Jeremy Howard
[EMAIL PROTECTED]
may have one additional redirect. The front-end server needs access to a
central data store to do authentication (since it needs to know about _all_ users),
but that only generally needs a username/password/userid, so it's unlikely to cause
very much network traffic.
--
Jeremy Howard
[EMAIL
class data
* Blessing regexps, subs, and globs
I could keep going, but there's a taste... There's a good forum at the attached
web-site that Conway visits regularly.
--
Jeremy Howard
[EMAIL PROTECTED]
At 01:28 PM 5/4/00 +0300, Stas Bekman wrote:
Two things:
1) I'd better concentrate on improving the content and structure of the
Guide and will leave this search engine task to someone who needs to use
the Guide but find it unusable without the proper search engine.
2) perl.apache.org doesn't
On 5/2/00 2:19 PM, Stas Bekman wrote: 2.
The other request is about the "Controlling and Monitoring the Server"
chapter itself. Do you think that in addition to the existing items (see
below) you/we want to see other things related to this chapter.
I'd be interested in seeing information on
I'm interested in providing 'HTML email' support for my users (like HotMail, Outlook
Express, Eudora 4.0, etc provide), but I'm very nervous about security. Essentially,
providing HTML email involves letting any arbitrary HTML get displayed by Apache...
Has anyone done this, or can anyone
I've been getting frustrated by the mandatory warning created by 'use
constant' under mod_perl, caused by constant subroutines being redefined
when imported. In particular, with Archive::Zip this was adding hundreds
of
lines to my log every restart.
what version of Perl are you using?
85 matches
Mail list logo