barries wrote:
On Thu, Jul 05, 2001 at 04:03:00PM +0100, Paul Sharpe wrote:
barries wrote:
On Thu, Jul 05, 2001 at 03:21:12PM +0100, Paul Sharpe wrote:
Here's my handler...
package Foo::Test;
use strict;
use warnings;
use Apache::Constants qw(:common HTTP_OK);
On Fri, Jul 06, 2001 at 11:53:52AM +0100, Paul Sharpe wrote:
Presumably $s-finfo would be more efficient?
Yes, if it's stable for your config. I've had coredumps with it in the
past some time and have since stayed away from it by habit. 'course
that was several versions of mod_perl and perl
-Original Message-
From: barries [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 06, 2001 9:38 AM
To: Paul Sharpe
Cc: [EMAIL PROTECTED]
Subject: $r-finfo stability? [Was: lookup_uri() returns 200 when 404
expected]
[snip]
Anyone else have good/bad experience w/ $r-finfo
On Fri, Jul 06, 2001 at 09:54:12AM -0400, Geoffrey Young wrote:
-Original Message-
From: barries [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 06, 2001 9:38 AM
To: Paul Sharpe
Cc: [EMAIL PROTECTED]
Subject: $r-finfo stability? [Was: lookup_uri() returns 200 when 404
-Original Message-
From: barries [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 06, 2001 10:15 AM
To: Geoffrey Young
Cc: [EMAIL PROTECTED]
Subject: Re: $r-finfo stability? [Was: lookup_uri() returns 200 when
404 expected]
On Fri, Jul 06, 2001 at 09:54:12AM -0400, Geoffrey
Here's my handler...
package Foo::Test;
use strict;
use warnings;
use Apache::Constants qw(:common HTTP_OK);
sub handler {
my $r = shift;
my $uri = 'foo.html';
$r-content_type('text/plain');
$r-send_http_header;
$r-lookup_uri($uri);
$r-print(lookup_uri($uri) status = ,$r-status,\n);
On Thu, Jul 05, 2001 at 03:21:12PM +0100, Paul Sharpe wrote:
Here's my handler...
package Foo::Test;
use strict;
use warnings;
use Apache::Constants qw(:common HTTP_OK);
sub handler {
my $r = shift;
my $uri = 'foo.html';
$r-content_type('text/plain');
$r-send_http_header;
barries wrote:
On Thu, Jul 05, 2001 at 03:21:12PM +0100, Paul Sharpe wrote:
Here's my handler...
package Foo::Test;
use strict;
use warnings;
use Apache::Constants qw(:common HTTP_OK);
sub handler {
my $r = shift;
my $uri = 'foo.html';
$r-content_type('text/plain');
On Thu, Jul 05, 2001 at 04:03:00PM +0100, Paul Sharpe wrote:
barries wrote:
On Thu, Jul 05, 2001 at 03:21:12PM +0100, Paul Sharpe wrote:
Here's my handler...
package Foo::Test;
use strict;
use warnings;
use Apache::Constants qw(:common HTTP_OK);
sub handler {
my
barries wrote:
On Thu, Jul 05, 2001 at 04:03:00PM +0100, Paul Sharpe wrote:
barries wrote:
On Thu, Jul 05, 2001 at 03:21:12PM +0100, Paul Sharpe wrote:
Here's my handler...
package Foo::Test;
use strict;
use warnings;
use Apache::Constants qw(:common HTTP_OK);
On Thu, Jul 05, 2001 at 04:57:13PM +0100, Paul Sharpe wrote:
What would happen if the URI translated to something other than a file
e.g. CGI?
You get the filename of the script.
- Barrie
11 matches
Mail list logo