RE: Concurrenty access to a log file!!!

2000-12-08 Thread Jerrad Pierce
ypical x86... >-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: > >> I

RE: STDERR

2000-12-08 Thread Jerrad Pierce
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 cene

RE: Concurrenty access to a log file!!!

2000-12-08 Thread Jerrad Pierce
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 PROT

[OT] mod_motd

2000-12-07 Thread Jerrad Pierce
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 unsubscribe

RE: mod_perl advocacy project resurrection

2000-12-06 Thread Jerrad Pierce
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. Tho

RE: WebDAV support in mod_perl

2000-11-30 Thread Jerrad Pierce
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 ju

RE: WebDAV support in mod_perl

2000-11-29 Thread Jerrad Pierce
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 Use

RE: security suggestion

2000-11-16 Thread Jerrad Pierce
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 >i

RE: dynamic vs. mostly static data

2000-11-03 Thread Jerrad Pierce
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:

RE: dynamic vs. mostly static data

2000-11-02 Thread Jerrad Pierce
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 c

Apache::GzipChain

2000-10-28 Thread Jerrad Pierce
Is anybody using GzipChain? Is there some known means of verifying that it is in fact working properly? (Other than watching an unreliable browser progress bar)

RE: Apache 1.3.14 and Mod_Perl

2000-10-17 Thread Jerrad Pierce
Off hand my guess would be that it's running on a name based virtuakhost, and wget is not HTTP/1.0 compliant? >-Original Message- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] >Sent: Tuesday, October 17, 2000 4:01 PM >To: [EMAIL PROTECTED] >Subject: Re: Apache 1.3.14 and Mod_Perl >

RE: Apache::Session - kludgy workaround?

2000-10-04 Thread Jerrad Pierce
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... >---

RE: open ">-" does not work

