like this with mod_perl.
right. many (lazy) commercial web hosting providers don't even (to this day) offer
perl CGI either. But most decent ones have realized that even the unwashed masses
need perl scripts to run, and have already successfully addressed ExecCGI security
issues in orde
like this with mod_perl.
right. many (lazy) commercial web hosting providers don't even (to this day) offer
perl CGI either. But most decent ones have realized that even the unwashed masses
need perl scripts to run, and have already successfully addressed ExecCGI security
issues in orde
:
>
>
> require group payer_manager payer_group demo
>
>
> but I'm not sure.
i belive it is. in fact, i didn't realize specifing two require coditions (one group
and one user) worked on *separate* lines :)
something like:
$L
"Adi Fairbank" <[EMAIL PROTECTED]> wrote:
> Dave Kaufman wrote:
> >
> > $Location{"blah"} = {
> > require => "group payer_manager, payer_group demo"
> > };
> > should do the trick.
>
> I wrote:
> > Thank
separate SUID user-owned processes). In that scenario, which is not as
unlikely as it might at first seem, for an ISP, the directive ExecCGI already has
meaning, and "reusing it" would cause some bad ambiguouity.
-dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
ccess to configure what mod_perl
handlers they want to use, but they can't specify handlers outside of a read-only (to
them) "handlerlib" area and so cannot write their own handlers, "PerlRequire" scripts,
or "PerlModule" modules.
-dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
fically
designed for mod_perl (Alzabo::ObjectCacheIPC class).
-dave
/*==
www.urth.org
We await the New Sun
==*/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
It seems that when you ask it to scan for dynamic modules and produce the
appropriate conf file you can end up with something like this in there:
LoadModule setenvif_module"/usr/local/apache_mp"/libexec/mod_setenvif.so
The quotes cause a problem.
Here's a patch against the latest CVS versio
y from the mod_perl server, which is less
than ideal in terms of resource use.
Any ideas?
-dave
/*==
www.urth.org
We await the New Sun
==*/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
t this before, but do not have rights to the code to post the
> patch, sorry. :-(
Actually, something is _adding_ headers and I want it to stop doing it.
It may not be mod_proxy, perhaps it is mod_rewrite. I really don't know.
-dave
/*
te server you are proxying to.
I don't think so. If I do a telnet to the proxy server (port 80, no
mod_perl) I get the extra headers. If I telnet to the mod_perl enabled
server (port 12345), I get what I want (no extra headers).
-dave
/*==
www.urth.or
aware of the protocol you are trying to proxy.
That is the exact problem. Ok, the chances of me hacking mod_proxy are
next to nil. At least now I know what I can't do to fix the problem
though ;)
-dave
/*==
www.urth.org
We
ing. It would be nice if this were
configurable in mod_proxy.c. Maybe I will have to look at the code. But
I'm afraid of C.
-dave
/*==
www.urth.org
We await the New Sun
==*/
-
To unsubsc
e version should be trivial.
-dave
/*==
www.urth.org
We await the New Sun
==*/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
iscuss the possibility of making this a part of a
future release. Of course, if someone at Covalent wants to help that's
great too. And for the record, it took a lot less than a day. About
1.5-2 hours, I'd say.
-dave
/*=
00, egid=100
`PerlChildInitHandler' push_handlers() stack is empty
PerlChildInitHandler handlers returned -1
perl_init_ids: uid=500, euid=500, gid=100, egid=100
`PerlChildInitHandler' push_handlers() stack is empty
PerlChildInitHandler handle
On Wed, 29 Nov 2000, Matt Sergeant wrote:
> On Wed, 29 Nov 2000, Dave Rolsky wrote:
>
> > my $cfg = Apache::ModuleConfig->get($r);
>
> Try:
>
> my $cfg = Apache::ModuleConfig->get($r, __PACKAGE__);
I should have said that its segfaulting before it ever gets in
ave a job I should be working on already.
-dave
/*==
www.urth.org
We await the New Sun
==*/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
ur
outputs wherever you want as well as giving you log levels and such if you
need it. Of course, I'm biased cause I wrote Log::Dispatch.
-dave
/*==
www.urth.org
We await the New Sun
==*/
-
To
gzip on the
fly, why would you want to add all the necessary JS code (to the
content-size) and then ask the JavaScript interpreter to do what the browser
already knows how to do?
-dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
posted a week or so back about the seg faults I was getting
when I started working on a custom config system for Mason. Right now I'm
kind of stalled on that.
-dave
/*==
www.urth.org
We await the New Sun
==*/
--
ys who
think that buying a $100k app server and tweaking it via a monolithic API
will give them what they want.
But I might be biased.
-dave
/*==
www.urth.org
We await the New Sun
==*/
-
To unsubs
mature.
It is also actively maintained. I know that the first three on the bottom
list, as well as Alzabo, are also being maintained.
-dave
/*==
www.urth.org
We await the New Sun
==*/
-
To
ms.
>
> this is the kind of architecture that is begging to be
> embraced by perl.
Re: a messaging system
Check out Uri Guttmans Stem code (email him about it) at
www.stemsystems.com
-dave
/*==
www.urth.org
em with them compared to mod_perl is that you don't have access
to the server internals so you can really only affect the content handling
phase. Is this the case with Tomcat as well?
If so, I'd say its not really comparable to mod_perl.
-dave
/*==
27;ve done much less of it
except for the fact that I'm being paid to do it for the above-mentioned
NDA'd project. I do it for Alzabo because I feel strongly enough about
its potential to try to make
ing I've worked on for Alzabo).
Like I said, I really need to examine cons and see if it can help with all
this. The problem being that most people don't have cons installed
(although it can always be included in a package).
-dav
about
anything on the machine that I care to give it access to. Does anyone
have any suggestions on how I can discover from within my handler
whether an FTP file upload is complete or not?
Dave
-
To unsubscribe, e-mail: [EMAIL PROT
really well so I'll ask my regex
question there."
Keep in mind that while we're all for advocacy of mod_perl, eventually a
person's support needs may reach a point where they really need to start
thinking about paying for it.
-dave
/*==
www.urth.org
We await
ooking at the error
logs.
-dave
/*==
www.urth.org
We await the New Sun
==*/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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::Cl
ating and
maintaining take23.org, modperl.* and other advocacy sites along these lines
(although my skills are more along the lines of CGI and MySQL, i don't mind
doing site architecture, or navigation html and graphics for a good cause).
btw, what's exactly is the deal with modperl.org? perhaps the first order
of bu$iness might be acquiring this domain name (or the right to maintain
the content on it) from it's current owner?
-dave
this is where cash is the only cure. (perhaps some secret corporate
benefactor will bless us with colocated hosting in a nice big multi-homed
datacenter).
and, IMO an advocacy site really MUST run on mod_perl, mustn't it? i mean
really, how many people would believe Apache was a great webserver if
apache.org was hosted on an IIS server?
-dave
a chiken-and-egg problem. which comes first, an
attractive and usable new site that mod_perl programmers will flock to get
accounts on, so that they can contribute self-published articles, reviews
and news? or the flock needed to build such a site? my crystal ball clouds
over...
-dave
fixed in
CVS and 5.6.1 should incorporate this change.
-dave
/*==
www.urth.org
We await the New Sun
==*/
> H
> which is still open. No patch/patchid seen there.
>
> Did you mean this bug, or another? Is there some informal patch around?
I'm pretty sure that's the bug. Sarathy said it was patched ages ago. I
don't know why the bug's still
r a general-purpose CGI FAQ such
as:
http://www.xs4all.nl/~johnpc/cgi-programming-for-dummies-FAQ.html
or one of the newsgroups devoted to Apache & Perl CGI like:
comp.infosystems.www.servers.unix
comp.infosystems.www.authoring.cgi
or comp.lang.perl.misc
-dave
mbperl is getting caching. AxKit is also very
cool, and caches.
--
Dave Seidel
[EMAIL PROTECTED]
On 22 Dec 2000, Dave Seidel wrote:
> I don't know if either Mason or Embperl offer static compilation, but Mason has
> caching and I believe that Embperl is getting caching.AxKit is also very
> cool, and caches.
Using Mason to generate a set of HTML pages would not b
w {
> my $class = shift;
> my $self = $class->SUPER::new;
> bless $self, $class;
> }
Well, a package is generally expected to bless its objects into the value
of $class, not the value of __PACKAGE__. You shouldn't have to override
the constructor simply to rebless the
/cgi-bin/prog
http://otherhost/prog?uname=me&pwd=password [QSA,R,L]
and the rw engine will add uname & pwd to any existing querystring that was
present
hope this helps,
-dave
Hi everyone.
I have just built apache mod perl, things seem to be fine since /server-status reports
Apache Server Status for home.itchy.and.scratchy
Server Version: Apache/1.3.14 (Unix) mod_perl/1.24_01
Server Built: Jan 5 2001 17:49:02
I have also edited my httpd.conf file to include the f
Hi guys,
Sorry for the brain fart email, i now have it all working peachy now.
Thanks for the help though.
dave
ete a file
}
and get good results.
I suspect the answer to this is no but I'm curious as to whether anybody's
come up with a way to detect a 'real' shutdown.
-dave
/*==
www.urth.org
We await the New Sun
==*/
telling them to shutdown. END blocks run in all
children.
7. the first server shuts down - I'd like to run something here because
it should only be happening to during a 'final' shutdown and only after
the children have finished serving their last requests.
-dave
/*==
www.urth.org
We await the New Sun
==*/
On Wed, 10 Jan 2001, Danny Rathjens wrote:
> Perhaps you could send a USR1 prior to your TERM signal and have your
> END blocks perform your shutdown tasks if they see the USR1 signal.
> But then you have the problem of new children being started due to the
> USR1 not to mention it would preclude
27;ll poke around a
bit.
-dave
/*==
www.urth.org
We await the New Sun
==*/
xpects 'yes' or
'no', not 1 or 0. That's freaking brilliant. ARGH!
-dave
/*==
www.urth.org
We await the New Sun
==*/
On Thu, 11 Jan 2001, Perrin Harkins wrote:
> I meant "is there a way to run a cleanup handler in the parent after it's
> work is done?", but I don't see one. Dave says the END block trick worked
> for him, so maybe it only fails under certain circumstances.
Actual
line 1.
Is there something I can pass to the makefile on the command
line to tell it to ignore the @INC and use lib 'lib'?
Apache/Perl has correct search paths; I have 'use lib qw(lib1
lib2 etc.)' wrapped in a BEGIN block inside my startup file...
Thanks.
Dave
h.
So this is for the mail archive. It solves the problem of prompting for
../apache_x.x/src and for the failed test that reports
Use of unitialized value at modules/src.t at line 27
- Dave Dykstra
*** Makefile.PL.O Wed Jan 17 13:21:41 2001
--- Makefile.PL Thu Jan 18 10:21:09
I'm looking at justifying a trip to Japan in late March. If there's
anyone who needs some Apache architecture, Apache::Registry-ification
of existing CGI code or in depth MySQL tuning work, please mail me.
Thanks,
Dave
--
Dave Hodgkinson, http://www.hodg
t; the object cache must be completely flushed after each request, etc.
Alzabo (which is somewhat the opposite of Tangram) is designed with
mod_perl in mind. XML serialization will be coming real soon now (as soon
as Barrie Slaymaker finishes work on DBML).
-dave
/*==
www.urth.org
We await the New Sun
==*/
. Alzagram any time soon ?
Well, they do largely the opposite thing. Tangram maps objects onto
databases and Alzabo maps databases onto objects. Admittedly, Alzabo has
some features that let you do some (thought not close to all) of what
Tangram does but they're rea
/2 as possible... and so on.
I've heard this can be controlled by mod_perl. Can anyone point me to
some examples?
Thanks,
Dave
s dead can't let another child know about that
> dead instance.
You could use an IPC or DBM file (assuming you have 1 apache machine) to
communicate this info. With multiple webservers, you'd need a database or
NFS or something.
-dave
/*==
www.urth.org
We await the New Sun
==*/
at least). I would think a database would end up being the
simplest way to do this sort of information passing.
-dave
/*==
www.urth.org
We await the New Sun
==*/
or how to do it.
Nope, that's not it. I wrote that one and it doesn't talk about that at
all.
-dave
/*==
www.urth.org
We await the New Sun
==*/
string. For the
purposes of dumping a trace to a log, either one will work just fine.
-dave
/*==
www.urth.org
We await the New Sun
==*/
nfig .= $string and
build the VirtualHosts as if they were plain text.
Not as elegant as doing this the hard way, but it's also easier to
explain if you have to hand the config file off to someone who knows
Apache but not Perl.
Dave
--
- Dave Baker : [EMAIL PROTECTED] : [EMAIL PR
erl.
You're missing setting the status, which is probably the main problem.
Here's a link to the Mason FAQ:
http://www.masonhq.com/docs/faq/#How_do_I_do_an_external_redirect
-dave
/*==
www.urth.org
We await the New Sun
==*/
On Wed, 14 Feb 2001, Gunther Birznieks wrote:
> I wouldn't mind a mod_perl beer-BOF like the one we had at the last night
> of ApacheCon Europe
I'll go, but I won't drink any beer.
-dave
/*==
www.urth.org
We await the New Sun
==*/
oss-platform compatible mod_perl code.
-dave
/*==
www.urth.org
We await the New Sun
==*/
, I am quite good as an application designer and developer.
My resume is online at http://www.urth.org/resume/
Of course, if someone wants to pay me to hack on Alzabo or Mason, don't be
shy!
-dave
/*==
www.urth.org
We await the New Sun
==*/
hat to do on build...
Cheers,
Dave
--
Dave Hodgkinson, http://www.hodgkinson.org
Editor-in-chief, The Highway Star http://www.deep-purple.com
Apache, mod_perl, MySQL, Sybase hired gun for, well, hire
-
st is still running , Dosent apache close the database connection =
> after it sends a timeout ???
Yes, but mysql is busy doing your query.
--
Dave Hodgkinson, http://www.hodgkinson.org
Editor-in-chief, The Highway Star http://www.deep-purple.com
You can also try http://perlfect.com/freescripts/search/; uses perl and
DB_File.
> -Original Message-
> From: T.J. Mather [SMTP:[EMAIL PROTECTED]]
> Sent: Tuesday, February 27, 2001 10:41 PM
> To: Modperl
> Subject: [OT] Re: Search Engine Theory
>
> You might want to look at DBIx:
he front of a very limited fat
apache would at least get you somewhere near where you want to be. If
someone hits stop before something gets passed to the fat apache, will
it get tossed completely?
Having a maxclients limit on the fat apache will keep memory and CPU
us
> -Original Message-
> From: Stas Bekman [SMTP:[EMAIL PROTECTED]]
> Sent: Saturday, March 10, 2001 11:17 PM
> To: Raphael Arlitt
> Cc: [EMAIL PROTECTED]
> Subject: Re: mod_perl and Apache::SIG "User pressed Stop button" Case
>
> On 11 Mar 2001, Raphael Arlitt wrote:
>
> > Hi,
I'd suggest using 5.00503 until 5.6.1 comes out, which should fix lots of
bugs.
-dave
/*==
www.urth.org
We await the New Sun
==*/
Oops, deleted the message but someone just asked if the session notes
would be available via the web.
I don't know of the official ApacheCon plan but I can say that mine (for
my Intro to Mason presentation) will be available somewhere.
-dave
/*==
www.urth.org
We await th
So as not to be a total spoilsport, I would like to point out that I
thought Randal's idea (Mcmod_perl?) was rather clever and I think it'd be
cool (though I don't know if there are trademark issues).
-dave
/*==
www.urth.org
We await the New Sun
==*/
od_perl distro's to be worthwhile getting?
Absolutely.
>
> Suggestions on good reference books to get? (I have most of the Perl
> library already).
Effective Perl
Damian Conway's Object Oriented Perl
Data Munging in Perl
--
Dave Hodgkinson, ht
t,
> > lol!)
>
> I think the graphics house we'll be using is pretty capable :)
I for one would appreciate a design that doesn't fetishize a culture and
people that have already had enough abuse at the hands of 'American'
people.
Can we please keep
[extensive snippage]
How about a bunch of white shirts? One magic marker per shirt and
everyone can draw their own picture of a computer.
alternatively,
"No-one could decide on an image so
all we got was this lousy sentence."
Dave
erefore I
> want the server to renegotiate the language with different preferences. How
> can I do this.
Look at the HTTP_ACCEPT_LANGUAGE environment variable?
I've done this and actually got resistance from Brazilians who
preferred the Engligh content. You might be better off wi
How about a picture of a card game; on the table
are a 9 of diamonds, Jack of Clubs, and King of spades.
The dealer is about to play the Ace of perl.
The caption reads, "mod_perl does the trick".
Also in the dealer's hand are cards that say,
IIS
iPlanet
Servertec
Is there a mod_perl way to set the character set besides doing:
$r->content_type('text/html; charset=foo');
???
That'd be handy for a future version. I can't find anything in the
Apache.pm docs (1.24) or the guide for this.
-dave
/*==
www.urth.org
We await the New Sun
==*/
e (IIRC) concerns scalars getting the wrong values
when concatenated after being evaluated in both numeric and string contexts;
the other causes coredumps when doing backtraces, which broke HTML::Mason.
After adding these patches, I've been using 5.6.0 in production for
about 9 months now.
*
Why was this scheduled during Matt Sergeant's AxKit presentation?
Why not during a time slot when there are no mod_perl presentations?
This is not rocket science here.
-dave
/*==
www.urth.org
We await the New Sun
==*/
On Wed, 28 Mar 2001, Geoffrey Young wrote:
> Absolutely. I've CC'd the ApacheCon planners so hopefully they can step in
> and fix things.
Doh, I should've done this in the first place. I ended up mailing Stewart
Quealy separately. Sorry for everyone who's seeing th
Anyone here want to get together? I'm in room 945 and bored. I think
matt Sergeant is here too but I couldn't find him at the bar.
-dave
/*==
www.urth.org
We await the New Sun
==*/
ething? Is it a perl issue?
TIA,
Dave
--
Dave Hodgkinson, http://www.hodgkinson.org
Editor-in-chief, The Highway Star http://www.deep-purple.com
Interim CTO, web server farms, technical strategy
n FORBIDDEN;
}
}
# Else they are OK
$req->connection->auth_type('Basic');
$req->connection->user($user);
return OK;
}
Dave Greco
[EMAIL PROTECTED]
Network Administrator
Gleim Publications, Inc.
(800) 87-GLEIM x312
http://www.gleim.com
n).
There's lots of good stuff in the mod_perl guide on tracking down
leaks. Both perl and mod_perl have both been extensively tested .
It's worthwhile to have done this at least once so you know how to do
it when you really need to do it. In addition, profiling your code is
a Good Thing t
ers
Do go through all the answers since there were some extreme flaws in
the tests (as always!) and there were issues in MySQL that were fixed.
I don't know if the tests were eventually run against MySQL 3.23.
--
Dave Hodgkinson, http://www.hodgkinson.org
Editor-in-
k there have been someone who has taken up the project under a different
> name, if anyone knows about this, please tell me.
mwforum, and a Template Toolkit version may well be in the pipeline.
--
Dave Hodgkinson, http://www.hodgkinson.org
Editor-in-chief,
t when
> I run my script under mod_perl it seems to follow this
> pattern:
Ok, 1..2..3:
http://perl.apache.org/guide/
!!!
--
Dave Hodgkinson, http://www.hodgkinson.org
Editor-in-chief, The Highway Star http://www.deep-purple.com
Interim CT
y effect during the life of that Apache process.
>
> Am I understanding this correctly?
Yes, mostly. Check out the Apache::Reload module though. It does what I
think you want.
-dave
/*==
www.urth.org
We await the New Sun
==*/
probably the single worst way to learn about mod_perl. Slash is
> the only program that makes me physically ill. It is the single worst
> piece of programming ever released upon the world.
No, that would be Matt's Script Archive.
Have you seen Slash 2.0? Even uses the Template Toolkit.
odules) into startup.pl. The more
the merrier.
If a process starts at 10M and grows to 80M that's 70M per process,
_unshared_ for sure. Not good.
--
Dave Hodgkinson, http://www.hodgkinson.org
Editor-in-chief, The Highway Star http://www.deep-purple.com
of good stuff in there on shareabiliy.
If your processes start at 10M, then grow to 80M, that memory is
probably _not_ shared. Unless you're mapping in some shared memory or
something.
--
Dave Hodgkinson, http://www.hodgkinson.org
Editor-in-chief, The Highway
start running multiple Apaches. Get to know
the architecture sections of the guide, get familiar with mod_rewrite
and start dividing up your servers.
--
Dave Hodgkinson, http://www.hodgkinson.org
Editor-in-chief, The Highway Star http://www.deep-purple.com
Interim CTO, web server farms, technical strategy
through convenient object methods.
I'm not sure exactly what the goal of SPOPS is, so I'll let the author
speak for himself.
-dave
/*==
www.urth.org
We await the New Sun
==*/
type=text/vnd.viewcvs-markup
If you want to help it'd be much appreciated. The goal is to finish it,
turn it into HTML and stick it somewhere that people will see it
(poop.perl.org?)
-dave
/*==
www.urth.org
We await the New Sun
==*/
This is documented (Apache::Session doesn't recurse into the data
structure to look for changes) somewhere ...
I use this whenever changing the session to force it to always get written
back to the database:
tied(%session)->make_modified;
Dave
--=20
- Dave Baker : [EMAIL PROTECTED] :
All the current projects are done and dusted and the T-shirts are at
the printers (really!). I'm looking for the next round of excellent
clients to work with.
Take a look at my site at http://www.hodgkinson.org/ to see what I'm
up to.
Thanks,
Dave
--
Dave
unsubscribe remove
Dave Black, Engineer
FlexFeed Corporation
1-301-317-9264 (office)
mailto:[EMAIL PROTECTED]
http://www.flexfeed.com/
http://corpsearchusa.com/
ServerName $_
ServerAlias www.$_
DocumentRoot /wherever/it/is/$_/
CustomLog/var/log/apache/multihosts_access_log vcommon
EOF
}
--- end snippet
By adding a script_alias here you can get what you need.
Dave
--=20
- Dave Baker : [EMAIL PROTECTED] : [EMAIL PROTECTED] : h
Paul <[EMAIL PROTECTED]> writes:
> Just use it in your handlers normally. It'll only be included once per
> process, . . . right?
Put it in startup.pl and it'll get mostly shared too!
--
Dave Hodgkinson, http://www.hodgkinson.org
Editor-in-c
201 - 300 of 342 matches
Mail list logo