On 3 Jul 2003, Roger Davenport wrote:
[...]
> Is there a solution other than reloading the server? Does any one have
> patches to check used sub-modules?
http://search.cpan.org/dist/Apache-Reload/Reload.pm
http://search.cpan.org/dist/Apache-Reload/
- ask
--
http://www.askbjoernhansen.com/ -
w obscure bugs isn't worth it.
- ask
--
ask bjoern hansen, http://www.askbjoernhansen.com/ !try; do();
only recall segfaults making me slam my head into the
wall to conceal the pain.
- ask
--
ask bjoern hansen, http://www.askbjoernhansen.com/ !try; do();
uch to change for this feature.
If the physical connection is still there, would the database server
do a rollback?
- ask
ps. yes, your DBI::Pool work is great. Thank you. :-)
--
ask bjoern hansen, http://www.askbjoernhansen.com/ !try; do();
e proxy:
ProxyPreserveHost yes
RewriteRule ^/(.*\.pl) http://localhost:1234/$1 [P]
ServerName foo.example.com
RewriteEngine on
RewriteOptions inherit
...
- ask
--
ask bjoern hansen, http://www.askbjoernhansen.com/ !try; do();
Apache::compat would have global side effects though? (i.e. for
people trying to make their system run without Apache::compat).
- ask
--
ask bjoern hansen, http://www.askbjoernhansen.com/ !try; do();
#x27;warn "foo"; open F, ".bashrc"; warn "Foo" while ' 2>&1 | head -5
foo at -e line 1.
Foo at -e line 1, chunk 1.
Foo at -e line 1, chunk 2.
Foo at -e line 1, chunk 3.
Foo at -e line 1, chunk 4.
- ask
--
ask bjoern hansen, http://www.askbjoernhansen.com/ !try; do();
::DumpHeaders.
http://search.cpan.org/dist/Apache-DumpHeaders/DumpHeaders.pm
- ask
--
ask bjoern hansen, http://www.askbjoernhansen.com/ !try; do();
ng DBD::mysql. I'd be happy to provide backtraces using
> other modules if they'd be useful to someone debugging.
[...]
A backtrace with DBD::mysqlPP would be fun.
Have you upgraded mysql after you last installed DBD::mysql? Did
DBD::mysql pass all tests when you installed it?
On Mon, 13 Jan 2003, John Siracusa wrote:
> So...suggestions? How are other people handling load balancing?
With hardware load balancers. :-)
You forgot to include the information about number of servers,
requests per second at peak times, reponse sizes, etc etc.
- ask
--
ask bjo
shared across a pool
of threads. But just having it work like it does in Apache 1.x is
much better than not having it work at all! :-)
- ask
--
ask bjoern hansen, http://www.askbjoernhansen.com/ !try; do();
Last night I spent a bit of time making a proper test for
Apache::DBI and make it work without Apache.pm. Just now I made it
work with mod_perl 2.0. I have only tested that very briefly.
Until it hits your CPAN mirror, get it from:
http://develooper.com/code/Apache::DBI/
Or from CVS; instructi
in my
proposal.
:-)
- ask
[1] Except then I would have to write many more slides; I already
have a ~70 minutes talk about it with slides, illustrations and all
sorts of things. :-)
--
ask bjoern hansen, http://www.askbjoernhansen.com/ !try; do();
probably not enabled in the httpd that is using
that configuration file.
> There are several
> .conf files in this Apache version:
>
> commonhttpd.conf httpd.conf httpd-perl.conf
I don't know how Mandrake has set it up. If they change things
around, they should have document
code). If it is still months from being stable enough for
> release, I will have to investigate alternatives.
It will get stable faster if you choose to use it. :-)
- ask
--
ask bjoern hansen, http://www.askbjoernhansen.com/ !try; do();
t does since version X, where X is
relatively recent.
- ask
--
ask bjoern hansen, http://www.askbjoernhansen.com/ !try; do();
, then it's likely easier to recompile for each
box.
- ask
--
ask bjoern hansen, http://www.askbjoernhansen.com/ !try; do();
sed forms?
The Twiki system and the Faq-O-Matic are using RCS on the backend to
version control entries.
- ask
--
ask bjoern hansen, http://www.askbjoernhansen.com/ !try; do();
oordinate recompiling
binaries than doing it once and distributing them (in tarballs,
rpms, or with your revisioning system).
- ask
--
ask bjoern hansen, http://www.askbjoernhansen.com/ !try; do();
; it rocks. You can't get stuff done faster than you
can with Mason, and it still allows you to design things properly if
you are careful.
http://dev.perl.org/, http://jobs.perl.org, http://search.cpan.org/
are using Mason.
See http://www.masonhq.com/
- ask
--
ask bjoern hansen, http://www.askbjoernhansen.com/ !try; do();
On Thu, 10 Oct 2002, Ask Bjoern Hansen wrote:
> On Fri, 6 Sep 2002, [iso-8859-2] Tomá¹ Procházka wrote:
>
> > Problem: Sometimes, although user entered correct password, is
> > authentication rejected. I tried logging values of $real_pass and
> > $test_pass and they d
On Thu, 10 Oct 2002, Ask Bjoern Hansen wrote:
> > Problem: Sometimes, although user entered correct password, is
> > authentication rejected. I tried logging values of $real_pass and
> > $test_pass and they differed. When I add line
>
> Did anyone figure this out?
&
he::Const -compile => 'OK';
my $clear = "foo";
my $salt = "Dm";
sub handler {
my $r = shift;
$r->content_type('text/plain');
my $crypted = crypt $clear, $salt;
$r->print("crypt $clear, $salt = $crypted");
return Apache::OK;
}
1;
--
ask bjoern hansen, http://www.askbjoernhansen.com/ !try; do();
ides what the IT department thinks? (Or make
someone talk to some lawyers with more clue).
- ask
--
ask bjoern hansen, http://www.askbjoernhansen.com/ !try; do();
you not.
> >
> > http://develooper.com/modperl/performance_tuning.html
> >
> > (Click "Next" on the top of each slide to progress ... The first few
> > slides looks weird in Mozilla 1.0 on my Linux box but are fine in
> > Chimera on Mac OS X - get a Mac! :-) )
--
ask bjoern hansen, http://www.askbjoernhansen.com/ !try; do();
it done without too much work; so then it is
probably worth it.
- ask
--
ask bjoern hansen, http://www.askbjoernhansen.com/ !try; do();
a setup, which was the reason for changing
it. Indeed it could be that it was only affecting the proxy. Did I
mention that I forgot the details?). :-)
- ask
--
ask bjoern hansen, http://www.askbjoernhansen.com/ !try; do();
s the problem?
You compiled mod_perl as a DSO but didn't load the module.
Try adding something like the following to your httpd.conf:
LoadModule perl_modulelibexec/apache/libperl.so
- ask
PS. You also want to upgrade FreeBSD to 4.6; or at least make sure
you have the latest secu
_tuning.html
(Click "Next" on the top of each slide to progress ... The first few
slides looks weird in Mozilla 1.0 on my Linux box but are fine in
Chimera on Mac OS X - get a Mac! :-) )
- ask
--
ask bjoern hansen, http://www.askbjoernhansen.com/ !try; do();
to subscribe to the digest.
- ask
--
ask bjoern hansen, http://askbjoernhansen.com/ !try;
develooper llc,http://www.develooper.com/ do();
threads in shared arrays
just yet, or you'll suffer memory leaks. :-)
- ask (suffering memory leaks)
--
ask bjoern hansen, http://www.askbjoernhansen.com/ !try; do();
It's certainly not there right now.
Uh, couldn't a combination of mod_backhand and mod_rewrite (using
cookies) do it?
- ask
--
ask bjoern hansen, http://www.askbjoernhansen.com/ !try; do();
in
the proxy for redirecting /abc to /abc/
RewriteRule ^/abc /abc/ [R,L]
- ask
--
ask bjoern hansen, http://www.askbjoernhansen.com/ !try; do();
unpack" for serializing data).
The expiration went into the data and purging the cache was a simple
cronjob to find files older than a few minutes and deleting them.
The performance? I don't remember the exact figure, but it was at
least several times faster than the Be
a subsystems when the customer
needed them. The system also made it easy to customize the handlers
for each customer. (Just inherit the base Foo::BarHandler into
Customer::BarHandler and add the extra magic).
- ask
[1] okay, not quite a previous life; but it is more than 4 years
ago. :-)
--
ask bjoern hansen, http://www.askbjoernhansen.com/ !try; do();
On Tue, 20 Aug 2002, Chris wrote:
> my $timeout1 = $Cache->get_object('1')->get_expires_at();
> my $timeout2 = $Cache->get_object('1')->get_expires_at();
... ETOOMUCHCUTNPASTE.
:-)
- ask
--
ask bjoern hansen, http://www.askbjoernhansen.com/ !try; do();
m the list you are
probably not subscribed. Send mail to
[EMAIL PROTECTED] to change that.
--
ask bjoern hansen, http://askbjoernhansen.com/ !try; do();
t's not a mod_perl problem, try the httpd users list.
[EMAIL PROTECTED]
- ask
--
ask bjoern hansen, http://askbjoernhansen.com/ !try; do();
's all that
many.
$ lwp-request -e -d -S 'http://dev.perl.org/' | grep ^Server
Server: Apache/1.3.26 (Unix) mod_perl/1.27
- ask
--
ask bjoern hansen, http://askbjoernhansen.com/ !try; do();
.perl.org/info?module=Apache/DBI
- ask
--
ask bjoern hansen, http://askbjoernhansen.com/ !try; do();
projects; that's always
good to put on your resume.
- ask
--
ask bjoern hansen, http://askbjoernhansen.com/ !try; do();
am sure we can figure out to make it
stop. :-)
Posting both jobs and availability at the urls you posted sure
sounds like a better idea though.
--
ask bjoern hansen, http://askbjoernhansen.com/ !try; do();
when the exploit is not "done right" (when the server
SEGVs).
- ask
--
ask bjoern hansen, http://askbjoernhansen.com/ !try; do();
hen using the default handler. Don't
count on it though; there is plenty of obscure ways this issues has
been biting us already.
- ask
--
ask bjoern hansen, http://askbjoernhansen.com/ !try; do();
;s like
channel-surfing at a conference!) and fun for the speakers.
Thanks,
Nat
If you don't know how they work, then there is also a page written
by Mark-Jason Dominus here: http://perl.plover.com/lt/ (mjd
coordinated most of the previous lightning talk sessions).
--
ask
; of sharing IMAP objects between children.
the trivial way would be to have the mod_perl processes login (once
each) as some kind of super user and then access the folders as
"[username]/INBOX" etc.
- ask
--
ask bjoern hansen, http://ask.netcetera.dk/ !try; do();
sent and see what it changes to.
- ask
--
ask bjoern hansen, http://ask.netcetera.dk/ !try; do();
port.com does
it; if nothing else then on the pages where it's described why their
implementation was insecure at some point. ;-)
- ask
--
ask bjoern hansen, http://ask.netcetera.dk/ !try; do();
.= "$;$_=$args[3]->{$_}" } sort keys %{$args[3]};
>
> Good find. That's a bug. Fix it.
I sent a patch to Edmund.
- ask
--
ask bjoern hansen, http://ask.netcetera.dk/ !try; do();
like
map { $Idx .= "$;$_=$args[3]->{$_}" } sort keys %{$args[3]};
(or a similar for loop)
(My problem, obviously, was that Apache::DBI got several connections
to the same database with the same args; but the hash had the args
ordered in a different way.)
- ask
--
ask bjoer
* Doug MacEachern wrote:
>the issue with all segfaults on win32 is related to the use of the
>internal perl variable &PL_sv_no. not sure what the real problem is, but
>avoiding use of PL_sv_no has cured all segfaults on win32. the fixes have
>been checked into cvs.
I now get
apache\cgihan
Hi,
Perl: version 5.61, ActiveState ActivePerl Build 631
mod_perl2: about one moth old CVS snapshot and
todays modperl-2.0_20020509222354.tar.gz
Apache:2.0.35 and 2.0.36
Compiler: VisualStudio.NET EA, Service Pack 1
OS:Win2k Professional, Service Pack 2
Apache builds
er high port the user is using.
The serverroot is set to be /home/user/apache and the libexec
directory symlinked from /usr/local/apache/libexec (or wherever the
"system apache" is installed).
- ask
--
ask bjoern hansen, http://ask.netcetera.dk/ !try; do();
On Mon, 18 Mar 2002, Geoffrey Young wrote:
> [EMAIL PROTECTED] wrote:
> >
> > We have a full collection of wholesale freight rate calculators at
>
> Aaaahhh!! Ask, anybody, make it stop!!!
Wow. The lusers had actually subscribed that address to be able to
post.
I'll do what I can to make it
t" an interface to the Apache API.
o) We've had this discussion several times before; I even had to
check the year on the postings to be sure that I was not
replying to an old thread. Please stop.
- ask
--
ask bjoern hansen, http://ask.netcetera.dk/ !try; do();
more than a billion impressions per week, http://valueclick.com
entioned do that?
- ask
--
ask bjoern hansen, http://ask.netcetera.dk/ !try; do();
more than a billion impressions per week, http://valueclick.com
odd way.
No, I can't explain the nitty gritty either. :-)
Someone should write up a summary of this thread and ask in a
technical linux place, or maybe ask Dean Gaudet.
- ask
--
ask bjoern hansen, http://ask.netcetera.dk/ !try; do();
On Fri, 8 Mar 2002, Tatsuhiko Miyagawa wrote:
> here is a patch for Apache::ProxyPassThru, fixing the bug that
> multiple response headers are mungled into one (like double "Set-Cookie:"s)
Thanks.
Look for 0.94 on a mirror near you within a day or two.
- ask
--
ask bjo
this. Thanks! :-)
- ask
--
ask bjoern hansen, http://ask.netcetera.dk/ !try; do();
check to Apache::MP3. (with warn instead
of die. If it goes into CGI.pm it shouldn't be with die, you might
want to use CGI.pm but not any of the functions that are using
%ENV).
- ask
--
ask bjoern hansen, http://ask.netcetera.dk/ !try; do();
more than a billion impressions per week, http://valueclick.com
Hi,
Early next week I will move the modperl lists that are at apache.org
to perl.apache.org; please be ready to adjust your procmail filters.
:-) The old adresses will keep working at least for a while.
- ask
--
ask bjoern hansen, http://ask.netcetera.dk/ !try; do();
more than a
On Sat, 2 Mar 2002, Ron Savage wrote:
> This is off topic, I know. I'm accessing your general knowledge, not
> your mod_perl knowledge.
Well; please don't bring it up here then. dbi-users at perl.org
would maybe be more appropiate.
--
ask bjoern hansen, http://
to investigate for patterns or
whatevers.
http://search.cpan.org/search?dist=Apache-DumpHeaders
- ask
--
ask bjoern hansen, http://ask.netcetera.dk/ !try; do();
more than a billion impressions per week, http://valueclick.com
documentation in standard text format, so
> that everyone can read them(without getting a headache).
They are in standard POD format. Try "perldoc INSTALL" or "pod2text
INSTALL".
- ask
--
ask bjoern hansen, http://ask.netcetera.dk/ !try; do();
x27;s
hard to tell.
- ask
--
ask bjoern hansen, http://ask.netcetera.dk/ !try; do();
more than a billion impressions per week, http://valueclick.com
luded in the page. I.e. graphics.
return DECLINED if $r->content_type =~ m!^image/!;
?
- ask
--
ask bjoern hansen, http://ask.netcetera.dk/ !try; do();
more than a billion impressions per week, http://valueclick.com
l
have problems.
- ask
--
ask bjoern hansen, http://ask.netcetera.dk/ !try; do();
more than a billion impressions per week, http://valueclick.com
g decided to remove Perl as one
> of the possible languages
The myth lives on. :-) It's not quite true. It was at UCLA and
the story was different:
http://nntp.perl.org/group/perl.advocacy;max=961
http://nntp.perl.org/group/perl.advocacy/956
- ask
--
ask bjoern hansen, htt
ig jumps are usually explained by a big
hosting provider or a "domain name parking service" changing
servers.
13% to 20% does seem odd though.
--
ask bjoern hansen, http://ask.netcetera.dk/ !try; do();
more than a billion impressions per week, http://valueclick.com
with Jpeg support or Inline.pm/C/libjpeg
> for real time conversion of jpegs.
libjpeg doesn't (afaik) do sharpening/unsharp mask and the two
billion other things that are nice to have if you are trying to get
a high quality output.
http://photo.netcetera.dk/g/snow|2002/01/01
ication in the first place. :-) (And for all the other code we
rarely care about using a few more CPU cycles if it is
easier/cleaner/more flexible/comes to mind first). Who cares if the
perl code gets ready to wait for the database a few milliseconds
faster? :-)
- ask
--
ask bjoern hansen, h
style and change it as the language
> evolves. But you shouldn't blindly apply the outcomes of the benchmarks
> without running your own benchmarks.
Amen.
(And don't get me wrong; I think a repository of information about
the nitty gritty optimization things would be g
p://www.allbookstores.com/book/compare/0672322404 :-)
- ask
--
ask bjoern hansen, http://ask.netcetera.dk/ !try; do();
more than a billion impressions per week, http://valueclick.com
-- Forwarded message --
Date: Mon, 17 Dec 2001 17:12:56 -0600
From: Carlos Ramirez <[EMAIL PROTECTED]>
To: David Harris <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
Subject: Re: mod_perl site challenge: proposal to use ASF site design
> From: "David Harris" <[EMAIL PROTECTED]>
>
> Carlo
-- Forwarded message --
Date: Mon, 17 Dec 2001 14:30:24 -0800 (PST)
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: mod_perl site challenge: proposal to use ASF site design
David wrote:
> (a) See if others also think that the three alternatives for a mod_perl site
> ar
ome filesystems) need something like that
anyway to make a hashed directory tree.
- ask
--
ask bjoern hansen, http://ask.netcetera.dk/ !try; do();
more than a billion impressions per week, http://valueclick.com
to the list.
- ask
--
ask bjoern hansen, http://ask.netcetera.dk/ !try; do();
more than a billion impressions per week, http://valueclick.com
is right. It's just searches that are doing a full scan
of the database. I know Graham is working on a better search
system.
If Bill got swish-e to support incremental database updates I'm sure
it would help. ;-)
- ask
--
ask bjoern hansen, http://ask.netcetera.dk/ !try; do();
mo
read pages) and
> wondered if anyone has any experience of this who would be willing to offer
> me some advice.
In a previous life I made something like that. I just used an extra
table where I stored the RCS data with the revision history.
- ask
--
ask bjoern hansen, http://ask.netcetera
On Thu, 15 Nov 2001, Rasoul Hajikhani wrote:
> I am using $request_object->no_cache(1) with no success. Isn't it
> supported any more? Can some one shed some light on this for me...
What do you mean with "no success"? What are you trying to do?
--
ask bjoern hansen,
that mistake in
> future. Thank you for your patience.
Please don't. It's much easier to open when it's not compressed or
something like that.
You could avoid triggering the brain dead virus checkers by just
including the script within the mail.
- ask
--
ask bjoer
On 22 Oct 2001, Matthew Kennedy wrote:
> Why was Berkeley DB chosen for caching when a RDBMS (mysql in
> this case) was already being used?
For speed.
You want to hit the RDBMS as little as possibly; Berkeley DB makes a
good cache.
- ask
--
ask bjoern hansen, http://ask.netcet
On Fri, 12 Oct 2001, Perrin Harkins wrote:
[...]
> Plus lots of other stuff like Glimpse and Swish which interface to C-based
> engines.
I've had good luck with http://swish-e.org/2.2/
- ask
--
ask bjoern hansen, http://ask.netcetera.dk/ !try; do();
more than a billion
/archives/Apache-Session-Generate-ModUsertrack-0.01.html
>
> uses mod_usertrack's cookie for session id.
Don't do that! mod_usertrack is not meant to be used for secure
session ids.
- ask
--
ask bjoern hansen, http://ask.netcetera.dk/ !try; do();
more than a billion impressions per week, http://valueclick.com
On Thu, 11 Oct 2001, Tatsuhiko Miyagawa wrote:
> Note that if you try to use these modules functionality,
> Apache::Session::Flex should be patched with one included in both
> tarballs.
I sent a patch to Jeffrey last week or such that (I imagine) covers
the same thing.
--
ask bjoe
undef, ccdlflags=' '
cccdlflags='-DPIC -fpic', lddlflags='-shared -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options:
Built under freebsd
Compiled at Oct 6 2001 03:42:33
@INC:
/home/perl/lib/5.6.1/i386-freebsd
/home/perl/lib/5.6.1
/home/perl/lib/site_perl/5.6.1/i386-freebsd
/home/perl/lib/site_perl/5.6.1
/home/perl/lib/site_perl
.
--
ask bjoern hansen, http://ask.netcetera.dk/ !try; do();
de and your system configuration for the location of
sendmail (or whatever the module uses to send mail).
- ask
--
ask bjoern hansen, http://ask.netcetera.dk/ !try; do();
more than a billion impressions per week, http://valueclick.com
y (PST) on the
network where "onion" (serving learn.perl.org and others) is
located, that's why you couldn't connect. =)
--
ask bjoern hansen, http://ask.netcetera.dk/ !try; do();
more than a billion impressions per week, http://valueclick.com
the above in the reverse proxy to "shield" the real thing
from the requests on the sites where it matters (like one where I
get a mail for each 404; it got really old really fast with this
Nimda crap).
Of course it doesn't work if you ever access the host as "www"
without th
ne
> on needs to be specified for each virtual host?)
Yes,
RewriteEngine on
RewriteRule ...
[...]
[...]
RewriteEngine on
RewriteOptions inherit
or something like that for each VirtualHost is your friend.
:-)
--
ask bjoern hansen, http://ask.netcetera.dk/ !try; do();
more tha
l/lib/libdb3.so
before you start apache.
(substitute with the correct path to the correct libdb3.so).
- ask
--
ask bjoern hansen, http://ask.netcetera.dk/ !try; do();
more than a billion impressions per week, http://valueclick.com
On Fri, 7 Sep 2001, Diego V wrote:
> Just wanted to ask to any embperl user, is there any real advantage
> about using embperl instead of PHP ?
http:[EMAIL PROTECTED]/msg01457.html
http:[EMAIL PROTECTED]/msg01461.html
- ask
--
ask bjoern hansen, http://ask.netcetera.dk/ !t
s long as I have access to the
list configuration for the mod_perl lists[1]. :-)
- ask
[1] likewise for all the perl.org lists; munging the Reply-To header
is just a bad idea and I wish it'd go away.
--
ask bjoern hansen, http://ask.netcetera.dk/ !try; do();
more than a billion
exception. :-)
- ask
--
ask bjoern hansen, http://ask.netcetera.dk/ !try; do();
more than a billion impressions per week, http://valueclick.com
all depends[tm].
What you really want is to setup a (reverse) proxy process in front
of the mod_perl process. Try looking through my slides at
http://develooper.com/modperl/
- ask
--
ask bjoern hansen, http://ask.netcetera.dk/ !try; do();
more than a billion impressions per week, http://valueclick.com
usr/local/perl/, ... whatever) and do all the mod_perl
stuff with that (just use "/home/perl/bin/perl Makefile.PL" and
"/home/perl/bin/perl -MCPAN -e shell" and so on later).
- ask
--
ask bjoern hansen, http://ask.netcetera.dk/ !try; do();
more than a billion impressions per week, http://valueclick.com
On Mon, 6 Aug 2001, Christopher L. Everett wrote:
> I _must_ get this working with IE. Does anyone have a
> clue stick for me?
try posting the Set-Cookie: line that you are sending to the
browsers.
- ask
--
ask bjoern hansen, http://ask.netcetera.dk/ !try; do();
more tha
uot; (close
netblocks)) doesn't have that "flaw".
http://www.unixwiz.net/techtips/CodeRedII.html
http://braddock.com/cr2.html
Whatever OS you are running, make sure to install those patches!
- ask
--
ask bjoern hansen, http://ask.netcetera.dk/ !try; do();
more than 100M impressions per day, http://valueclick.com
hotel might be quite a ways from
> anything interesting.
If you post your room number as soon as you get it then we'll just
all come over! :-)
- ask
--
ask bjoern hansen, http://ask.netcetera.dk/ !try; do();
more than 100M impressions per day, http://valueclick.com
be an opening night piss-up,
> eh? somebody that knows the area should propose a place.
Yeah, I thought that was what the thread was about when I saw the
BOF subject.
Sunday evening where?
- ask
--
ask bjoern hansen, http://ask.netcetera.dk/ !try; do();
1 - 100 of 262 matches
Mail list logo