;
}
is probably a bit faster as:
eval { require Time::HiRes };
if (!$@)
{
$Thrash::UseTimeHiRes = 1;
}
and neater as:
use constant UseTimeHiRes = eval { require Time::HiRes };
Thanks for the syntax tips. I'll change my other code to use them. ^_^
--
. Trevor Phillips - http
On Friday 13 June 2003 23:00, you wrote:
[ please keep it on the list ]
Oops. Sorry. Used to mail lists auto-replying to the list. ^_^;;
On Fri, 2003-06-13 at 03:23, Trevor Phillips wrote:
I don't think so. Pretty standard Debian install, Perl 5.6.1...
And you compiled both mod_perl
...
--
. Trevor Phillips - http://jurai.murdoch.edu.au/ .
: Web Technical Administrator - [EMAIL PROTECTED] :
| IT Services- Murdoch University |
| On nights
On Wednesday 18 June 2003 11:30, Trevor Phillips wrote:
On my main dev box, ab gives an average of 8.8secs for the mod_perl run,
and 7.2secs for the FastCGI run. The internal timer and printed output
reflects these results too.
Oops! The internal timer wasn't accurate: Swap lines 35 36
be tempted to leave this app as a FastCGI - except for some places
we use it we stack with other mod_perl content handlers. And I'm just baffled
at this particular performance problem, since I have been through the
standard things to check for.
--
. Trevor Phillips - http
the general configuration or
environment of mod_perl which may be causing this strange situation?
--
. Trevor Phillips - http://jurai.murdoch.edu.au/ .
: Web Technical Administrator - [EMAIL PROTECTED] :
| IT Services
under
development, even though it's used in production-level sites where I work.
--
. Trevor Phillips - http://jurai.murdoch.edu.au/ .
: Web Technical Administrator - [EMAIL PROTECTED] :
| IT Services- Murdoch University
off more than I
have time to chew if there's a nicer solution.
Any suggestions?
--
. Trevor Phillips - http://jurai.murdoch.edu.au/ .
: Web Technical Administrator - [EMAIL PROTECTED] :
| IT Services- Murdoch University
On Wednesday 11 June 2003 05:13, you wrote:
Trevor Phillips wrote:
I'm quite suprised at the limited amount of custom DAV server uses. I
mean, here's a protocol for editing content over HTTP, which to me
screams as an ideal solution for, say, editing full HTML content within a
DB/CMS.
I
off more than I
have time to chew if there's a nicer solution.
Any suggestions?
--
. Trevor Phillips - http://jurai.murdoch.edu.au/ .
: Web Technical Administrator - [EMAIL PROTECTED] :
| IT Services- Murdoch University
.
--
. Trevor Phillips - http://jurai.murdoch.edu.au/ .
: CWIS Systems Administrator - [EMAIL PROTECTED] :
| IT Services - Murdoch University |
--- Member of the #SAS# #CFC#
| On nights
FastCGIs?).
I haven't seen much support for FastCGI as I'd expect. Is there something
similar that's better that everyone's using and not telling me about? ^_^
--
. Trevor Phillips - http://jurai.murdoch.edu.au/ .
: CWIS Systems Administrator - [EMAIL
, based on some criteria, which would be a more efficient and
dynamic solution, if it's possible.
--
. Trevor Phillips - http://jurai.murdoch.edu.au/ .
: CWIS Systems Administrator - [EMAIL PROTECTED] :
| IT Services - Murdoch
of data cached within the daemon.
I suppose I could do this now by having a front-end proxy, and mini-Apache
configs for each group I want, but that seems to be going too far (at this
stage), especially if the functionality already exists to do this within the
one server.
--
. Trevor Phillips
Apache::Filter and Apache::Request together?
--
. Trevor Phillips - http://jurai.murdoch.edu.au/ .
: CWIS Systems Administrator - [EMAIL PROTECTED] :
| IT Services - Murdoch University |
--- Member
HREF=\"$uri\"$uri/A...\n");
return OK;
}
This works as I want; Gives all the headers, including the all-important
Cookie.
My query is, why didn't the first one work, and is the way I ended up doing it
the best way, or is there a neater solution?
--
. Trevor Phillips
in advance...
--
. Trevor Phillips - http://jurai.murdoch.edu.au/ .
: CWIS Systems Administrator - [EMAIL PROTECTED] :
| IT Services - Murdoch University |
--- Member of the #SAS# #CFC
!
However, my IP-based restrictions now seem to no longer work!
Which version of mod_perl are you using? I fixed this in 1.22_01.
Aaah! I was running 1.21.x. Upgrading to 1.22 fixed the problem! Thanks...
--
. Trevor Phillips - http://jurai.murdoch.edu.au/ .
: CWIS Systems
cess phase...
--
. Trevor Phillips - http://jurai.murdoch.edu.au/ .
: CWIS Systems Administrator - [EMAIL PROTECTED] :
| IT Services - Murdoch University |
--- Member of the #
This works fine, except "the.other.machine" gets the Host header as
"the.other.machine" and NOT whatever is passed to the proxy by the client. As a
result, virtual servers with the same IP but different name are NOT working!
Help! Any ideas on getting around this?
-
Trevor Phillips wrote:
I'm trying to set up a lightweight Apache Proxy as reccomended for mod_perl
situations. I have the proxy set up on a different box, and for the proxy
config I have:
VirtualHost *:80
ProxyPass/ http://the.other.machine:80/
ProxyPassReverse / http
e Access phase (as that's what it relates to).
Any ideas?
--
. Trevor Phillips - http://jurai.murdoch.edu.au/ .
: CWIS Technical Officer - [EMAIL PROTECTED] :
| IT Services - Murdoch University |
---
22 matches
Mail list logo