.
------
Ken Williams Last Bastion of Euclidity
[EMAIL PROTECTED]The Math Forum
[EMAIL PROTECTED] (Doug MacEachern) wrote:
On Tue, 26 Dec 2000, Ken Williams wrote:
[EMAIL PROTECTED] (Stas Bekman) wrote:
A combination of Cstrict and Cvars pragmas keeps modules clean and
reduces a bit of noise. However, the Cvars pragma also creates
aliases, as does CExporter, which eat
woes.
Of course, Apache 2.0 will have a much more flexible filtering that will
render this conversation moot.
------
Ken Williams Last Bastion of Euclidity
[EMAIL PROTECTED
ler server-parsed
lines and no luck.
I *could* rename all my .shtml files to something unique as per my .phtml
testing, but that may be alot of work and changes as far as supporting
classic SSI, etc.
Any way to do this?
Thanks
...Tom
---
done with .shtml pages as well.
--- ---
Ken Williams Last Bastion of Euclidity
[EMAIL PROTECTED]The Math Forum
M) Sdn. Bhd.
Level 59, Tower 2, Petronas Twin Towers
Kuala Lumpur City Centre
50088 Kuala Lumpur
MALAYSIA
Mobile: +60122310095
Tel: +6033820667
E-Mail: [EMAIL PROTECTED]
http://www.biodata.com
Global Leader in Network and Communications Security
---
ine and what it's supposed
to do, so I'm not sure about the validity of this patch. But I think it
might solve the problem if anything does.
--- ---
Ken Williams Last Bastion of Euclidity
[EMAIL PROTECTED]The Math Forum
'.
------
Ken Williams Last Bastion of Euclidity
[EMAIL PROTECTED]The Math Forum
other way around. Start the server using
/blah/blah/httpd -f /home/ralph/myhttpd.conf , then include the central
shared httpd.conf.
----------
Ken Williams Last Bastion of Euclidity
[EMAIL
3 0:00.13 perl -mvars -e
system "ps u -p $$"
[~/bin/test],7:57pm% perl -e 'system "ps u -p $$"'
USERPID %CPU %MEM VSZ RSS TTY SSTARTED TIME COMMAND
ken 55275 0.0 0.1 3.00M 336K pts/4S + 19:57:39 0:00.06 perl -e system "ps
.
------
Ken Williams Last Bastion of Euclidity
[EMAIL PROTECTED]The Math Forum
uch memory) will be necessary to handle a given number of incoming
requests per second, and with this metric the two systems could perform
differently.
----------
Ken Williams Last Bastion of Euclidity
[EMAIL
Gunther Birznieks ([EMAIL PROTECTED])
eXtropia - The Web Technology Company
http://www.extropia.com/
--- ---
Ken Williams Last Bastion of Euclidity
[EMAIL PROTECTED]The Math Forum
1.24_01.
Fixed a bug in Apache::RegistryFilter that caused a crash when
handler() was called as a function instead of a method.
[[EMAIL PROTECTED]]
------
Ken Williams Last Bastion of Euclidity
00 8:34 AM
To: 'Ken Williams'
Cc: '[EMAIL PROTECTED]'
Subject: Apache::Compress patch
hi ken...
something has been bugging me in Apache::Compress for a while now - it
_always_ tries to compress output.
[snip]
whoops on that patch... it didn't print filtered output that was les
es cookies just fine.
However, when I adopted those same techniques for
Apache::AuthTicket, all that happens when I submit my
login credentials was that Apache::AuthTicket sent my
browser a blank cookie.
----------
Ke
.
------
Ken Williams Last Bastion of Euclidity
[EMAIL PROTECTED]The Math Forum
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
ods of Doug's that I haven't reviewed or documented yet)
+ use Apache::test qw(skip_test have_httpd);
+ skip_test unless have_httpd;
+ (Some more methods of Doug's that I haven't reviewed or documented yet)
=head1 DESCRIPTION
======
thought I'd
state it if that was the confusion.
mod_gzip, Apache::Compress, or Apache::Gzip are solutions here.
------
Ken Williams Last Bastion of Euclidity
[EMAIL PROTECTED
bscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
----------
Ken Williams Last Bastion of Euclidity
[EMAIL PROTECTED]The
that spawn sub-processes. But
the eval() itself doesn't.
See also
http://perl.apache.org/guide/performance.html#Forking_and_Executing_Subprocess
------
Ken Williams Last Bastion of Euclidity
[EMAIL PROTECTED
.
------
Ken Williams Last Bastion of Euclidity
[EMAIL PROTECTED]The Math Forum
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
light any
bulbs). I got some results, but none that produced the desired results.
The closest was getting the output to be directed to the resulting HTML
page, but not the variable.
------
Ken Williams Last
.
I got no responses from my post, so I'm not sure whether others have
succeeded or found anything out.
------
Ken Williams Last Bastion of Euclidity
[EMAIL PROTECTED]The Math
u're after.
----------
Ken Williams Last Bastion of Euclidity
[EMAIL PROTECTED]The Math Forum
'.
This method will create headers from the $r-content_xxx() and
$r-no_cache() attributes (described below) and then append the
===
------
Ken Williams
::Filter, and seems to work in general. People
seem to be using it.
Just wanted to make sure you knew about it.
------
Ken Williams Last Bastion of Euclidity
[EMAIL PROTECTED
it must be installed
correctly...
Here's part of httpd.conf:
FilesMatch "\.pl$"
SetHandler perl-script
PerlSetVar Filter On
PerlHandler Apache::RegistryFilter AxKit
Options +ExecCGI
/FilesMatch
Thanks!
Brian Wheeler
[EMAIL PROTECTED]
---
to be built with
EVERYTHING=1 (actually just needed a couple more things than he had,
particularly Perl sections). Worked fine then.
------
Ken Williams Last Bastion of Euclidity
[EMAIL PROTECTED
(not exercised yet) for nested if...elsif XSSI
structures. Corresponding code is mostly written, but needs some more
scrutiny testing.
------
Ken Williams Last Bastion of Euclidity
[EMAIL
Young, who helped discuss ideas for the code
changes and helped prod me along when I dragged my feet. =)
------
Ken Williams Last Bastion of Euclidity
[EMAIL PROTECTED]The Math
.
------
Ken Williams Last Bastion of Euclidity
[EMAIL PROTECTED]The Math Forum
.
------
Ken Williams Last Bastion of Euclidity
[EMAIL PROTECTED]The Math Forum
ble that PerlModule might take an import()
list. I'm not sure whether it does so now or not.
--- ---
Ken Williams Last Bastion of Euclidity
[EMAIL PROTECTED]The Math Forum
`
/usr/bin/ld: Undefined symbols:
_actions_module
_include_module
_log_config_module
make[1]: *** [target_static] Error 1
make: *** [apache_httpd] Error 2
------
Ken Williams Last Bastion of Euclidity
discussion. It's possible that in the future we'll want to make a
development list or something, but for now let's hold off.
Pretty soon I will probably move Apache::Filter development to
SourceForge too.
Thanks for the time.
------
Ken
."
I also tried connecting to MySQL in startup file, but it is not working.
If there is anything more to be done or I am doing something wrong,
please let me know.
Any errors in the log?
----------
Ken Williams
('/path/to/httpd');
+
+This method returns a hashref whose keys are all the modules
+statically compiled into the given httpd binary. The corresponding
+values are all 1.
=head1 EXAMPLES
===
------
Ken Williams Last Bastion of Euclidity
[EMAIL PROTECTED]The Math Forum
*data* to the browser.
It appears that $r-print (or somewhere down in the Apache code) can't
handle embedded nulls, which I think should be either documented or
fixed.
------
Ken Williams Last Bastion
Other than that, is the filtering setup working okay?
----------
Ken Williams Last Bastion of Euclidity
[EMAIL PROTECTED]The Math Forum
[EMAIL PROTECTED] (Doug MacEachern) wrote:
On Mon, 17 Jul 2000, Ken Williams wrote:
Hi all,
Here's a resend of the Apache::test patch that I sent yesterday, this
time sent as type text/plain from a Unix mailer. Rick Myers noted
that the version I sent before was encoded with Macintosh
with
unrecognised character, etc.
I have several sites running entirely on mod_perl, so I was not so happy
with this feature :(.
Does anybody have any experience with it ?
Big thx in advance,
Bert
------
Ken Williams
Sybperl.pm
----------
Ken Williams Last Bastion of Euclidity
[EMAIL PROTECTED]The Math Forum
consultancy availability.
http://sergeant.org | AxKit: http://axkit.org
------- ---
Ken Williams Last Bastion of Euclidity
[EMAIL PROTECTED]The Math Forum
[EMAIL PROTECTED] (Bill Moseley) wrote:
Hi,
I've got a modified version of Ken Williams' Apache::AuthCookie that works
with munged URLs. This module also will work without a login script, so it
can act as a simple session manager that works with cookies or URLs. So,
you can have it require
.
------
Ken Williams Last Bastion of Euclidity
[EMAIL PROTECTED]The Math Forum
" at ./test.cgi
line 5.
It's a lowercase 'r'. Apache-request-...
----------
Ken Williams Last Bastion of Euclidity
[EMAIL PROTECTED]The Math Forum
ur code, $r is never assigned to, so
it should fail with a different error than you're seeing anyway. You
want something like this:
#!/usr/bin/perl
use Apache ();
my $r = Apache-request;
$r-internal_redirect('/path/to/hello.html');
--------
how an error message "No such
something-or-other" is being interpreted as Perl code. I don't know why
it thinks the file is /dev/null, but I'd grep for "No such" in your code
and see where that error message might be issued/misinterpreted.
---
();
------
Ken Williams Last Bastion of Euclidity
[EMAIL PROTECTED]The Math Forum
++$lines while STDIN;
}
The only funny business is that STDIN clobbers $_, so that the various
values iterated through in the for() loop all eventually get set to
undef.
----------
Ken Williams Last
... *crickets* ...
Here's a patch for the implementation I'm looking for. It passes the
'make test' stuff in CVS. I'd love to see this change done, or a
discussion of why it's not a good idea.
Patch pasted below.
[EMAIL PROTECTED] (Ken Williams) wrote:
Hi,
I've got to ask this because I'm
lessed into the 'Apache' class, not the class of the
object I gave it.
This is with the latest mod_perl from CVS, and Apache 1.3.12.
--- ---
Ken Williams Last Bastion of Euclidity
[EMAIL PROTECTED]
[EMAIL PROTECTED] (Rick Myers) wrote:
On Aug 24, 2000 at 01:15:57 -0500, Ken Williams twiddled the keys to say:
The following patch eliminates a warning during 'make test' about 'Value
of HANDLE construct can be "0";'. No biggie, but it shoul
The following patch eliminates a warning during 'make test' about 'Value
of HANDLE construct can be "0";'. No biggie, but it should be fixed.
--- t/modules/request.t 2000/05/12 03:43:24 1.8
+++ t/modules/request.t 2000/08/24
Hi,
I've got to ask this because I'm going through immense pain and
suffering* dealing with this problem. Why is Apache::PerlRun a subclass
of Apache? Shouldn't it just be a regular content handler that 'has-a'
$r instead of 'is-a' Apache request?
The problem I'm having is that I'm trying to
output until there's
enough data for efficient compression. Currently we don't take advantage
of this facility, we simply compress the whole content body at once. We
could achieve better memory usage if we changed this (at a small cost to
the compression ratio). See Eagle book, p.185.
AUT
[EMAIL PROTECTED] (Jamie Krasnoo) wrote:
Sorry for the newbie question but could anyone tell me how to expire pages
so a user can't use the back button to get back to that page?
Check this out:
http://perl.apache.org/guide/correct_headers.html
Short answer: $r-no_cache(1);
Bill Moseley wrote:
FWIW -- I'm using a modified version of Ken Williams' Apache::AuthCookie to
handle session control via cookies or munged URLs. I originally wanted to
use his custom login script instead of the pop-up browser login, but I had
clients that don't have cookies enabled. So I
Geoffrey Young wrote:
-Original Message-
From: Andrew Fuqua [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 14, 2000 12:44 PM
To: [EMAIL PROTECTED]
Subject: $r-notes with slashes
I'm trying to pass a path name with slashes as the value of a
note, and
when I try to
You might check out HTML::Mason, whose caching structure is second to
none I have seen.
Robert Friberg wrote:
Hi all,
I'm new to modperl but not perl, running a standard RH 6.0
with the modperl RPM off apache.org. I'm generating pages
from a mysql db which change maybe 3 times a week.
Matt Sergeant's message:
On Fri, 11 Aug 2000, Ken Williams wrote:
Hi Matt,
Is it possible that this functionality should be integrated into
Apache::StatInc? Perhaps with a couple of new directives to control
behavior?
Thats a difficult one... Of course its possible to do
Matt Sergeant's message:
On Sat, 12 Aug 100, Ken Williams wrote:
That seems right - so perhaps it would be better to integrate the
StatINC functionality into Apache::Reload than the other way around.
If it's called Apache::Reload, then it might make sense to have a
directive like
[EMAIL PROTECTED] (Vladislav Safronov) wrote:
Hi,
Is there way for processing SSI commands in perl?
(my templates may contains SSI commands, so what
should I do - just type in real html or process them somehow?)
Check out Apache::SSI. It can solve the problem. Can be used with
Apache::Filter
[EMAIL PROTECTED] (Matt Sergeant) wrote:
On Fri, 11 Aug 2000, Matt Sergeant wrote:
This dates back to discussions nearly a year ago now, from Randal's
initial Stonehenge::Reload, and Doug saying he'd like to see a more
generic Apache::Reload that got rid of the necessity to call reload_me in
[EMAIL PROTECTED]
206-219-8445
The Cobalt Group, Inc.
On Tue, 8 Aug 2000, Ken Williams wrote:
[EMAIL PROTECTED] (Andrew Chen) wrote:
Hello all,
I was involved in a discussion a few weeks ago regarding how Cobalt Group
(www.cobaltgroup.com) could get a performance boost by running our very
[EMAIL PROTECTED] (Andrew Chen) wrote:
Hello all,
I was involved in a discussion a few weeks ago regarding how Cobalt Group
(www.cobaltgroup.com) could get a performance boost by running our very
very dirty modules under PerlRun with PerlRunOnce Off and then to have a
handler that cleaned up
[EMAIL PROTECTED] (David Harris) wrote:
T.J. Mather [mailto:[EMAIL PROTECTED]] wrote:
However it doesn't work if you apply a non-greedy substitution operator on
the scalar.
You mean "global", not "greedy"
True, but not especially helpful in this case.
T.J., if you grok XS you might have a
[EMAIL PROTECTED] (Doug MacEachern) wrote:
On Thu, 27 Jul 2000, Ken Williams wrote:
Hi all,
I sent a patch for Apache::test a week or so ago. I got no
responses, so I'm here to advocate again for its incorporation. The
original message is here:
http://forum.swarthmore.edu/epigone
Ken Fox wrote:
I was using $request-sent_header and found out that it's
not terribly useful if PerlSendHeader is off -- sent_header
always returns 1. I changed mod_perl_sent_header so that
it returns 0, 1 or 2:
0 - headers have not been sent (PerlSendHeader on)
1 - headers have not
can tell, you
need a live server to tie into mod_perl::hooks() to get them, and
that's the only way. Hopefully, the stuff Ken Williams is doing with
Apache::test will make writing live tests easier...
That would be a nice feature, yes. I'm not sure how to look at an
apache binary with config file
[EMAIL PROTECTED] (Rob Giseburt) wrote:
Are .htaccess files secure? I don't want users to be able to use
perl.../perl sections or any other mod_perl constructs (setting scripts
to run via the Registry, for example) in .htaccess files. However, I need
..htaccess files turned on so users can
[EMAIL PROTECTED] (Geoffrey Young) wrote:
-Original Message-
From: Michael Hall [mailto:[EMAIL PROTECTED]]
On Thu, Aug 03, 2000 at 01:27:17PM +0100, Matt Sergeant wrote:
Which raises an interesting question... Is there any way for
Makefile.PL to determin if a particular option
[EMAIL PROTECTED] (Stas Bekman) wrote:
On Thu, 3 Aug 2000, Ken Williams wrote:
[EMAIL PROTECTED] (Geoffrey Young) wrote:
From: Matt Sergeant [mailto:[EMAIL PROTECTED]]
Which raises an interesting question... Is there any way for
Makefile.PL to determin if a particular option was enabled
[EMAIL PROTECTED] (Kelly White) wrote:
I am considering using either HTML::Mason or Apache::Registry for my CGI
scripts, but am not sure which is faster. Would the template/pages be cached
like the scripts are in Registry? Which would be faster? Obviously using
Mason would make cleaner code,
[EMAIL PROTECTED] (Gunther Birznieks) wrote:
I am afraid that while I agree, a check system is really quite useful to
me. Some things do need more quantification, but that can be done later.
eg lightweight vs heavyweight is subjective. But it can be broken up into
saying something like how
[EMAIL PROTECTED] (Kiran Banoor) wrote:
hi,
I want to know that is there anyway i can decrpt the passwords stored
in htpasswd file in apache.
I greatly appreciate any help on this..
Nope, you can't do it. Those are one-way hashes of the passwords, not
encrypted versions of them. They don't
[EMAIL PROTECTED] (Drew Taylor) wrote:
Gerald Richter wrote:
Vivek had an excellent suggestion in private email: put together a list
of features and let the developers check off the options their system
supports. My biggest question is who comes up with the feature list in
the first
[EMAIL PROTECTED] (Frank D. Cringle) wrote:
Drew Taylor [EMAIL PROTECTED] writes:
Ken Williams wrote:
I suggest having not just a simple checkmark, but a 3-way check. A
system either supports a feature, or it doesn't, or it *optionally*
supports it (can be switched on and off
Hi all,
I sent a patch for Apache::test a week or so ago. I got no responses,
so I'm here to advocate again for its incorporation. The original
message is here:
http://forum.swarthmore.edu/epigone/modperl/swonflefim
Are any of the CVS guardians listening? Doug seems to be long absent.
I can work around it by testing if it's a Math::Currency reference, and
call Math::Currency-new. But this seems a little silly. Anyone seen
this before?
Jay Jacobs
----------
Ken Williams Last Bastion of Euclidit
decide.
------
Ken Williams Last Bastion of Euclidity
[EMAIL PROTECTED]The Math Forum
ery hard to keep compatibility with
+older versions of this module. In particular MM_test() has changed
+and probably isn't usable in the old ways, since some of its
+assumptions are gone. But none of this was ever documented, and
+MM_test() doesn't seem to actually be used anywhere in the mod_perl
+disribution, so I don't feel so bad about it.
+
+=head1 AUTHOR
+
+Doug MacEachern (original version)
+
+Ken Williams (latest changes and this documentation)
+
+=cut
+
it's a bit misleading to put them in a config section.
------
Ken Williams Last Bastion of Euclidity
[EMAIL PROTECTED]The Math Forum
been on enough lists to know how
frustrating it is when some moron (like myself :) comes out of nowhere and
asks a question that has been asked and answered 1000x over before.
Any help is of course appreciated!
Michael Bacarella
---------
till puzzles me about this situation too, though
I can't put my finger on it. I'm not sure I understand the ins and outs
of what PerlRun does with BEGIN blocks, for instance.
------
Ken Williams Last Bastion of Euclidity
[EMAIL PROTECTED]The Math Forum
s was ever documented, and MM_test() doesn't seem
to actually be used anywhere in the mod_perl disribution, so I don't
feel so bad about it.
AUTHOR
Doug MacEachern (original version)
Ken Williams (latest changes and this documentation)
patch
HTTP request using something like LWP.
------
Ken Williams Last Bastion of Euclidity
[EMAIL PROTECTED]The Math Forum
e/Recurse.pm'} and see whether it's different
under command line (or CGI) mod_perl.
Also, make doubly sure that your mod_perl standalone perl are using
the same perl binary. Do you have more than one?
--- ---
Ken Williams
little hats...
-- Homer Simpson
Blood Feud
------
Ken Williams Last Bastion of Euclidity
[EMAIL PROTECTED]The Math Forum
.
------
Ken Williams Last Bastion of Euclidity
[EMAIL PROTECTED]The Math Forum
;)
-selectrow_array("SELECT GET_LOCK(\"mysql\", 5)");
print "lock: $lock\n"; sleep 10'
------
Ken Williams Last Bastion of Euclidity
[EMAIL PROTECTED]The Math Forum
in there.
------
Ken Williams Last Bastion of Euclidity
[EMAIL PROTECTED]The Math Forum
[EMAIL PROTECTED] (Almetaal B.V.) wrote:
- Original Message -
From: "Ken Williams" [EMAIL PROTECTED]
To: "Almetaal B.V." [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Wednesday, July 05, 2000 18:11
Subject: Re: Apache::ASP - problem with installing Apache::SSI ::Fi
[EMAIL PROTECTED] (Tu Nguyen) wrote:
Hi,
Can some one show me how to use cookie to check valid user ?
which module should I use and how to modify httpd.conf.
Have a look at Apache::AuthCookie, and read its docs.
------
Ken
.
[EMAIL PROTECTED] (Geoffrey Young) found it.
During 'make test', the error log won't be removed, so you can examine
it even if there were no failures.
------
Ken Williams Last Bastion of Euclidity
or not, so I've put some information to that effect in
$r-prev-subprocess_env(). See the login script docs for specifics.
I also cleaned up the documentation for the login script.
------
Ken Williams
)]
------
Ken Williams Last Bastion of Euclidity
[EMAIL PROTECTED]The Math Forum
[EMAIL PROTECTED] (Doug MacEachern) wrote:
On Wed, 7 Jun 2000, Ken Williams wrote:
[EMAIL PROTECTED] (Stas Bekman) wrote:
On Wed, 7 Jun 2000, Mark Hewis wrote:
it would seem to be quite straight forward to implement a handler
to gzip all output html files depending on the allowed mime
.
------
Ken Williams Last Bastion of Euclidity
[EMAIL PROTECTED]The Math Forum
101 - 200 of 274 matches
Mail list logo