The record in access_log:
192.168.2.11 - - [date] "GET /file.htm HTTP/1.1" 200 8731 "-"
"Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0")"
what's in your error_log?
[Fri Dec 8 11:14:00 2000] [info] created shared memory segment
#256
[Fri Dec 8 11:14:00 2000] [notice]
On Thu, 7 Dec 2000, bari wrote:
Hi there,
Can any one help me what this MAP function does...
map(/^[\.\d]+$/ ? td({-align='right'}, $_) : td($_), @$_)
$_ contains an array ref. It loops through each entry in the array ref. If
the entry is a number (by the above regexp's naive view of
The enterprise mod_perl architectures idea that I posted earlier has evolved
into a slightly modified idea: a 'scaling mod_perl' site:
http://www.lifespree.com/modperl.
The point of this site will be to talk about synthesize techniques for
scaling, monitoring, and profiling large, complicated
On Fri, 8 Dec 2000, Ed Park wrote:
The enterprise mod_perl architectures idea that I posted earlier has evolved
into a slightly modified idea: a 'scaling mod_perl' site:
http://www.lifespree.com/modperl.
Ed, this is all cool, but is it possible that we put this on one of the
public sites? At
One simple question please.
How do you differentiate between perl programmers amd Mod_perl
programmers?
Thanks
Stas Bekman wrote:
I've dropped my last job, in order to finally finish the mod_perl book,
have some rest and make a push to mod_perl.
Well best of luck hope you have
On Fri, 8 Dec 2000, harilaos wrote:
One simple question please.
How do you differentiate between perl programmers amd Mod_perl
programmers?
If you are in a public transportation and you happen to overhear this kind
of discussion:
"...all children were running and refused to respond. I've
2. Caching techniques. I know that this is a topic that has been somewhat
beaten to a pulp on this list, but it keeps coming up, and I don't know of
any place where the current best thinking on the subject has been
synthesized. I haven't used any caching techniques yet myself, but I
intend
The mod_perl programmer has no hair left.
:)
At 11:19 AM 12/8/2000 +, harilaos wrote:
One simple question please.
How do you differentiate between perl programmers amd Mod_perl
programmers?
Thanks
Stas Bekman wrote:
I've dropped my last job, in order to finally finish the mod_perl
--
Half of all epigrams exaggerate, and this is one of them.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
On Fri, Dec 08, 2000 at 05:47:00AM -0500, Ed Park wrote:
So far, I've written up a basic scaling framework, and I've posted a
particular development profiling tool that we wrote to capture, time, and
explain all SQL select queries that occur on a particular page of a mod_perl
+ DBD::Oracle
[EMAIL PROTECTED] wrote:
On Thu, 7 Dec 2000, Matt Sergeant wrote:
snippage
I'd love that. In fact anything that anyone had waiting to go onto
PerlMonth please drop a mail to [EMAIL PROTECTED] and we'll get you
published. (assuming that PerlMonth isn't going to resurrect itself)
Hi,
My boss is constantly complaining about, that the sourcecode for mod_perl
script can be read, copied and altered by 3rd party hosting partners for our
solutions based on mod_perl.
So my question is, are there any way to encrypt or compile mod_perl script,
so that they cannot be view by
Hi
Stas Answered this last May
http://www.bitmechanic.com/mail-archives/modperl/May1999/0249.html
You could also try RJ's Perl Obfuscator (first result from Google searching
for perl obfuscator)
I haven't tried either of these. We usually print the source code and post
it to ourselves via
At 08:13 08/12/2000 +0800, Gunther Birznieks wrote:
The could be although ActiveState has a product that competes with mod_perl
on the NT side called PerlEx.
What is too bad about the silence about the relationship is that PerlEx as
a product could really benefit from evolving upon the back of
Matthew Kennedy writes:
If I were developing an application
which fit well into the two-tier model however, a mod_perl based plan
would be my first preference -- development time is shorter than
JSP/Servlet and maintainability is _at_least_ comparible.
I would add that the "java is
The need for certification is a symptom of different problem, which is
that the interview process has become too casual. Interviewers are
uncomfortable asking the tought questions so they resort to asking the
candidate about his hobbies etc. Many years ago a friend of mine who
interviewed for HP
This is slightly off topic, but my guess is Sys::Signal is mostly used by
mod_perl people. Can someone else test this on their machine?
I have this weird problem where I'm not catching $SIG{ALRM}. The test code
below is a simple alarm handler that looks like this:
eval {
local
Hello!
I tried to migrate to Apache 1.3.14 from 1.3.12 ...
Heh.
After recompiling apache and starting the server with the same config get
400 Bad request on any request to mod_perl back-end server. Static html and
images are returned ok.
Some time was spent for hunting the problem.
Turn on
-Original Message-
From: Gunther Birznieks [mailto:[EMAIL PROTECTED]]
"Obviously they still have to be technically interviewed, but in lieu of
someone with or without certification, it's easier to short-list on the
basis of such certification (or some equivalent outstanding thing
On Fri, 8 Dec 2000, Bill Moseley wrote:
This is slightly off topic, but my guess is Sys::Signal is mostly used by
mod_perl people. Can someone else test this on their machine?
That's on-topic, Sys::Signal was written by Doug especially for mod_perl
:) Its use should go away when 5.6.1 will
"Randal L. Schwartz" wrote:
But here's the reality of trainings. You need to get 10 to 20 people
in a room at the same time that are all starting roughly at the same
skill level and also want to end up in the same place. And then you
need to do that about 8 to 20 times with the same slide
On Fri, 8 Dec 2000, Greg Cope wrote:
I'd love that. In fact anything that anyone had waiting to go onto
PerlMonth please drop a mail to [EMAIL PROTECTED] and we'll get you
published. (assuming that PerlMonth isn't going to resurrect itself)
Actually its kinda has been
Hello all.
I'm using Apache's latest version (1.3.14) and it seems I hit a wall someone
has
met before me. Basically the problem is as follows:
- I have a reverse proxy that works just fine thanks to ProxyPass and
ProxyPassReverse. Let's call him "rproxy". He "hides" a http server, I'll
call
You miss the point.
It's not about credentials in a boolean sense. It's about
probability and
statistics.
That's exactly true - in fact I'd go so far to say that the probably and
statistics vary for each type of certification.
I trust an M.D.'s certification far greater than I trust an
At 04:42 PM 12/08/00 +0100, Stas Bekman wrote:
Easy. Look at $h -- it's a lexically scoped variable, inside the block
if($timeout){}. Of course when the block is over the setting disappears,
when $h gets DESTROYed.
Doh! I thought about that (which is why I was printing $h). I shouldn't
debug
On Fri, Dec 08, 2000 at 07:23:08PM +0400, BeerBong wrote:
Hello!
I tried to migrate to Apache 1.3.14 from 1.3.12 ...
Heh.
After recompiling apache and starting the server with the same config get
400 Bad request on any request to mod_perl back-end server. Static html and
images are
"Dave" == Dave Rolsky [EMAIL PROTECTED] writes:
Dave On Thu, 7 Dec 2000, 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 ...
Dave I
On Fri, 8 Dec 2000, Bruce W. Hoylman wrote:
"Dave" == Dave Rolsky [EMAIL PROTECTED] writes:
Dave On Thu, 7 Dec 2000, 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
Plus, I *always* use '-w' and '-T' and get them cleanly working during
development phases, although I shut them off for actual deployment.
1. You cannot use -T under mod_perl, you should use PerlTaintCheck
instead: http://perl.apache.org/guide/porting.html#Taint_Mode
2. 'PerlTaintCheck On' is
"SB" == Stas Bekman [EMAIL PROTECTED] writes:
SB 2. 'PerlTaintCheck On' is a must in production!!! not development:
Huh?!?!?!? It is a must always. You can't develop without it and
then expect it to work with taint checking on at a later time.
--
Hi -
Attached is an Apache module to automatically generate cache thumbnail
images. It uses Image::Magick (http://www.simplesystems.org/ImageMagick/)
and File::Path (CPAN) and runs quickly enough to be useful on my
Apache/mod_perl machine. It's my first proper handler, so let me know if
there
Hi,
Anyone here any good with debugging IPC "No space left on device" errors?
I can't find anything on the web or in deja, and am basically at a
loss. Using Storable 0.703 and ShareLite 0.08 I'm getting a lot of the
above errors when I have around 40 httpd children. Has anyone else used
IPC
On Friday, December 8, 2000, at 12:10 PM, Steven Cotton wrote:
Anyone here any good with debugging IPC "No space left on device" errors?
I can't find anything on the web or in deja, and am basically at a
loss. Using Storable 0.703 and ShareLite 0.08 I'm getting a lot of the
above errors
On Fri, 8 Dec 2000, Bruce W. Hoylman wrote:
"Matt" == Matt Sergeant [EMAIL PROTECTED] writes:
Matt On Fri, 8 Dec 2000, Bruce W. Hoylman wrote:
use IO::File;
use CGI::Carp qw(carpout fatalsToBrowser carp);
Matt Bye bye exception handling.
You mean eval{} block
"Stas" == Stas Bekman [EMAIL PROTECTED] writes:
Plus, I *always* use '-w' and '-T' and get them cleanly working
during development phases, although I shut them off for actual
deployment.
Stas 1. You cannot use -T under mod_perl, you should use
StasPerlTaintCheck
In a message dated 12/8/00 10:48:13 AM Eastern Standard Time, [EMAIL PROTECTED]
writes:
I can't figure out where the "start" and "finish" are with mod_perl
that would make sense for 80 to 400 people. It's not core techology,
like the llama. We target the llama as how you would want ANY
On Fri, 8 Dec 2000, Perrin Harkins wrote:
1. Performance benchmarking code. In particular, I'm looking for tools
that
can read in an apache log, play it back realtime (by looking at the time
between requests in the apache log), and simulate slow simultaneous
connections. I've started
On Fri, 8 Dec 2000, Bruce W. Hoylman wrote:
"Matt" == Matt Sergeant [EMAIL PROTECTED] writes:
Matt On Fri, 8 Dec 2000, Bruce W. Hoylman wrote:
use IO::File;
use CGI::Carp qw(carpout fatalsToBrowser carp);
Matt Bye bye exception handling.
You mean eval{} block
On Fri, 8 Dec 2000, Keith G. Murphy wrote:
Stas Bekman wrote:
Let me stright things out a bit, so you won't get misleaded by my post as
a marketing call.
What we want is very simple.
1. We want many users, so they will thoroughly test the software and spot
bugs asap, so we --
Well,
I ended up trussing the processes:
semop(0, 0xFF0C4E70, 3) Err#28 ENOSPC
man semop produces:
ENOSPCThe limit on the number of individual processes
requesting an SEM_UNDO would be exceeded.
So, I thought changing the shminfo_semmnu to a
On Fri, 8 Dec 2000, Bruce W. Hoylman wrote:
"Stas" == Stas Bekman [EMAIL PROTECTED] writes:
Plus, I *always* use '-w' and '-T' and get them cleanly working
during development phases, although I shut them off for actual
deployment.
Stas 1. You cannot use -T under
I have been looking for where I can set this setting
in (redhat) linux-- anyone have any pointers?
ipcs, ipcrm are there, but i don't have an etc/system.
very little documentation on this for linux (or bsd)
that i could find.
Tom
At 06:29 PM 12/8/00 +0100, Steven Cotton wrote:
On Fri, 8 Dec
Here's my long-winded setup. I'm not sure how smart or dumb these settings
are, but they work for me on a machine with 1GB or RAM. Note that I had to
change the semaphore settings too to get IPC::SharedCache to work without
complaint.
-John
---
*
* Shared memory settings changed by John
--- Nathan Torkington [EMAIL PROTECTED] wrote:
[snip]
I'd rather see us find some way to churn out perl and mod_perl
programmers. For instance, release a beginner class on Perl and
mod_perl and have local Perlmongers lead classes. I have my slides
from the University of Perl, which I'd
On Fri, 8 Dec 2000 [EMAIL PROTECTED] wrote:
Hi -
Attached is an Apache module to automatically generate cache thumbnail
images. It uses Image::Magick (http://www.simplesystems.org/ImageMagick/)
and File::Path (CPAN) and runs quickly enough to be useful on my
Apache/mod_perl machine. It's
Please do make it available. The more examples the better.
Paul E Wilt
Principal Software Engineer
XanEdu, Inc. ( a division of Bell+Howell InformationLearning)
http://www.XanEdu.com
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
300
On Fri, 8 Dec 2000, mark warren bracher wrote:
it seems as if most (if not all) the techniques for checking the size of
the current process are _very_ platform specific. on linux you can use
Apache::SizeLimit::linux_size_check
If you have linux you have (or can have GTop), which gives
"Matt" == Matt Sergeant [EMAIL PROTECTED] writes:
Matt On Fri, 8 Dec 2000, Bruce W. Hoylman wrote:
use IO::File;
use CGI::Carp qw(carpout fatalsToBrowser carp);
Matt Bye bye exception handling.
You mean eval{} block exception handling, or something else? What are
the
I've gotten in touch with Stas, and the 'scaling mod_perl' site will
eventually be folded into the Guide. woohoo!
I'm going to spend several weeks fleshing it out and cleaning it up before
it goes in, though.
-Ed
-Original Message-
From: Perrin Harkins [mailto:[EMAIL PROTECTED]]
Sent:
On Fri, 8 Dec 2000, Stas Bekman wrote:
If you have linux you have (or can have GTop), which gives you an API to
do this and many other things. Apache::SizeLimit::linux_size_check is just
a custom function that you cannot really re-use (unless you put it into
some other module...
The enterprise mod_perl architectures idea that I posted earlier has
evolved
into a slightly modified idea: a 'scaling mod_perl' site:
http://www.lifespree.com/modperl.
The point of this site will be to talk about synthesize techniques for
scaling, monitoring, and profiling large,
On Fri, 8 Dec 2000, Matt Sergeant wrote:
fatalsToBrowser installs a $SIG{__DIE__} handler, and so prevents you from
properly using eval{} blocks, or nice modules like Error.pm or
Class::Exception (or whichever way around Dave has it this week :-)
That's Exception::Class. phhhbbtt!
-dave
On Fri, 8 Dec 2000, Mark Doyle wrote:
I suppose the first place to look is to use the Solaris
commands ipcs and ipcrm... Also, I believe you have to
update the kernerl parameters for shared memory. The default
is pretty skimpy. Look at adding things like:
to /etc/system.
Yes, I have made
On Fri, 8 Dec 2000, Stas Bekman wrote:
The real question is for someone to undertake the Safe module and make it
working for mod_perl. I think we have discussed this before. I don't
remember what was the conclusion.
That its pretty hard to do, and requires Safe holes to be any use for
On Fri, 8 Dec 2000, Paul wrote:
I would love to be able to list on my resumé that I was Perl and
mod_perl certified. How about publicity in the form of a page listing
certified Perl/modPerl coders on take23, with contact info if they
like? Great for getting those job offers.
We will be
First, the gratuitous "me, too!"
As fair warning, there's little more than that in terms of valid
content here, but if you're still interested in reading the rest
--- "J. J. Horner" [EMAIL PROTECTED] wrote:
On Wed, Dec 06, 2000 at 01:22:26PM -0800, Randal L. Schwartz wrote:
"Gunther" ==
Stas Bekman wrote:
Let me stright things out a bit, so you won't get misleaded by my post as
a marketing call.
What we want is very simple.
1. We want many users, so they will thoroughly test the software and spot
bugs asap, so we -- current users will get a better product.
2. We
On Wed, Dec 06, 2000 at 01:22:26PM -0800, Randal L. Schwartz wrote:
I mean, until I can demonstrate that people with certs are likely
to get hired faster or make more money, what's the point? As it is
now, good mod_perl people are hard enough to find that the
jobseeker
If you use Apache's logging facilities (say for level debug). Apache will
handle the concurrency/serializing for you.
You might also look at using syslog
-Original Message-
From: Edmar Edilton da Silva [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 08, 2000 2:46 PM
To: [EMAIL
On Fri, 8 Dec 2000, Edmar Edilton da Silva wrote:
Hi all,
I have installed on my machine the mod_perl module and exists a lots
perl scripts running under mod_perl. I am doing some tests and I need
that all call to these perl scripts write in a log file. How can there
are a lots
In the spirit of all of this talk about certification, demand for mod_perl
programmers, etc., I'd just like to say that I'm looking for programmers.
More to the point, I'm looking for kickass folks who just happen to know
mod_perl. If you know mod_perl very well, great, but generally speaking,
Hi all,
I have installed on my machine the mod_perl module and exists a lots
perl scripts running under mod_perl. I am doing some tests and I need
that all call to these perl scripts write in a log file. How can there
are a lots scripts running to the same time, I need to control the
I don't know if this helps but when you log something add the process ID to
the log message. Then you should be able to trace what process is running
what, look at :
http://httpd.apache.org/docs/mod/mod_log_config.html#formats
to tell you how to set up custom log formats, %p gives you the pid,
Hi everyone, does anyone have any suggestions as to which SSL package to
use? I'm a little unsure if I should use Mod_ssl or Apache-ssl. I'm
currently using Apache 1.3.12 if that helps...
Thanks alot!!!
-
To unsubscribe,
Hi,
I am writing a module that launches a perl script. I would like the user
to see the error cenerated by the script in the browser. So far I either
get the errors sent to the apache error_log or the browser respons that
the document contained no data. Please help!
Alex
dup STDOUT to STDERR
-Original Message-
From: Aleksandr Vladimirskiy [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 08, 2000 5:16 PM
To: [EMAIL PROTECTED]
Subject: STDERR
Hi,
I am writing a module that launches a perl script. I would
like the user
to see the error cenerated by
That would have the opposite effect of what I want. I want the errors to
go to the browser not the output of the script to the error_log. ???
Alex
Jerrad Pierce wrote:
dup STDOUT to STDERR
-Original Message-
From: Aleksandr Vladimirskiy [mailto:[EMAIL PROTECTED]]
Sent: Friday,
On Fri, 8 Dec 2000, Jerrad Pierce wrote:
If you use Apache's logging facilities (say for level debug). Apache will
handle the concurrency/serializing for you.
If I remember correctly only if the size of a single
warn/print(STDERR,...) 4k, if you are talking about manually logging
thru
There's not Apache::: API for hooking into logging?
AFAIK (which isn't to say much) it seems children pass logging information
back to the
initial process in some queue, et voila?
And that 4k when likely be dependent on the kernel filehandle buffer.
Which yes, is 4k on your typical x86...
I am sorry, its just my question wasn't on how to do it ("dup STDERR to
STDOUT"), but rather why doing that doesn't work. I have two pieces to
the puzzle an apache module and an external script. I get the errors
from the external script in the error_log, so I redirect them in the
module or the
On Fri, 8 Dec 2000, Aleksandr Vladimirskiy wrote:
I am sorry, its just my question wasn't on how to do it ("dup STDERR to
STDOUT"), but rather why doing that doesn't work. I have two pieces to
the puzzle an apache module and an external script. I get the errors
from the external script in
here's my variation on your question (sorry, not much help to you):
while you are in a handler and you catch an error, why can't you then $r-print
the error message, and return OK immediately?
Perl just dies and Apache returns the header when I try this.
Doug
| From: [EMAIL PROTECTED]
On Tue, 5 Dec 2000, brian moseley wrote:
[...]
consider a scenario in which somebody uses a web interface
to signal an action, which is placed into a message queue.
on the other end of that queue, a service handles the event
with a transaction that spans multiple third tier systems.
this
Well I looked at the link on perl.apache.org
(http://perl.apache.org/guide/porting.html#STDIN_STDOUT_and_STDERR_streams),
and it still isn't working. I must be coding wrong. Please take a look
at the code:
$r-content_type('text/html');
$r-send_http_header;
open (STDERR, "STDOUT");
tie *OUT,
Hey I got it. The code was wrong. So now I do an "open (STDERR,
"STDOUT");" in the beginning of the external script and a "tie *OUT,
'Apache';" in the module, then I used backtick to execute so now it
dumps everything to browser. Really sweet!
Thanks
Alex
On Fri, 8 Dec 2000, Doran L. Barton wrote:
I've got information stored in a DBI-accessible database. I would like to
read this information from the database and populate an object with the
data (really just a tree of hashes). This database "dump" into the object
should occur at child-init
Okay- Maybe I'm trying too hard here, but, if so, I'd appreciate a slap in
the face. Here's the project:
I've got information stored in a DBI-accessible database. I would like to
read this information from the database and populate an object with the
data (really just a tree of hashes). This
On Fri, 8 Dec 2000, Aleksandr Vladimirskiy wrote:
Well I looked at the link on perl.apache.org
(http://perl.apache.org/guide/porting.html#STDIN_STDOUT_and_STDERR_streams),
and it still isn't working. I must be coding wrong. Please take a look
at the code:
$r-content_type('text/html');
On Fri, 8 Dec 2000, Aleksandr Vladimirskiy wrote:
Hey I got it. The code was wrong. So now I do an "open (STDERR,
"STDOUT");" in the beginning of the external script and a "tie *OUT,
'Apache';" in the module, then I used backtick to execute so now it
dumps everything to browser. Really
At 09:39 AM 12/8/00 -0600, Hill, David T - Belo Corporate wrote:
-Original Message-
From: Gunther Birznieks [mailto:[EMAIL PROTECTED]]
"Obviously they still have to be technically interviewed, but in lieu of
someone with or without certification, it's easier to short-list on the
basis
On Fri, Dec 08, 2000 at 03:33:32PM -0800, Perrin Harkins wrote:
On Fri, 8 Dec 2000, Doran L. Barton wrote:
I've got information stored in a DBI-accessible database. I would like to
read this information from the database and populate an object with the
data (really just a tree of hashes).
Hi,
I feel bad insisting because I know most of you are probably at least as
busy as I am. I posted a message a few days ago
(http://www.geocrawler.com/lists/3/Web/182/200/4787953/) and didn't get a
single answer. I understand if you don't want to read it as it's fairly
long. Basically, I'm
Luc Willems wrote:
it seems that the "Content-type" must be
"application/x-www-form-urlencoded" before we can get anything out of
the content() routine from mod_perl :-(
#Get posted XML query
$len = $Request-{TotalBytes};
$Request-{asp}-{r}-read($i,$len);
I'll change the Apache::ASP
On Dec 09, Robin Berjon wrote:
I feel bad insisting because I know most of you are probably at least as
busy as I am. I posted a message a few days ago
(http://www.geocrawler.com/lists/3/Web/182/200/4787953/) and didn't get a
single answer. I understand if you don't want to read it as it's
Patrick wrote:
On Thu, Dec 07, 2000 at 03:52:01PM +0100, Stas Bekman took time to write:
Your problem is that you try to use the precompiled broken packages
provided by distros.
If I can jump... I must say that I *never* had a problem with Debian
packages of mod_perl. Maybe RedHat
85 matches
Mail list logo