Andrew Ho wrote:
Hello,
I checked the list archives and it didn't look like this had been posted yet.
For those of you who haven't seen it yet... a great read on perl.com about
the Apache/mod_perl setup at eToys, co-authored by our own mod_perl
regular contributer Perrin Harkins.
Dear All
Doing an automated install on a new dev server I noticed that with a
snapshot bundle created on another, it lists libapreq-0.33 as being
Apache::libapreq.
When cpan comes to install the bundle and looks for Apache::libapreq it
downloads 0.31 eg:
cpan i /libapreq/
Going to read
Jay Thorne wrote:
I'm trying to use mod_perl in conjunction with another module called
mod_adbanners.c
From our tests, its quite apparent that when a Location is handled by
mod_perl, our other apache handler is not called called, though we've
compiled perl to not hook into
Joern Janoschek wrote:
Hi,
we are currently developing several Perl scripts for a big
german site with high traffic and the need of fast DB
connections. The webserver are Apache 1.3.14 setup with mod_perl
(current version as far as I know). The scripts connect to a
Mysql 3.2332 on
Joern Janoschek wrote:
On Wed, 14 Mar 2001 18:46:31 +, Greg Cope wrote:
There's no reason why Apache::DBI should not work - by the sounds of it
the connections strings may have been different ?
Apache::DBI works in an environment where on user ID is used to connect
to the DB
DeWitt Clinton wrote:
On Sun, Mar 11, 2001 at 03:33:12PM +0100, Christian Jaeger wrote:
I've looked at Cache::FileCache now and think it's (currently) not
possible to use for IPC::FsSharevars:
I really miss locking capabilities. Imagine a script that reads a
value at the beginning
Perrin Harkins wrote:
Can I ask why you are not useing IPC::Sharedlight (as its pure C and
apparently much faster than IPC::Shareable - I've never benchmarked it
as I've also used IPC::Sharedlight).
Full circle back to the original topic...
IPC::MM is implemented in C and offers an
"Sinclair, Alan (CORP, GEAccess)" wrote:
I am hoping someone might have a clue on how to resolve this awkward
problem.
I have just installed a mod_perl URI translation handler to extract a
session id from the URI. In general the translation works correctly by
removing the session id from
Matt Sergeant wrote:
If anyone has any spare tuits they want to donate to Take23, we have
started the job postings stuff and have a spec for exactly what we want,
but not really enough time to code it up. Experience with AxKit would be a
huge bonus, otherwise you'll be right in at the deep
Bill Moseley wrote:
This is a revisit of a question last September where I asked about
upgrading mod_perl and Perl on a busy machine.
IIRC, Greg, Stas, and Perrin offered suggestions such as installing from
RPMs or tarballs, and using symlinks. The RPM/tarball option worries me a
bit,
ic content /
custom handlers. Also I been doing custom emailing, SMS server work,
and Sys admin (Linux and Solaris)
I can make meetings in London / South East (England, UK) if required.
URL's / code samples / references / CV etc available on request.
Thanks,
Greg Cope
o XXX ?"
questions.
Read the Guide - period !
Last, I'm assuming that the basic structure of this
databse-driven web script is fairly common, so any
pointers to relevant code I could base this on would
be greatly appreciated.
From the above you will have lots of examples to choose fro
Chris Winters wrote:
* Gunther Birznieks ([EMAIL PROTECTED]) [001212 23:53]:
...
A well-specified app is always easier to code regardless of Java or Perl.
Over the years I've become more of a fan of seeing the benefits of good
software engineering than really thinking a particular
d children. Has anyone else used
IPC under mod_perl and had the same errors? I can't even seem to find out
what it is I'm running out of ..
shared memory segments ...
Different OS have different IPC limits
My linux box has ipcs and ipcrm (look at the man page first).
Greg Cope
Thanks,
[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)
Stas Bekman wrote:
Well as you've probably figured out, based on the load of email from me,
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 a good rest - I'll certainly buy the
book!
In
Tim Bunce wrote:
On Fri, Dec 01, 2000 at 09:48:34AM +, Matt Sergeant wrote:
On Fri, 1 Dec 2000, Tim Bunce wrote:
On Fri, Dec 01, 2000 at 02:37:47AM +0100, Stas Bekman wrote:
It would be much easier for Tim to do it from the inside than any of us
doing the overloading
Dear All
This is a little OT - but bear with me.
I am looking for a simple generic server (prefably OO) that I can use
for my NON OO stuff.
I have writen my own, but I am after ideas
One project I've got involves getting HTML (template)files via LWP, and
uploads them into an IPC cache
David Hodgkinson wrote:
Chaps,
In the last couple of days and on several mailing lists (MySQL for
one), I've seen people pointed to www.phpbuilder.org for answers.
Where the hell's the mod_perl version?!
Agreed.
I've always thought that php had better "web support" in terms of "How
to
Gunther Birznieks wrote:
At 01:58 PM 11/14/00 +0100, Robin Berjon wrote:
At 11:22 14/11/2000 +0100, Stas Bekman wrote:
Just as with TPC our aim is to have a full double room track for mod_perl
for all 3 days. So make sure that you submit enough mod_perl material, so
we will have it
Jason Liu wrote:
Is Apache::DBI absolutely necessary if you want to establish persistent
database connection per child?
No you can write your own (its open source remember ;-) but why bother -
standing on the shoulders of giants etc
Greg
Thanks,
Jason
-Original
Perrin Harkins wrote:
On Mon, 6 Nov 2000, Differentiated Software Solutions Pvt. Ltd wrote:
We want to share a variable across different httpd processes.
Our requirement is as follows :
1. We want to define one variable (which is a large hash).
2. Every httpd should be able to access
Matt Sergeant wrote:
On Thu, 2 Nov 2000, Neil Conway wrote:
I'm writing a web app in mod_perl, using a PostgreSQL database
backend and HTML::Template. In looking for ways to optimize
performance, I noticed that although my code is doing several
(say, 4-5) database queries per
Gunther Birznieks wrote:
At 01:31 AM 10/30/2000 +, Greg Cope wrote:
[...snip...]
And don't forget about the use of DirectoryIndex:
GET /index.html http/1.0
HTTP/1.1 302 Found == here's your redirect
Now this gets through:
GET / http/1.0
Hum ...
Nice one - I
"G.W. Haywood" wrote:
Hi there,
On Mon, 30 Oct 2000, Greg Cope wrote:
In theory there is no reason why this should not be translateable to C,
it is quite small (in perl).
However:
a) I cannot do C (and translating this is beyond me as a learning
exercise at the mo).
Dave Rolsky wrote:
On Mon, 30 Oct 2000, G.W. Haywood wrote:
If you can write Perl you can write C, there are onlya couple of dozen
keywords. It's just that you're not so mollycoddled in C, you're much
closer to the machine, and you have to plan further ahead (instead of
waiting for
Matt Sergeant wrote:
On Wed, 25 Oct 2000, Gerald Richter wrote:
I have three anonations:
1.)
$r-header_out(Location = $r-uri());
Also this code works with most browsers it doesn't conform to the HTTP
specs. A location header must include a host part. Shouldn't be to hard add
darren chamberlain wrote:
Greg Cope ([EMAIL PROTECTED]) said something to this effect:
$r-header_out(Location = 'http://' . $r - server - server_hostname .
$r-uri());
Seems easy - will add it in.
It's not that simple, of course -- you need to maintain port numbers and
all that. I
Bill Moseley wrote:
At 05:24 PM 10/29/00 +, Greg Cope wrote:
Announcing Apache::SessionManager.
Hi Greg,
Here's a couple of other comments.
I should have mentioned that this was my first bit of public code - and
to be gentle ..
Don't forget to keep track of args on redirects
Matt Sergeant wrote:
http://modperl.sergeant.org/ApacheConRep.txt
Enjoy.
Thanks for that Matt, I did enjoy it - IBM's party coninciding with Suns
keynote made me chukle ;-)
I eventually could not make the conferance due to a nasty deadline
Did Doug mention when mod_perl 2.0 would /
Matt Sergeant wrote:
On Sat, 28 Oct 2000, Greg Cope wrote:
Matt Sergeant wrote:
http://modperl.sergeant.org/ApacheConRep.txt
Enjoy.
Thanks for that Matt, I did enjoy it - IBM's party coninciding with Suns
keynote made me chukle ;-)
I eventually could not make
Gerald Richter wrote:
Hi Greg,
I also hot heard anything back from the poeple I sent a copy to, I can
hence only assume that its so good that it's made them speachless ;-)
That's more a matter of time, then a matter of speach...
I am up against a deadline and hence will be a
,
http://www.cpan.org/modules/00modlist.long.html#Part1-Modules:C
Greg Cope [EMAIL PROTECTED] wrote:
Greg Cope wrote:
Dear ALL
I've writen a module that does transparent session management via either
Cookies, Munged URI or Query Args.
It has quite a few options
"Alexander Farber (EED)" wrote:
"David M. Davisson" wrote:
Yes, it works fine. No mods.
From: "David Jourard" [EMAIL PROTECTED]
Has anyone worked with the LWP module under mod_perl and have they found
that it works with no modification.
I would like to ask the same question
Greg Cope wrote:
Dear ALL
I've writen a module that does transparent session management via either
Cookies, Munged URI or Query Args.
It has quite a few options to change the behavour, and appears stable in
my developement environment.
What I suggest is that unless there is a major
Dear ALL
I've writen a module that does transparent session management via either
Cookies, Munged URI or Query Args.
It has quite a few options to change the behavour, and appears stable in
my developement environment.
What I suggest is that unless there is a major objection I call it
returns so the browser hangs but at least the script runs. This is however
rather messy and obviously not a method I want to use.
Not highly recomended but what about an exec / system call from the
startup.pl ? (as root remeber!).
Greg Cope
different children).
The mod_perl guide covers these issues very well.
Hope that helps.
Greg Cope
Thanks a lot for your answers
Andreas
--
Elektronikschule Tettnang http://www.elektronikschule.de/~grupp
Oberhofer S
Matt Sergeant wrote:
On Sun, 17 Sep 2000, Chris Winters wrote:
Hi Greg,
Check out Class::Singleton for this purpose. Works great for me.
.
snippage
One thing C::Singleton misses is a clear_instance method though, which is
pretty much necessary for mod_perl work (I'm
of doing this ? A read of the guide
etc ... has not given me any clues.
Any ideas appreciated.
Greg Cope
### type glob example (off the top of my head - could be wrong)
package child_init;
use vars qw($foo);
$foo = My::db_handler-new();
###
package request_handler;
*db = \$child_init::foo
Perrin Harkins wrote:
On Fri, 8 Sep 2000, Stas Bekman wrote:
As far as benchmarks are concerned, I'm sending one mail after having
displayed the page, so it shoul'dnt matter much ...
Yeah, and everytime you get 1M process fired up...
Nevertheless, in benchmarks we ran we found
.
I am certainly interested as accessing a local cache should be an order
of magnitude faster than asking a buzy DB.
Greg Cope
--
Brian Cocks
Senior Software Architect
Multi-Ad Services, Inc.
[EMAIL PROTECTED]
true path to mod_perl wisdom!), this session module and a DB abstraction
layer (and aparently I should be creating a caching module as well!).
Well any ideas - please let me know.
Greg Cope
A few details below.
AIM:
To manage session ID's between client and server - to get (or optionally
set) a
Jules Cisek wrote:
Sounds interesting.
Is this module just managing the sessionID or also the session data? i.e.
is the manager capable of storing complex objects (via something like
Storable or Data::Dumper)? Will you provide hooks "caching and DB
abstraction" layers so that the
on the ammount of perl
modules it needs to deal with etc ...
Greg Cope
_
Stas Bekman JAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide http://perl.apache.org/guide
mailto
of
time on non-html / dynamic content such as images, style sheets.
Greg Cope
Eric Cholet wrote:
snippage
Apache-push_handlers("PerlTransHandler", \transhandler);
this will trigger the handler for the first request. Nothing
will trigger it for subsequent requests. If you want it to run
for every request, why not just drop the push_handlers call
and add
Matt Sergeant wrote:
On Sun, 13 Aug 2000, Greg Cope wrote:
Apache-push_handlers("PerlTransHandler", \transhandler);
push_handlers is temporary, not permanent. And this line only gets
executed once.
Thanks Mat - Explains everything. I though it might be something
Dear All
I'm writing a Session-Manager (transhandler) i.e deals with getting a
session id from cookies, uri, or query args, and sets one and redirects
if neccessary. This is meant to compliment Apache::Session - in that
you use Apache::Session to store your session data.
Thanks to Mat and Eric
/ feature or just unexplained functionality ?
Greg Cope
in Perl and C'. I must be missing somehing (a clue
for a start ;-).
The obvious answer is that a variable is not being redefined /
initialised.
Any ideas appreciated.
Greg Cope
### some clues below (I hope)
I have these lines in my startup.pl:
use tinasm::Session();
$tinasm::Session::DEBUG = 1
[EMAIL PROTECTED] wrote:
In a message dated 7/30/00 7:33:41 AM Eastern Daylight Time,
[EMAIL PROTECTED] writes:
And, on top of that, I have emilinated session hijacking
(with a Back Button Breaking method).
Can you enlighten me ?
A security method that will redirect the user
list would be initially
heavily trafficed, but be pretty much dead in a few weeks (or days even).
I'd agree.
The list tends to hit a raw never and trafic goes up alot and then its
quite again. I would like to see discussion here as long as its
relevant.
Greg Cope
--
Matt/
Fastnet Software
a session as any user interaction within a
small time frame on thier site so that they can track a users click
though (TMTOWTDI on this front I know).
Please send me any comments.
Thanks again Joshua
Greg Cope
Its a nice feature to get right when its finally working. Enjoy!
--Joshua
[EMAIL PROTECTED] wrote:
I have fully implemented URL munging and Cookie support,
but SERIOUS troubles start to arise when you start adding
the notion of secure sessions.
I have done it, but it isn't pretty. Basically, there
are three types of pages. Normal, Secure, and Secure
(but you
Ian Kallen wrote:
Today, Greg Cope [EMAIL PROTECTED] frothed and...:
I posted about a generic URL mangeler / cookie session handler a few
days ago.
Allthough this is not rocket science - I've writen a URI transhandler
that will put the session id into pnotes, and if cookies are off
jeff wrote:
The mod_perl eagle book has a good section on saving state information
using session ids. And it's not necessarily mod_perl based.
Thanks Jeff.
I've some code based on parts of the state section - speifically the
ideas of URL mungling.
Greg
--
Jeff Saenz
[EMAIL PROTECTED]
Gerald Richter wrote:
I sure think that this template discussion is
intresting, forms autofill is one thing but another
thing that i think would be neat is if the kit could
do session handling, like the Apache::ASP. Can embperl
or mason do this fancy stuff.
Embperl can do
Tom Brown wrote:
On Fri, 28 Jul 2000, Paul J. Lucas wrote:
On Fri, 28 Jul 2000, Denton River wrote:
Its been a long time since i have done a jobb without using sessions. I would
really like to have this feature included in the kit im using and i think
alot of developers are with
Gerald Richter wrote:
Hi Greg,
Can I recommend you write a simple, standalone module that everyone can
use and not just an embperl solution - I'd be willing to help (or write
it) if people send me their wants / ideas, and then flame my code when I
think its ready!
I would be
Gerald Richter wrote:
Hi Greg,
As far as I am aware (please someone prove me wrong!) the does not
appear to be such a module.
I meant the module your are about to write :-)
Please send me ideas / thoughs and I'll have a go.
Embperl currently goes the way that it sets up a
a Session ID (no need
for a User ID as we would not be able to identify a revisit accurately
..).
These ID's could then be used with Apache::Session to store the data
If not why - does everyone roll thier own ? or are there issues that are
not obvious ? Would any be interested in one ?
Greg
Ask Bjoern Hansen wrote:
ps. more pictures of Perl People at http://photo.tomat.dk/tpc4/
now... if you haven't seen a picture of Doug before then you should
take a look at http://photo.tomat.dk/tpc4/dsc_4696.html ... :)
seems to me to involve lots of Beer and and I not sure about the
ue as well.
Greg Cope
Cheers,
Richard
--
Richard Dice * Personal 514 816 9568 * Fax 514 816 9569
ShadNet Creator * http://shadnet.shad.ca/ * [EMAIL PROTECTED]
Occasional Writer, HotWired * http://www.hotwired.com
ways reuse the code in the orginals -
this is after all perl
Thanks again.
Greg Cope
.
Greg Cope.
--
Matt/
Fastnet Software Ltd. High Performance Web Specialists
Providing mod_perl, XML, Sybase and Oracle solutions
Email for training and consultancy availability.
http://sergeant.org | AxKit: http://axkit.org
.). As yet
I've not moved to perl 5.6.
Greg Cope
doug
On Wed, 19 Jul 2000, Keith Kwiatek wrote:
Hello,
I have a production system (solaris 7) with apache 1.3.6 system with
mod_perl.1.19 and mod_ssl.2.3.1
I would like to somehow install the latest apache + mod_perl + mod_ssl
in other words.
LOL
I was thinking that this may be cheaper
Greg Cope
--
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
-
an any one see any major issues with this from a mod_perl prespective ?
If anyones interested in having a look see - drop me a line - as I'll
have to clear it up a bit !
Greg Cope
Gunther Birznieks wrote:
snippage
Thoughts from anyone ?
Yeah, you're being pretty cheap. :)
Well, I'm sort of kidding here. But the reality is that a conference offers
a lot -- not just knowledge (then just attend a tutorial locally at Sun or
someplace) but networking. The
::ShareLite
- if you need to store other things you would need to use Storable, or
Data::Dumper).
I do not use it to store perl modules, only to store all my html
templates.
Does that make sense ?
Greg Cope
Francesco Pasqualini wrote:
is it possible to use IPC sysV to share DBI connection between apache
childs ?
IIRC this is not possible as DBI connections are special magic things -
this was discussed on the list a few months back - but I cannot remember
the name of the thread.
Greg Cope
?
Greg Cope
little common ground on what people use.
Hope that helps
Greg Cope
martin
the list ( Greg
is wondering if he should have gone .. ) ;-).
Being serious - If there is any big news can someone post a summary - so
that those of us not going do not feel completely left out ?
Also - Doug - any more news on mod_perl 2.0 and your DB pooling idea ?
Greg Cope
:
: --
: Matt/
Geoffrey Young wrote:
I think lots of people are hoping libapreq gets integrated into the
mod_perl-2.0 distribution :)
--Geoff
excellent idea - What does everyone else think (Doug ?)
Greg Cope
snippage
and now
usually use the "push" onto array to prepare content - Thanks Stas.
Who does everyone else do it ? Can this type of operation (that everyone
must do at some time) be optimised as aggressively as some of the others ?
Yet still keep the abstraction between design and content.
Greg C
Perrin Harkins wrote:
On Thu, 8 Jun 2000, Greg Cope wrote:
My original question was not related to templates (I'll use embperl for
that)
Well, I'm confused now. You'll use Embperl for templates but you're not
using Embperl for templates?
I use Embperl when I want a templating system
I am already connect and I ignoring the
: disconnect so that I can keep that connection persistent"
:
: Hope that helps
:
: Greg Cope
:
: :
: : --James
: : ---
: : ASCII Ribbon campaign against HTML E-Mail / \
: :
:
:
.
i.e it would be great to have such a thing as it would complement
Apache::Request and Apache::Cookie.
ps How are you getting on with the eagerly awaited mod_perl-dev-1.99 ?
Just my 2 pence worth of a feature request
Greg Cope
(who should get his head round learning C one day)
akes over does it have
the same IP based session info (probably not - but could be wrong ...) -
hence another potential source of failure.
If your model can accept this then fine - but this would not work in a
{few|many} ecomerce apps as session management is critical.
What do you think ?
Greg Cope
From: "Perrin Harkins" [EMAIL PROTECTED]
To: "Greg Cope" [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: 13 May 2000 01:57
Subject: Re: speed up/load balancing of session-based sites - POT
: On Sat, 13 May 2000, Greg Cope wrote:
: : Likewise with sessions. Even if you
be easily writen..).
Greg Cope
bits snipped
Combine with a garbage collector thread this would be excellent as it would
seriously reduce memory consumption (one of mod_perl's present weaknesses)
and result in IMHO the best architecture between all the JSP/Servlets/PHP
combos.
Just thinking aloud - so I could have got this completely wrong!
Greg
- Original Message -
From: "Gerald Richter" [EMAIL PROTECTED]
To: "Greg Cope" [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: 23 April 2000 13:46
Subject: RE: mod_perl-1.99_01-dev [ - possibly OT ]
I though the new apache model was a hybrid were there were
- Original Message -
From: "Gerald Richter" [EMAIL PROTECTED]
To: "Greg Cope" [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: 22 April 2000 13:36
Subject: RE: mod_perl-1.99_01-dev
Does this mean that we {will|may} be able to use the interpreter pool
to
set up X Pe
yet highly productive event than
anything flashy.
: for the conference facilities of a University than those of a hotel. If
: ever there was something calling for the "KISS" mantra, it was this con.
:)
agreed again on the KISS front
Greg Cope
: Would we appreciate logistial support from
| perl hacker | [EMAIL PROTECTED]
Ah - iii.co.uk
Greg Cope
Kees Vonk 7249 24549 wrote:
I just ran into a problem I don't understand:
I was testing a PerlAccessHandler on a cgi (not modperl)
directory like this:
Directory /my/user/directory
SetHandler perl-script
PerlAccessHandler My::Access
/Directory
What about the normal cgi stuff
89 matches
Mail list logo