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
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
...
-Original Message-
From: Stas Bekman [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 08, 2000 3:51 PM
To: Jerrad Pierce
Cc: mod_perl list
Subject: RE: Concurrenty access to a log file!!!
On Fri, 8 Dec 2000, Jerrad Pierce wrote:
If you use Apache's logging facilities (say for level
debug
Am I losing my mind or is there a mod_motd for Apache floating around?
I haven't been able to find it anywhere, but I'm sure I've seen it.
(Checked Freshmeat, search engines, and Apache module repository)
Thanks
-
To
It's also dog slow.
Has too many requirements
(why should I *have* to install their Python on win32 if I'm a perl
developer? or vice versa)
Not terribly useful (very little syntax highlighting, little tabbing
support).
And the fact that it assumes you have perl 5.6, and whines when you don't.
That's the one that (used to be)|is slow...
-Original Message-
From: Aaron Johnson [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 29, 2000 9:26 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: WebDAV support in mod_perl
Is the HTTP::DAV module of any use? I just ran
Interesting idea. Hadn't though of it.
Can't say I'd be able to commit much, more of a lurker.
But you have my moral support!
One thing though. last time I used the DAV module it was deathly slow.
That may have been fixed...
Another thought, is if you add in file support, that you could
heed
Perhaps you ought to gfind a way to use Safe; then?
-Original Message-
From: Richard L. Goerwitz [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 16, 2000 9:09 AM
To: mod_perl list
Subject: security suggestion
At Doug's suggestion I'm moving a brief conversation we've had
in
Yeah that was it
But you could probably even use Memoize for somehting like this?
-Original Message-
From: Peter Haworth [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 03, 2000 12:43 PM
To: Jerrad Pierce; 'Neil Conway'; ModPerl List
Subject: RE: dynamic vs. mostly static data
There is a query caching module someone posted here redently...
Or was it proposed and beta-ish?
Another thing you might consider doing is having a cron job do your periodic
(10 min.)
fetch and store it as a file somewhere... Then use SSI or some more
mod_perl-ish means of including this static
Reading the directions ;-)
Apache::Session doesn't do any deep checking, if a top level doesn't value
doesn't change
it may not detect the change.
This is why your workaround works...
The offically recommend workaround (I believe) is to keep a timestamp as a
top level value in the hash...
Is there anyway to fool perl into letting you do a:
use Foo ($bar, 'baz', 'quux');
??
Foo is only getting 'baz' and 'quux', the value of $bar is lost in the
ether.
I have tried many ways of trying to sneak it past but none seems to work...
Thanks
[mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 28, 2000 10:53 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: OT: use problem (need interpolation)
From: Jerrad Pierce [EMAIL PROTECTED]
Is there anyway to fool perl into letting you do a:
use Foo ($bar, 'baz', 'quux');
'use
No... that opens a handle to ehir INPUT
output is
open(OUT, "magic_open |");
Or you could just slurp in a string with
$_ = `normal_open`;
-Original Message-
From: Vsevolod Ilyushchenko [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 28, 2000 5:17 PM
To: Doug MacEachern
Cc: [EMAIL
This was covered previously, perhaps it should be covered in a FAQ?
If your NT PDC is slow, occasionally an authentication attempt will take too
long,
and return a status, which the module mistakenly regards as an error and
reprompts
for authentication information
-Original Message-
Yes.
--begin hello.asp
%= "Hello World" %
--end hello.asp
-Original Message-
From: Jason [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 13, 2000 3:04 PM
To: 'Jerrad Pierce'
Cc: [EMAIL PROTECTED]
Subject: RE: How can I tell if Apache::ASP is available?
Thanks
Cookies cannot be shared across domains (except the supercookie, due to a
bug in IE and Netscape? See http://cookiecentral.com for more info)
Cookies are bound to either a domain (domain.com) or a FQDN host.domain.com
Netscape sees everything as a FQDN if you select originating server only.
No. But you can create subroutines and call them...
Or setup an include which defines various things to be subsitiuted...
-Original Message-
From: Issam W. Alameh [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 08, 2000 1:35 PM
To: Modperl list
Subject: init in Apache::ASP
Hello
Try this:
http://webtechniques.com/archives/2000/09/yunker/
and perhaps this:
http://webtechniques.com/archives/2000/09/lagon/
-Original Message-
From: Matt Sergeant [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 29, 2000 9:16 AM
To: Francesco Pasqualini
Cc: [EMAIL PROTECTED]
Subject:
Is it just me or has there been discussionof something along the lines of
Apache::Config here before? Where might I accquire it? I could not find it
on CPAN...
So what happened to the VB parser? Is it going forward?
Not
with so little information...
Afew ideas though:
I assume you are speaking of
Apache::Session?
Are you adding values lower than the
top level? The man page clearly states no deep checking is done to determine if
modifications have been made...
Have you tried explicitly
untie'ing?
This already exists, can't get more canned than that.
checkout mod_layout here:
http://www.tangent.org/mod_layout/
Granted it's not a perl module, but it works and is rather customizable...
-Original Message-
From: Alex Menendez [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 16,
F5 makes load balancers
-Original Message-
From: ___cliff rayman___ [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 09, 2000 1:18 PM
To: modperl
Subject: Re: Proxy setup w/ SSL
siberian wrote:
. In the F5 world KeepAlives destroy rules based load
sorry - but what's an F5 box?
2) The name change should happen. However, there is already a
Persistent:: set of classes, that is somewhat similar to
Apache::Session.
For example, it implements LDAP, MySQL, Oracle, Sybase, mSQL, and File
storage. These classes use all object calls
e.g. $persistent-add_attribute(). So the
Yes, a cookie-munging facility would be nice
-Original Message-
From: Drew Taylor
To: David Hodgkinson
Cc: [EMAIL PROTECTED]
Sent: 7/28/2000 10:25 AM
Subject: Re: Templating System
David Hodgkinson wrote:
Drew Taylor [EMAIL PROTECTED] writes:
While I would love to have the
So quit whining ask him to allow LGPL.
I've found most GPL authors are more than willing to allow LGPL...
-Original Message-
From: Matt Sergeant [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 27, 2000 1:22 PM
To: Paul J. Lucas
Cc: [EMAIL PROTECTED]
Subject: Re: Templating system
With all due respect, what the hell are you smoking?
PHP is an ENTIRELY different beast from perl, or mod_perl.
http://php.net has absolutely nothing to do with Larry Wall
-Original Message-
From: Erich L. Markert [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 26, 2000 12:41 PM
It's being sent as a content-type that the web-server/browser doesn't know
how to handle
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 25, 2000 5:37 PM
To: [EMAIL PROTECTED]
Subject: save as
Hello folks,
This may be a weak
But nobody is typically a rather priveleged account...
-Original Message-
From: Perrin Harkins [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 11, 2000 2:45 PM
To: Alexei V. Barantsev
Cc: [EMAIL PROTECTED]
Subject: Re: Why mod_perl does not like File::Recurse module?
On 11 Jul
Umm this list is for perl as a module in apache
not modules for perl...
However, .xs is a special blend of C for writing perl modules
try man perlxs
-Original Message-
From: Sam Xie [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 05, 2000 6:06 PM
To: [EMAIL PROTECTED]
Subject:
Has anybody started/interested in an imnplementation using DBD::RAM?
There was a recent article in WebTechniques comparing the two
http://www.webtechniques.com/archives/2000/05/infrrevu/
-Original Message-
From: Scott Thomason [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 21, 2000 4:56 PM
To: [EMAIL PROTECTED]
Subject: re: mod_perl vs. FastCGI
You
Apache::Authen?
As for your method, 401 username password stuff is always accessible via:
$ENV{AUTHORIZATION}
o _
/|/ | Jerrad Pierce \ | __|_ _|
/||/ http://pthbb.org
This is not for CGI however, the problem is simple.
EOF must be at the beginning of the line, no white space in front of it
o _
/|/ | Jerrad Pierce \ | __|_ _|
/||/ http://pthbb.org
A server issues Set-Cookie: a client replies with Cookie:
o _
/|/ | Jerrad Pierce \ | __|_ _|
/||/ http://pthbb.org . | _| |
\|| _.-~-._.-~-._.-~-._@" _|\_|___|___|
-Original Message-
From: Drew Taylor [mailto:[
What about heredoc with the magical @{} technique for interpolating
functions?
or Text::iPerl ? I'd be interested in knwing how they stack up
o _
/|/ | Jerrad Pierce \ | __|_ _|
/||/ http://pthbb.org . | _| |
\|| _.-~-._.-~-._.-~-._@" _|\_|___|___|
you can use sort, of the values are hashes or indexes:
foreach ( sort { $a-{name} cmp $b-{name} keys %hash )
or
foreach ( sort { $a-[0] cmp $b-[0] keys %hash )
o _
/|/ | Jerrad Pierce \ | __|_ _|
/||/ http://pthbb.org
I think he means that the session is removed from the server, but the sesion
ID (cookie) was not set to expire...
o _
/|/ | Jerrad Pierce \ | __|_ _|
/||/ http://pthbb.org
Anybody know why Apcahe::Session::Lock::File.pm uses lock FILES instead of
flocking the file? It seems to be causing problems with rapdifre access...
o _
/|/ | Jerrad Pierce \ | __|_ _|
/||/ http://pthbb.org . | _| |
\|| _.-~-._.-~-._.-~-._@" _|\_|___|___|
My bad, it does seem to be using flock, but it still seems to be
the consistent point of failure.. and I am untieing immediately after use
o _
/|/ | Jerrad Pierce \ | __|_ _|
/||/ http://pthbb.org
And the browser gets the cookie, but it does not redirect...
It displayes the Locaiton as the document content
o _
/|/ | Jerrad Pierce \ | __|_ _|
/||/ http://pthbb.org . | _| |
\|| _.-~-._.-~-._.-~-._@" _|\_|___|___|
Yeah, and I got it towork, turns out I needed an absolute path too.
I saw that answer but since the reasn that was given is because it's in
Apache,
it didn't seem to apply. I guess the real reason is brower's are just too
brain
dead to handle it...
o _
/|/ | Jerrad Pierce
http://www.virtualschool.edu/lang/perl/CuteTricksPerlApache.html#Logging_to_
syslog
o _
/|/ | Jerrad Pierce \ | __|_ _|
/||/ http://pthbb.org . | _| |
\|| _.-~-._.-~-._.-~-._@" _|\_|___|___|
) line 2. --
thanks!
o _
/|/ | Jerrad Pierce \ | __|_ _|
/||/ http://pthbb.org . | _| |
\|| _.-~-._.-~-._.-~-._@" _|\_|___|___|
45 matches
Mail list logo