Re: Selectively writing to the access log

2001-10-19 Thread Mark Doyle
How about adding a custom header with the format you want and then logging that with a custom log format? Cheers, Mark On Friday, October 19, 2001, at 04:09 PM, Rodney Broom wrote: My ultimate goal is this: I have a silly redirector script that acts as a logging hook for folks clicking

Re: Curious About Require

2001-06-20 Thread Mark Doyle
Greetings, require will only happen once per perl process and since mod_perl is essentially a single perl process, the file is only require'd for the first request. You can get around this by deleting the file from the %INC hash which keeps track of which files you have loaded. Something like:

Re: Curious About Require

2001-06-20 Thread Mark Doyle
Greetings, On Wednesday, June 20, 2001, at 12:45 PM, Stas Bekman wrote: Ooops, gotta go to sleep. Your suggestion, Mark, will work :) but only in Registry/PerlRun which executes BEGIN on every request. Sorry about my previous post :( But if you delete and reload the file on every

RE: Apache::Reload and environment variables

2000-12-18 Thread Mark Doyle
On Monday, December 18, 2000, at 09:23 AM, Geoffrey Young wrote: well, it's not the same - what he means is for you to export ORACLE_HOME in /etc/passwd or somesuch DBD::Oracle needs ORACLE_HOME set at compile time - for Registry scripts its ok to PerlSetEnv so that when your .cgi

Apache::Reload and environment variables

2000-12-15 Thread Mark Doyle
Greetings, I tried using Apache::Reload: PerlSetEnv ORACLE_HOME /oracle/app/oracle/product/8.0.3/ PerlModule Apache::DBI [...] PerlModule Apache::Reload PerlInitHandler Apache::Reload PerlSetVar ReloadAll Off but when I do, the error log gets filled with "ORACLE_HOME not set!" Only one module

Re: Apache::Reload and environment variables

2000-12-15 Thread Mark Doyle
On Friday, December 15, 2000, at 04:01 PM, Jimi Thompson wrote: If the variable ORACLE_HOME doesn't change why not just set it as an environment variable outside the program and export it? PerlSetEnv ORACLE_HOME /oracle/app/oracle/product/8.0.3/ PerlModule Apache::DBI [...] PerlModule

Re: mod_perl IPC under Solaris 7

2000-12-08 Thread Mark Doyle
nfo_semmnu=200 to /etc/system. Cheers, Mark Mark Doyle Manager, Project Development The American Physical Society - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [ANNOUNCE] HTTP::GHTTP

2000-11-22 Thread Mark Doyle
On Tuesday, November 21, 2000, at 06:28 PM, Matt Sergeant wrote: HTTP::GHTTP is a lightweight HTTP client library based on the gnome libghttp library. It offers a pretty simple to use API for doing HTTP requests. This can be useful under mod_perl because the alternatives (e.g. LWP) are

Re: [ANNOUNCE] HTTP::GHTTP

2000-11-22 Thread Mark Doyle
On Wednesday, November 22, 2000, at 10:44 AM, Matt Sergeant wrote: On Wed, 22 Nov 2000, Mark Doyle wrote: It should work pretty much anywhere (probably even windows if you can get past the configure stage). Its part of the gnome project, so you can get it from http://www.gnome.org

Re: [ANNOUNCE] HTTP::GHTTP

2000-11-22 Thread Mark Doyle
On Wednesday, November 22, 2000, at 12:43 PM, Nathan Torkington wrote: Mark Doyle writes: Starting with www.gnome.org led to RPM hell and loading a lot more than just this single library. This: ftp://ftp.gnome.org/pub/GNOME/stable/sources/libghttp/ will hold the latest

Re: [OT] amp; in URLs (was: Re: Templating System)

2000-07-28 Thread Mark Doyle
ople don't know they have to escape the ampersands and we didn't want to risk people's links breaking in the future because of some new entity in the HTML spec. Cheers, Mark Mark Doyle Manager, Product Development The American Physical Society

Re: IPC::ShareLite and garbage collection

2000-01-11 Thread Mark Doyle
From: "Dave Hodson" [EMAIL PROTECTED] Date: 2000-01-11 09:12:32 -0500 I'm trying to implement IPC::ShareLite on a Red Hat Linux box. I've successfully stored/fetched the data I want between proc's, and am now attempting to "clean up" once the httpd is killed/restarted. Anyone has a good