Re: Possible module

2002-06-10 Thread Andrew McNaughton
Even without modperl, There's More Than One Way To Do It. I like mod_rewrite for this sort of task. See the examples for Virtual host configurations in the 'Apache URL Rewriting Guide'. If this is all you're using mod_perl for, then mod_rewrite is likely to be a better, slimmer option than mod

Re: Invoke PHP scripts?

2002-05-29 Thread Andrew McNaughton
On Wed, 29 May 2002, Thomas Klausner wrote: > Hi! > > On Tue, May 28, 2002 at 09:48:14PM -0600, Ryan Thompson wrote: > > I'm developing a large-ish web site in which I would like to use a > > combination of mod_perl (90%) and PHP (10%). I have run into a > > roadblock trying to include the outp

Re: mod-perl_2.0

2002-05-28 Thread Andrew McNaughton
On Tue, 28 May 2002, Kent, Mr. John wrote: > So how does this work now? If it doesn't or it would take too much > time to explain it, I certainly can understand and will simply load and > continue to use Apache 1.3.24 and mod-perl 1.26 Things may have changed, in which case someone will gains

Re: Configuring mod_perl on Debian

2002-05-28 Thread Andrew McNaughton
On 2002.05.28 04:03 Jeff A wrote: > > > > > From: Andrew McNaughton [mailto:[EMAIL PROTECTED]] > > > Sent: 27 May 2002 21:02 > > > To: Ian D. Stewart > > ... > > > You miss most of the advantage of debian's package management > > > if you start bu

Re: [OT] Re: "back-tracking"

2002-05-27 Thread Andrew McNaughton
On Tue, 28 May 2002, Ron Savage wrote: > On Tue, 28 May 2002 04:52:48 +1200 (NZST), Andrew McNaughton wrote: > [snip] That's not me below, I quoted Lucas M. Saud <[EMAIL PROTECTED]>: > >>i'm writting a module to highlighting of Perl syntactical > >>

Re: Configuring mod_perl on Debian

2002-05-27 Thread Andrew McNaughton
My guess is that some error message is terminating your headers before the content-type is sent. stdout and stderr get buffered independently so the stderr can come out of your script first, even if it's generated later in your code. * Set $|=1; as the first thing you do in your test script, im

Re: Configuring mod_perl on Debian

2002-05-27 Thread Andrew McNaughton
Sounds to me like you're not setting your content-type correctly for some reason. Have a look at the headers being sent out. It's either not sending this header, or it's sending something the browser doesn't know what to do with. Andrew On Sun, 26 May 2002, Ian D. Stewart wrote: > Date: Su

Re: "back-tracking"

2002-05-27 Thread Andrew McNaughton
c regexes which nedit takes. It's acceptably accurate for most purposes, and it's fast. Andrew McNaughton On Mon, 27 May 2002, Lucas M. Saud wrote: > Date: Mon, 27 May 2002 12:43:17 -0300 > From: Lucas M. Saud <[EMAIL PROTECTED]> > To: "[EMAIL PROTECTED]" <

Re: Proxied mod_perl server problem

2002-05-24 Thread Andrew McNaughton
g an HTTP/1.1 upstream is just plain incorrect. It denies the upstream server the opportunity to correctly select a whole range of headers that have changed between protocol versions. Also, what on earth is going on with MSIE 6.0 regressing to using HTTP/1.0 requests? Andrew McNaughton On Fri

Re: Desperate for ePerl fix on 5.6.1

2002-05-12 Thread Andrew McNaughton
it looks like that's probably not necessary any more. It looks like you should be able to just set these in /etc/make.conf Andrew McNaughton

Re: how to see /server-status when at MaxClients?

2002-05-11 Thread Andrew McNaughton
On Fri, 10 May 2002, John E. Leon Guerrero wrote: > Date: Fri, 10 May 2002 16:54:47 -0700 > From: John E. Leon Guerrero <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: how to see /server-status when at MaxClients? > > if a job hangs (due to database locking for instance), then a mod_perl

Re: Memory explodes loading CSV into hash

2002-04-28 Thread Andrew McNaughton
most of your data stays on disk, and you access it in much the same way as before through a hash of arrays. Andrew McNaughton

mod_bandwith like mechanism implemented in modperl?

2002-04-27 Thread Andrew McNaughton
se as a basis for implementing this sort of policy? Andrew McNaughton

Re: File::Redundant

2002-04-25 Thread Andrew McNaughton
#x27;s even replaced a fair portion of the times where I would have use cp because of it's capability to define exclusion lists when doing a recursive copy of a directory. Andrew McNaughton

Re: Installing mod_perl 1.26 - URI::URL error

2002-04-23 Thread Andrew McNaughton
appen? > > > > Well I had this problem with lwp 5.64 and URI 1.09, after upgrading to > > libwww-perl 5.64 and URI 1.1 the problem has disappeared. > > Maybe with URI 1.1 but not with the current 1.11 Perhaps you have two different URI modules on your system? Is your mod_perl installation using the same library directories (@INC) as you used when you did the "force install"? This can happen if you update your system perl after installing mod_perl. Andrew McNaughton

Re: two distinct installations

2002-04-23 Thread Andrew McNaughton
rs as appropriate. That said, I'm not sure why you'd want to do this. Usually the things you need to run as root are not the things you need mod_perl's speed for. I suspect you might be better to look at whether you could use cgi scripts run through a suid wrapper. Andrew McNaughto

Re: authentication via login form

1999-10-10 Thread Andrew McNaughton
You must check the expiry time for every authenticated hit. So what is the security advantage of mangled URLs over cookies for authentication? Andrew McNaughton -- Andrew McNaughton +64 4 389 6891 [EMAIL PROTECTED] http://www.scoop.co.nz/