for all
to use, and would not contain banner ads. These would earn you prestige
in the Perl and Open Source communities.
Please feel free to send me private mail if you're interested in either
of these.
thank you,
--tom
=
Nick Tonkin
Senior Software Developer
umbug,
Nick
On Sun, 5 Dec 1999, Victor Zamouline wrote:
=
1. Known propositions for the name/symbol of Mod_Perl
=
[ ... snip ... ]
====
use Apache;
use Apache::Cookie;
sub handler {
my $r = shift;
my $cookies = Apache::Cookie-new($r)-parse;
my %bar = $cookies-{foo}-value;
}
much simpler, no?
On Fri, 4 Feb 2000, Aaron Ross wrote:
Hi!
I'm trying to write an AccessHandler. I'm using CGI::Cookie to, you got it,
On Thu, 27 Apr 2000, Marc Slemko wrote:
Cookies are not secure and will never be secure. They may be "good
enough", and you may not have much choice, but they are still simply not
secure when you put everything together.
Can you be more specific about why you say that? If I set an
We use a two stage system, Access and a combination
Authentication/Authorization stage.
When the user attempts to access a page a mod_perl Access handler checks
for a cookie (we think it's pretty secure :) showing they have been
previously authenticated. If not, they are sent off to an
On 1 May 2000, Lloyd Zusman wrote:
[EMAIL PROTECTED] (Frank D. Cringle) writes:
Lloyd Zusman [EMAIL PROTECTED] writes:
I've been sending email to `[EMAIL PROTECTED]' almost
every day for the past week or two, but I still keep receiving email
from this list.
The list is run
In our experience the only thing that guarantees no cacheing is returning
302. Also appending a query string (even an empty one) to the redirect URI
seems to make it even more solid.
So in your script you would build up your destination URI, append
'?foo=bar' to the end of it, and return it as
On Tue, 6 Jun 2000, Drew Taylor wrote:
"Ken Y. Clark" wrote:
On Tue, 6 Jun 2000, Drew Taylor wrote:
I have a question about data structures. Currently, I am doing SQL
queries and returning an array ref and a hash ref. The array is to
preserve order, and the hash contains
Hi everyone (long time no see)
I am working on a client's machine with RedHat Linux. I'm trying to build
Apache/mod_perl/mod_ssl from the sources, but become stuck when trying to
make in the mod_perl directory.
The error is:
[root@wm mod_perl-1.25]# make
(cd ../apache_1.3.17
Gaah ... there is no gcc RPM in the RH 6.2 archive ... !?
~~~
Nick Tonkin
On Tue, 30 Jan 2001, Geoffrey Young wrote:
-Original Message-
From: Nick Tonkin [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 30, 2001 3:09 PM
To: [EMAIL PROTECTED]
Subject: Cannot make
On Tue, 30 Jan 2001, Doug MacEachern wrote:
On Tue, 30 Jan 2001, Nick Tonkin wrote:
I read in the INSTALL docs that the first error should not occur if openssl
is already built and SSL_BASE is set to SYSTEM ... but there it is ... ?
if openssl is installed in the default location
~~~
Nick Tonkin
On Wed, 31 Jan 2001, Doug MacEachern wrote:
On Tue, 30 Jan 2001, Nick Tonkin wrote:
When I run the perl Makefile.PL command like that (without the SSL_BASE
directive) I get:
Error: Cannot find SSL header files in any of the following dirs:
Error: . /usr/include /usr
for process 31130,
report any problems to [no
address given]
... ignoring this and proceeding with insall seems to be fine, though.
Thanks,
Nick
~~~
Nick Tonkin
On Wed, 31 Jan 2001, Doug MacEachern wrote:
On Wed, 31 Jan 2001, Nick Tonkin wrote:
Thanks for the suggestion, Doug
Hi folks,
Maybe I'm just rusty after 8 months off, but my StatINC can't find files
that exist on the system:
wm ~tail ~wm/wm/logs/errorlog
Apache::StatINC: Can't locate /home/wm/wm/perl/WM/Class.pm
wm ~perl -e '$file="/home/wm/wm/perl/WM/Class.pm"; $mtime = (stat
$file)[9]; warn $mtime;'
.
Thanks,
Nick
~~~
Nick Tonkin
er, Test.pm is a ... test script. The seg fault presented itself in real
code :)
~~~
Nick Tonkin
On Sun, 4 Feb 2001, G.W. Haywood wrote:
Hi there,
On Sun, 4 Feb 2001, Nick Tonkin wrote:
I am encountering a weird problem with Apache::URI ... consider, please,
this test
/perl5/site_perl/5.6.0
/usr/local/lib/perl5/site_perl
.
Thanks,
Nick
~~~
Nick Tonkin
Hi Jeff,
Thanks for your feedback.
On Thu, 8 Feb 2001, Jeffrey W. Baker wrote:
On Thu, 8 Feb 2001, Nick Tonkin wrote:
Hi all,
No response on this so here it is again, any clues appreciated:
I am encountering a weird problem with Apache::URI ... consider, please,
this test
On Fri, 9 Feb 2001, Jeffrey W. Baker wrote:
On Fri, 9 Feb 2001, Nick Tonkin wrote:
Hi Jeff,
Thanks for your feedback.
I wonder if you noticed that this code was from the Auth/Access stuff
you did for me a while back ... so I'll patch mine but you might want to
take a look
er, maybe 20 trillion ... ? seeing as how ValueClick alone has done a bit
over 42 billion since 6/98 ... :)
How about an oyster, open, showing the perl inside, wearing a Parka
and driving a Vespa?
~~~
Nick Tonkin
On 19 Mar 2001, Randal L. Schwartz wrote:
"Geoffrey" =
On Tue, 20 Mar 2001, Dave Rolsky wrote:
On Tue, 20 Mar 2001, Geoffrey Young wrote:
If you get a really good artist, put the lamp/bottle into the hands of
a well-built Native American figure (a warrior-type is great, but an
"indian princess" has subliminal appealok, ok, but think
the output appears to be too granular: if I add five
words onto a sentence it counts five changes, when it surely is only one
...
And diff combines all changes on one line into one, afaics ...
Has anyone tackled this issue before?
Thanks,
~~~
Nick Tonkin
the apache
docs.
~~~
Nick Tonkin
On Mon, 18 Jun 2001, Purcell, Scott wrote:
Hello,
In the CGi to mod_perl porting coding guidelines, under the headline
sometimes it works, Sometimes it doesn't
It says to run the server (during testing) in a single process mode (httpd
-X)
I tried
with
this a lot, I have found that this type of effort would be such.
Hope this helps,
~~~
Nick Tonkin
On Wed, 1 Aug 2001, Joe Breeden wrote:
Woooie!?!
I didn't expect the firestorm this post would generate. From what I hear
people are either embedding SQL or writing their own utility
On Wed, 1 Aug 2001, Philip Mak wrote:
I have a CGI application where I do:
require 'db.pl';
where db.pl defines some functions and variables related to connecting to
the database, and then executes C$dbh = DBI-connect(...).
I tried to convert this application to modperl, but I ran
On Tue, 7 Aug 2001, Christof Damian wrote:
Bill Moseley wrote:
Does everyone else see these? What's the deal? Are they really probes or
some spider run amok?
Right now someone is looking for things like:
/r/dr
/r/g3
/r/sb
/r/sw
/r/s/2
/r/a/booth
/r/s/pp
)
Thanks for any help,
nick
~~~
Nick Tonkin
:
-include $(DEP_FILES)
Thanks for any help,
nick
~~~
Nick Tonkin
On 15 Aug 2001, Joe Schaefer wrote:
Nick Tonkin [EMAIL PROTECTED] writes:
I'm trying to install libapreq on a new box on which I've rolled an
apache-mod_ssl-openssl combo.
^^
If you have, the
include directories (-I) that apreq uses to find the header files
On Thu, 16 Aug 2001 10:38:56 -0700 Ged Haywood wrote:
On Wed, 15 Aug 2001, Nick Tonkin wrote:
Somehow they are not getting setup right.
Yeah, no kidding, Joe.
He's only trying to help. :)
Yes, you're right. Please accept my apology to you, Joe, for my
gracelessness.
However
On Fri, 17 Aug 2001, Andrew Hurst wrote:
On Thu, Aug 16, 2001 at 09:25:19PM -0700, Ask Bjoern Hansen wrote:
On Thu, 16 Aug 2001, Nick Tonkin wrote:
( In the absence of any better ideas at this time, I'm gonna nuke
/usr/local/lib/perl5 completely and see what happens if I start
On Sun, 26 Aug 2001, allan wrote:
im a bit confused or perhaps bewildered about finally having installed
mod_perl on mac osX.
Well, that's to be expected. It's a bit confusing first time through.
these questions should apply cross platform
1)
yesterday im quite sure my httpd.conf
support to CodeRed.pm (which
should probably be renamed if so) to report these attacks via e-mail in
the same way it does for CodeRed. Any interest in that? Or any info on
these bogus requests?
~~~
Nick Tonkin
to automatically determine which ISP is responsible for a
particular IP address, and contact them automatically.
=head1 LICENSE
You may distribute this module under the same license as Perl itself.
=head1 AUTHOR
Author, current version: Nick Tonkin, [EMAIL PROTECTED]
Original author
On Tue, 18 Sep 2001, Emad Fanous wrote:
any reason why the private address spaces between
172.16.0.0-172.31.255.255 wasn't in your list of ignored
ips?
Thanks
Emad
That came from the original author's CodeRed.pm. But it's considered a
configurable variable.
~~~
Nick Tonkin
On Tue, 18 Sep 2001, Ask Bjoern Hansen wrote:
On Tue, 18 Sep 2001, Nick Tonkin wrote:
I used a real ugly mod_rewrite hack to grab the requests (I didn't want to
lump all reqs for root.exe or cmd.exe into the same 'worm') ... I'm sure
others can improve on that. (BTW am I right
PerlSetVar worm_name CodeRed
/Location
LocationMatch (cmd.exe|root.exe)
SetHandler perl-script
PerlHandler Apache::MSIISProbes
PerlSetVar worm_name Nimda
/LocationMatch
~~~
Nick Tonkin
~~~
Nick Tonkin
On Wed, 19 Sep 2001, Lyle Brooks wrote:
One motivation I have is for these virus attacks, I'd like to send out
a 403 - Forbidden right at the beginning (say, when someone asks for
default.ida) and then I'd like to have the option of not logging it to
keep it from growing my logs and
On Wed, 19 Sep 2001, Bruce Albrecht wrote:
I was looking at your Apache::MSIISProbes module, and I didn't
understand the part about the nimda rewrite rules, mostly because I
haven't used the rewrite rules. Do the following rules
RewriteCond %{REQUEST_URI} !nimda
RewriteCond
v1.02 Moved the URL for info for each worm into PerlSetVar in httpd.conf
comments/flames welcome
--nick
~~~
Nick Tonkin
][]
207.212.64.137 [16][]
207.76.239.206 [16][]
207.196.218.5 [16][]
207.137.76.119 [17][]
207.71.228.1[91][274]
~~~
Nick Tonkin
Hi Jan,
I'm afraid that might just gum up the bandwidth even more than these
idiots (and our flame mail to them :) ...
thanks for the support, though!
~~~
Nick Tonkin
On Thu, 20 Sep 2001, Jan Jungnickel wrote:
Hallo,
thanks to patches from Brice D. Ruth and others, a new
/foo.bar?/c+dirstats=Nimda
Just make sure to attache the query string to a URL that will
be caught by your configuration of the module!
Enjoy,
-- nick
~~~
Nick Tonkin
Er, you might look at http://www.tonkinresolutions.com/MSIISProbes.pm.html
...
Always a good idea to search the mod_perl list archives, as well as put
out ideas in the present tense :)
Nick
~~~
Nick Tonkin
On Mon, 29 Oct 2001, Louis LeBlanc wrote:
On 10/28/01 08:29 PM, Jeremy
On Thu, 15 Nov 2001, Stas Bekman wrote:
Antoine Quint wrote:
If you[1] don't like the way the site is now,
don't bitch about it but change it completing the challenge.
Well, I'd be up to having a crack at it... Would you be ok publishing
the site with AxKit? Coding
) and use them for versioning.
Rolling back to an earlier version of your data is as simple as creating
a new DB from your table defs, then mysqlbinlog log-file | mysql new-db
See http://www.mysql.com/doc/B/i/Binary_log.html for more info.
~~~
Nick Tonkin
On Thu, 15 Nov 2001, Jonathan M
Speaking of the risks of using cookies for auth* stuff:
http://dailynews.yahoo.com/h/cn/2009/tc/microsoft_apologizes_in_security_flap_1.html
~~~
Nick Tonkin
as the href. You can use
any code you like, including the other example posted here. Just remember
to test whether you already have the window open or not and act
appropriately.
~~~
Nick Tonkin
On Tue, 20 Nov 2001, Ben Demonte wrote:
How to create a browser popup windowhow do I unsubscribe
On Tue, 20 Nov 2001, Rob Bloodgood wrote:
You must include code to deal with the fact that you may have already
opened a popup window. Something like this:
That is simply not true. window.open() with a named window ('popupwin', in
your example) ALWAYS reuses that window, on every
On Fri, 28 Sep 2001, Ask Bjoern Hansen wrote:
On Thu, 20 Sep 2001, Mike Schienle wrote:
thanks to patches from Brice D. Ruth and others, a new version of
MSIISProbes.pm is available at
http://www.tonkinresolutions.com/MSIISProbes.pm.tar.gz
Hi all -
Can anyone provide a couple
= '/',
value = ''
);
$cookie-bake;
return $cookie;
}
sub logout_screen {
[ ... ]
}
1;
~~~
Nick Tonkin
On Tue, 27 Nov 2001, Jon Robison wrote:
I have created a login system using the wonderful Ticket system from the
Eagle book. I have modified
Because it does a full text search of all the contents of the DB.
~~~
Nick Tonkin
On Tue, 27 Nov 2001, Robert Landrum wrote:
Does anyone know why search.cpan.org is always the s-l-o-w-e-s-t site
on the internet? I can't believe it always busy. I've had trouble
hitting it at 3
Well, ask Ask if you want the whole truth. But when I saked him that's
what he said. Maybe there's a problem with the architecture and some
pre-indexing is done per session or something suboptimal like that. Ask?
~~~
Nick Tonkin
On Tue, 27 Nov 2001, Robert Landrum wrote:
Sure... When
Application
Servers ... it seems that you get the same effect but with more
control. Of course, I've had the luxury of afew years' experience; someone
starting out may prefer a canned solution ...
- nick
~~~
Nick Tonkin
On Tue, 16 Oct 2001, Bill Moseley wrote:
I've been looking
cheaper than LocalDirector and others (although we did
move to a high-end Foundry Server Iron system eventually) ... good support
from a small company too.
- nick
Nick Tonkin {|8^)
On Fri, 14 Dec 2001, Perrin Harkins wrote:
I am planning to host an application and its
This is perl, version 5.005_03 built for i386-freebsd
[...]
nick@world ~perl -MTemplate -e 'print $Template::VERSION,\n'
2.06
- nick
Nick Tonkin {|8^)
is a strong word! At ValueClick we used thttpd servers to deliver
gif images ... one thttpd could efficiently handle the same number of
requests as several (non-mod_perl) front end reverse proxies ...
- nick
Nick Tonkin {|8^)
I'm confused. Since when did bloat surpass elegance as a measure of
success in Perl programming?
- nick
Nick Tonkin {|8^)
On Thu, 4 Jul 2002 [EMAIL PROTECTED] wrote:
On Wed, Jul 03, 2002 at 02:41:38PM +0100, Peter Haworth wrote:
On Wed, 3 Jul 2002 11:40:44 +0100
The content seems great. But whatever font you've used is rendering skinny
and pixelated and hard to read and makes me want to egt of the site
asap ... why not leave font face undetermined so the font that each has
chosen for his platform is employed?
- nick
Nick
- nick
Nick Tonkin {|8^)
On Tue, 27 Aug 2002, Per Einar Ellefsen wrote:
- I originally had Apache::Auth::Authen, ::Authz and ::Access, but Robin
Berjon told me he preferred to have the 4 as top-level namespaces. What do
people think?
I'm in favor of your
some of the
techniques I mentioned above.
- nick
Nick Tonkin {|8^)
some of the art these kids make (and also
why we need a new one!) can be viewed at http://www.rain.org/~artworks/
A cool project by one of the students is at
http://www.rain.org/%7Eartworks/NewATW/students/norma_web/norma_intro.html
Thanks folks,
- nick
Nick Tonkin {|8^)
Not a mod_perl issue; in your apache conf do this:
# I keep all images and javascripts etc under /_[something]
SetEnvIf Request_URI /_ dontlog
CustomLog /home/nick/logs/httpdlog common env=!dontlog
- nick
Nick Tonkin {|8^)
On Tue, 19 Nov 2002, Cure wrote:
I'm
by
glossing over how large a field of study mod_perl is. It's almost as bad
as the Teach Yourself Perl in 24 Hours title put out by Geoff's
publisher.
I urge you to rethink this plan.
- nick
Nick Tonkin {|8^)
On Wed, 11 Dec 2002, Nathan Torkington wrote:
I need some people
. (That's why the Eagle book, and the mpDC, are so
good.)
- nick
Nick Tonkin {|8^)
meant to s/brag/ramble/g ... one thing I've
never seen you guilty of is bragging :)
Nick Tonkin {|8^)
On Tue, 17 Dec 2002, Stas Bekman wrote:
I've the feeling that many subscribers are quite confused about the
on-topic/off-topic policy on this list.
In general
CGI.pm via CPAN.
- nick
Nick Tonkin {|8^)
Thanks-
Rodney
On Wed, 18 Dec 2002 16:13:19 +0800 Stas Bekman [EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] wrote:
I am having some trouble installing mod_perl
on my redhat linux 8.0 box. I
successfully
On Tue, 24 Dec 2002 [EMAIL PROTECTED] wrote:
Hi all
Apologise if I have posted to the wrong list. I am quite new to the
Perl*Handlers. I am wondering if it is possible to write a handler
which parses the very first header line, say..
telnet localhost http
Trying 127.0.0.1
Connected
your web server gets bogged down,
than you should look at setting up a thin front-end apache with the
mod_perl server behind. That's the subject of a good deal of info in the
mod_perl Guide and in the archives of this list.
- nick
Nick Tonkin {|8^)
Nick Tonkin {|8^)
hardware.
- nick
Nick Tonkin {|8^)
in its address bar?
Let me know if you need to know more about any aspect of my
implementation. And, thanks for your help.
-vish
- nick
Nick Tonkin {|8^)
'Configuring and Installing Prerequisites' it gives an an
example:
% ./Configure -des -Dusethreads
I'm confused. Where's the quick answer to whether or not I should use
threads? I'm on FreeBSD 4.7.
Thanks,
- nick
Nick Tonkin {|8^)
On Sat, 18 Jan 2003, Stas Bekman wrote:
Nick Tonkin wrote:
Well, I'm taking the plunge.
I have a brand new spiffy machine I'm configuring and I've decided, since
for once I don't have to get it up and running urgently, to go the whole
hog and move to the 2.0 world.
For me
the probs in the prefork mpm section. Obviously the
threaded-mpm requires threads.
Looks better to me. More clear.
-nick
Nick Tonkin {|8^)
17 20:03:55 2003] [notice] caught SIGTERM, shutting down
END in modperl_extra.pl, pid=62235
I have perl 5.8 on FreeBSD 4.7 with latest apache2 as of today.
Thanks,
- nick
Nick Tonkin {|8^)
On Fri, 17 Jan 2003, Nick Tonkin wrote:
Hey all,
Building the latest mp2 I get:
protocol/echo_filter.ok
Failed Test Stat Wstat Total Fail Failed List of Failed
On Sun, 19 Jan 2003, Stas Bekman wrote:
Nick Tonkin wrote:
On Fri, 17 Jan 2003, Nick Tonkin wrote:
Hey all,
Building the latest mp2 I get:
protocol/echo_filter.ok
Failed Test Stat Wstat Total Fail Failed List of Failed
] [info] removed PID file
/home/tmp/build/modperl-2.0/t/logs/httpd.pid (pid=9500)
[Sat Jan 18 21:23:44 2003] [notice] caught SIGTERM, shutting down
END in modperl_extra.pl, pid=9500
- nick
Nick Tonkin {|8^)
machine
running thttpd serving all those images for 50 or a hundred webservers.
So sometimes I believe it's called for.
- nick
Nick Tonkin {|8^)
flawlessly on my system which is FreeBSD 4.7 and perl 5.8
I found one in debian unstable, but this requires perl 5.8.
I can't say about other perls, as I said I have 5.8
HTH
- nick
Nick Tonkin {|8^)
provides
excellent support.
Ask, can you block this bozo from the list?
- nick
Nick Tonkin {|8^)
Have you read the mod_perl guide? Especially
http://perl.apache.org/docs/1.0/guide/install.html#Installation_Scenarios_for_mod_perl_and_Other_Components
?
- nick
Nick Tonkin {|8^)
On Fri, 31 Jan 2003, Lee Goddard wrote:
Does anyone know when this module might be released?
No, no one does. They are working on it. Use CGI.pm instead or revert to
mod_perl/apache version 1 until it is done.
- nick
Nick Tonkin {|8^)
those packages too. perl 5.6.1 eould also
be fine; perl 5.6.0 has problems.
HTH,
- nick
Nick Tonkin {|8^)
(Apache::Const,APR::Const,Modperl::Const).
But what do I do to get Apache::DBI to work?
Am I missing something really simple here (I hope)?
Thanks
-Chris
- nick
Nick Tonkin {|8^)
you want is
http://marc.theaimsgroup.com/?l=apache-modperlm=104225578207460w=2
- nick
Nick Tonkin {|8^)
Does anyone know the equivalent directive for
$r-server()-server_hostname()
?
Thanks,
- nick
--
Nick Tonkin {|8^)
a 1.x
installation built on this box ...
- nick
--
Nick Tonkin {|8^)
On Wed, 19 Feb 2003, Stas Bekman wrote:
Nick Tonkin wrote:
Does anyone know the equivalent directive for
$r-server()-server_hostname()
it's right there:
use Apache::Server;
$r-server-server_name;
Well, it doesn't work as advertised, I think.
package NPT::MyTest;
use strict;
use
On Wed, 19 Feb 2003, Stas Bekman wrote:
Nick Tonkin wrote:
On Wed, 19 Feb 2003, Stas Bekman wrote:
Nick Tonkin wrote:
Does anyone know the equivalent directive for
$r-server()-server_hostname()
it's right there:
use Apache::Server;
$r-server-server_name;
oops, a typo, should
-status(Apache::OK);
$r-content_type('text/html');
$r-send_http_header;
[...]
This throws the error:
send_http_header() can't be called before the response phase
Thanks,
- nick
--
Nick Tonkin {|8^)
server_hostname is not documented on the list. Anyone know the equivalent
please?
- nick
Is it possible to combine the recommended syntax:
use warnings FATAL = 'all', NONFATAL = 'redefine';
with the ability to turn warnings on in httpd.conf with PerlSwitches -w?
- nick
Nick Tonkin {|8^)
request like that not the is_initial_req
4) If the first time through it reurns DECLINED because it's not an
initial req, how come it goes through again?
5) What the heck is going on here?
Thanks,
- nick
Nick Tonkin {|8^)
'
],
'name' = 'remembered_uri',
'path' = '/'
}, 'CGI::Cookie' )
};
Can anyone offer a clue?
Thanks,
- nick
--
Nick Tonkin
On Thu, 20 Feb 2003, Stas Bekman wrote:
Stas Bekman wrote:
Nick Tonkin wrote:
[...]
send_http_header() can't be called before the response phase
Nick, I've just committed a better solution. Please verify that it works for you.
I'll have a go as soon as poss.
- nick
On Thu, 20 Feb 2003, Stas Bekman wrote:
Nick Tonkin wrote:
server_hostname is not documented on the list. Anyone know the equivalent
please?
it hasn't changes from 1.0. I thought we have been through this already, just
yesterday.
We did. The list is resending mail. Or maybe the mail
On Thu, 20 Feb 2003, Stas Bekman wrote:
Nick Tonkin wrote:
Is it possible to combine the recommended syntax:
use warnings FATAL = 'all', NONFATAL = 'redefine';
with the ability to turn warnings on in httpd.conf with PerlSwitches -w?
-w is the same as:
use warnings 'all
1 - 100 of 137 matches
Mail list logo