2000-09-28 Thread Jerrad Pierce
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: [E

RE: OT: use problem (need interpolation)

2000-09-28 Thread Jerrad Pierce
ssage- >From: David Mitchell [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

OT: use problem (need interpolation)

2000-09-28 Thread Jerrad Pierce
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

RE: Can't locate object method "No" via package "such"

2000-09-25 Thread Jerrad Pierce
man null on Linux you need to do: mknod -m 666 /dev/null c 1 3 >-Original Message- >From: Doug MacEachern [mailto:[EMAIL PROTECTED]] >Sent: Monday, September 25, 2000 3:39 PM >To: Alan E. Derhaag >Cc: [EMAIL PROTECTED] >Subject: Re: Can't locate object method "No" via package "such" >

RE: Why it prompt Multiple time for Authentication ???

2000-09-25 Thread Jerrad Pierce
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-

RE: Authentication and Frontpage webs

2000-09-13 Thread Jerrad Pierce
My advice, thrash FrontPage and use mod_dav (http://wevbdav.org) FrontPage2000 can interact with it just fine.. And users who installed WebFolders with IE 5 can use it more or less as a network mounted share. >-Original Message- >From: Rafael Caceres [mailto:[EMAIL PROTECTED]] >Sent: Wedn

RE: How can I tell if Apache::ASP is available?

2000-09-13 Thread Jerrad Pierce
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 i

RE: How can I tell if Apache::ASP is available?

2000-09-13 Thread Jerrad Pierce
prompt# perl use Apache::ASP; print "Hello World\n"; ^D If you get no errors it's there >-Original Message- >From: Jason [mailto:[EMAIL PROTECTED]] >Sent: Wednesday, September 13, 2000 2:28 PM >To: [EMAIL PROTECTED] >Subject: How can I tell if Apache::ASP is available? > > >This is the o

RE: init in Apache::ASP

2000-09-08 Thread Jerrad Pierce
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 > > >He

RE: [OT?] Cross domain cookie/ticket access

2000-09-08 Thread Jerrad Pierce
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. This

RE: multilanguage site

2000-08-29 Thread Jerrad Pierce
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] >Subj

Apache::Config

2000-08-24 Thread Jerrad Pierce
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...

VB parser

2000-08-23 Thread Jerrad Pierce
So what happened to the VB parser? Is it going forward?

RE: Adding values to Session file

2000-08-18 Thread Jerrad Pierce
Not with so little information...   A few 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 u

RE: canned footers

2000-08-16 Thread Jerrad Pierce
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,

RE: Proxy setup w/ SSL

2000-08-09 Thread Jerrad Pierce
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'

RE: was Re: template kit..... - now session handling

2000-08-02 Thread Jerrad Pierce
>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().

RE: Apache::Include requires ExecCGI on doc root?

2000-08-01 Thread Jerrad Pierce
http://perl.apache.org/dist/cgi_to_mod_perl.html Also uses a +ExecCGI for the location, but not the file. It would be nice if that page documented what the + was for at least; if not the Apache documentation, though there is no mention of it in http://www.apache.org/docs/mod/core.html#opt

RE: Templating System

2000-07-28 Thread Jerrad Pierce
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

RE: Templating system

2000-07-27 Thread Jerrad Pierce
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 sys

RE: mod_eprl or PHP

2000-07-26 Thread Jerrad Pierce
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 >

RE: save as

2000-07-25 Thread Jerrad Pierce
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

RE: Why mod_perl does not like File::Recurse module?

2000-07-11 Thread Jerrad Pierce
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

RE: What is *.xs file?

2000-07-05 Thread Jerrad Pierce
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

Apache::Session

2000-06-28 Thread Jerrad Pierce
Has anybody started/interested in an imnplementation using DBD::RAM?

RE: mod_perl vs. FastCGI

2000-06-21 Thread Jerrad Pierce
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 sa

RE: sendMail in cgi program

2000-06-12 Thread Jerrad Pierce
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

RE: Help writting a module for Apache.

2000-06-12 Thread Jerrad Pierce
Then you haven't gotten a username and password back, you should get basic authinfo Where authinfo is a b64 encoded string that is username:password o _ /|/ | Jerrad Pierce \ | __|_ _| /||/ http://pthb

RE: Help writting a module for Apache.

2000-06-12 Thread Jerrad Pierce
Apache::Authen? As for your method, 401 username password stuff is always accessible via: $ENV{AUTHORIZATION} o _ /|/ | Jerrad Pierce \ | __|_ _| /||/ http://pthbb.org

RE: Apache, Mod_Perl and Custom Access/Authentication

2000-06-08 Thread Jerrad Pierce
A server issues Set-Cookie: a client replies with Cookie: o _ /|/ | Jerrad Pierce \ | __|_ _| /||/ http://pthbb.org . | _| | \|| _.-~-._.-~-._.-~-._@" _|\_|___|___| > -Original Message- > From: Drew Taylor [ma

RE: [performance/benchmark] printing techniques

2000-06-07 Thread Jerrad Pierce
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 . | _| | \|| _.-~-._.-~-._.-~-._@" _|\_|___|___|

RE: Data structure question

2000-06-06 Thread Jerrad Pierce
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

RE: Apache::Session::File

2000-06-02 Thread Jerrad Pierce
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

Apache::Session::File

2000-06-02 Thread Jerrad Pierce
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 . | _| | \|| _.-~-._.-~-._.-~-._@" _|\_|___|___|

RE: cleaning old Apache::Session's

2000-06-02 Thread Jerrad Pierce
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

RE: Wierd problem with redirect

2000-05-30 Thread Jerrad Pierce
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 _ /|/ |

RE: Wierd problem with redirect

2000-05-30 Thread Jerrad Pierce
r 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 . | _| | \|| _.-~-._.-~-._.-~-._@" _|\_|___|___|

RE: Consolidated Log Files

2000-05-08 Thread Jerrad Pierce
http://www.virtualschool.edu/lang/perl/CuteTricksPerlApache.html#Logging_to_ syslog o _ /|/ | Jerrad Pierce \ | __|_ _| /||/ http://pthbb.org . | _| | \|| _.-~-._.-~-._.-~-._@" _|\_|___|___|

php And Apache::ASP

2000-04-27 Thread Jerrad Pierce
lation aborted at (eval 11) line 2. <--> thanks! o _ /|/ | Jerrad Pierce \ | __|_ _| /||/ http://pthbb.org . | _| | \|| _.-~-._.-~-._.-~-._@" _|\_|___|___|