wrote a subclass of
Template which does this automatically for me, and as with Petal I can
also not encode by using a specific method.
--
Eric Cholet
lists and web sites.
Donations help fund these infrastructure expenses.
Thanks!
--
Eric Cholet
Stas Bekman wrote:
[...]
BTW, Eric is working on creating a new site for http://modperlbook.org/
which will include the source code, errata and other useful information.
We will let you know when this work has been completed.
I've just put it online.
Enjoy,
--
Eric Cholet
runs under the
unpriviliged user 'nobody', seems to me that giving root access to
the world would require running Apache as root, not something which
can be achieved only by careless programming. Am I missing something?
--
Eric Cholet
capabilities and configurable automatic refresh mode. All
the sections can be shown/hidden dynamically through the web interface.
--
Eric Cholet
which is not particularly fast. I'd like to do transforms in
realtime for a high traffic site.
Try XML::LibXSLT, in conjunction with XML::LibXML, these modules use
the Gnome project's LibXML and LibXSLT which are quite fast.
--
Eric Cholet
mydb' but
not necessarily used for DBI?
Any suggestions are much appreciated.
Fabian.
--
Eric Cholet
be grateful for that.
--
Eric Cholet
/eric
(250) 655 - 9513 (PST Time Zone)
Inquiry is fatal to certainty. -- Will Durant
--
Eric Cholet
this problem when using Apache::SOAP, using Cache::Cache 0.99
or 1.0. Downgrading to Digest::MD5 2.12 indeed solves it.
--
Eric Cholet
yet. Forward any ideas/patches to the [EMAIL PROTECTED]
or to mod_proxy's maintainer, minfrin at sharp dot fm.
--
Eric Cholet
on
apache.org fixing this bug in the real distribution?
-John
--
Pedro Melo Cunha - [EMAIL PROTECTED]
Novis Telecom, S.A. - Dir. Rede - ISP http://www.novis.pt/
Edifício Novis - Estrada da Outurela, 118 - 2795-606 Carnaxide
tel: +351 21 0104340 - fax: +351 21 0104301
--
Eric Cholet
Logilune
--On lundi 1 avril 2002 16:44 -0500 Larry Leszczynski [EMAIL PROTECTED]
wrote:
On Mon, 1 Apr 2002, Eric Cholet wrote:
The Set-Cookie issue has been fixed in apache CVS, but the chunked
response issue hasn't yet. Forward any ideas/patches to the
[EMAIL PROTECTED] or to mod_proxy's
byte non-ASCII encoding such as ISO-8859-1,
+consider specifying the character set in the Content-Type header,
+and using HTML::Entities to avoid unnecessary escaping.
+
=item escape_uri
This function replaces all unsafe characters in the $string with their
--
Eric Cholet
was broken/inapplicable
already.
--
Eric Cholet
?
--
Eric Cholet
not documented when I do 'perldoc Apache'.
It is now.
--
Eric Cholet
cholet 01/12/28 02:25:48
Modified:Apache Apache.pm
Log:
more docco
Revision ChangesPath
1.66 +23 -7 modperl/Apache/Apache.pm
Index: Apache.pm
===
RCS file: /home/cvs/modperl/Apache
cholet 01/12/27 07:44:33
Modified:Apache Apache.pm
Log:
document current_callback()
Revision ChangesPath
1.65 +9 -0 modperl/Apache/Apache.pm
Index: Apache.pm
===
RCS file: /home/cvs
I can use a primer on researching WebMail programs with the following
http://www.astray.com/acmemail/
--
Eric Cholet
. is
required?
You could use a PerlAccessHandler, if you figure authentication isn't
required
you run
$r-set_handlers(PerlAuthenHandler = [\OK]);
--
Eric Cholet
as possible to close the
connection and free the socket.
The mail is being sent to server, but is not processed
by the server till the sender object is closed!
--
Eric Cholet
been removed, please try again.
--
Eric Cholet
tree, such as
PerlSetVar ReloadModules Foo::* Bar::*
--
Eric Cholet
145C FF7F 7920 04B0 7BA3 48D8 5591 E2C0 6664 C078
/http:/cvs.apache.org/sn
apshots/modperl//A, all the mod_perl related projects are available
from A
-HREF=http://perl.apache.org/from-cvs.;http://perl.apache.org/from-cv
s./A
+HREF=http:/cvs.apache.org/snapshots.http:/cvs.apache.org/snapshots.
/A
P
--
Eric Cholet
B995
Cholet
B995 E519 1594 10D0 4271 1EA5 8DF3 8004
cholet 01/07/16 10:11:04
Modified:t/internal redirect.t
Added: t/net/perl/io redir1.pl redir2.pl
Log:
add internal_redirect test
Revision ChangesPath
1.5 +12 -3 modperl/t/internal/redirect.t
Index: redirect.t
--On 11/07/01 07:57 -0700 Eric Kolve wrote:
I was wondering if anyone is currently using perl 5.6 + mod_perl in a
prod environment.
What kinds of problems, if any are people seeing with this?
I've been using 5.6.1 in production for a while, no problems.
--
Eric Cholet
B995 E519 1594 10D0
experience with IPC, good or bad.
Please reply privately. If there is interest I'll post a digest of the
replies.
Thanks,
--
Eric Cholet
cholet 01/02/13 07:52:56
Modified:.apache-modlist.html
Log:
remove unreleased module
Revision ChangesPath
1.80 +1 -2 modperl/apache-modlist.html
Index: apache-modlist.html
cholet 01/02/13 07:54:05
Modified:dist apache-modlist.html
Log:
remove unreleased module
Revision ChangesPath
1.19 +1 -2 modperl-site/dist/apache-modlist.html
Index: apache-modlist.html
Essentially I want to do this.
Unset PerlAuthenHandler
Try:
LocationMatch /websites/foo.net/htdocs/passwd_forgoten/
PerlInitHandler "sub {$_[0]-set_handlers(PerlAuthenHandler=undef);}"
/LocationMatch
I think this should be: ... set_handlers(PerlAuthenHandler = [\OK]);
--
Eric
ANNOUNCEMENT: NEW VERSION: HTML::Template 2.1
HTML::Template - a Perl module to use HTML Templates
Does it support ELSIF yet?
--
Eric
GWH HI Stas,
GWH On Mon, 11 Sep 2000, Stas Bekman wrote:
Will you also ask why Stas is learning French?
GWH Chercher la femme?
Most likely because the people in Paris demand you speak to them in
perfect French. High school level French is not accepted ;-|
well then we're a long
i canna get the PerlAuthenHandler to do ANYTHING. first
line of code after $r = shift is $r-warn() but nothing
shows up in the log. aaugh!
i copied the sample code from 'illustrated security scenarios'
at http://perl.apache.org/guide/security.html nearly verbatim,
(cut paste + munge)
We no longer have cvs snapshots in http://dev.apache.org/from-cvs/
There's only httpd in there.
(we link to this from http://perl.apache.org/distributions.html)
--
Eric Cholet
Dear All
I've a bug somewhere that I cannot appear to spot..
I have writen parts of a transhandler to handle session's. It works in
once in each child and then does not appear to be executed again.
I've looked through The Guide and could not see anything there, nor in
the 'Apache
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
Hello all,
I'm new to the list and I'm hoping that someone could help me and explain
what I'm doing wrong or how to fix this
I recently compiled mod_perl-1.24 and it can run modules that I program.
However I get a segmentation fault (11) when I use a :: to describe where
the module
This is a strange one for which I hope there's a simple answer solution.
I've put a Front-side Proxy on a webserver (as it was struggling under the load
from lots of hits over slow links - more RAM than CPU issue), and it's helped
performance wonderfully!
However, my IP-based
cholet 00/07/25 10:59:49
Modified:.Changes
src/modules/perl Apache.xs
Log:
return code from stat() call was being ignored
Revision ChangesPath
1.502 +3 -0 modperl/Changes
Index: Changes
-Original Message-
From: Roger Espel Llima [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 07, 2000 5:19 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: PerlSetupEnv is evil
[snip]
It also turns out that specifying "PerlSetupEnv Off" outside of any
cholet 00/07/24 06:33:03
Modified:src/modules/perl mod_perl.h perl_config.c
Log:
revert my latest change, my editor suddenly decided to untabify everything, burying
the actual change
Revision ChangesPath
1.100 +34 -34modperl/src/modules/perl/mod_perl.h
Steve van der Burg writes:
Hi, unbuffered output in a handler just doesn't work for me:
[ details of setup and handler snipped ]
If I 'GET /unbuffered' in Netscape nothing is printed until I stop the
server. Setting $|++ does not help. Something is still buffering. This
is
I have a PerlTransHandler and I have a bunch of virtual hosts. Each virtual
host looks like this
VirtualHost abc.com
User abc
Group abcs
/VirtualHost
(How) can I access the User and Group definitions in the VirtualHost (which
are intended for suexec)? Is this feature missing in
Location /
SetHandler perl-script
PerlHandler ModuleName
/Location
Well, seems like I tried that, and then it ALWAYS used that handler. I
also have other handlers, and I _think_ the setup above overrode the
others. I'll give it a try again now. OK, I just tried it, and it
On Thu, 6 Jul 2000, Geoffrey Young wrote:
Sorry to bring up PerlAddVar again, but this time I have a legitimate bug.
It stems from what I reported last time about items in Apache::Table not
being visible outside a Location directives:
See the section on DIR_MERGE in the Eagle book. It
Every so often I get:
Broken pipe: client stopped connection before rflush completed
In my error log. Is that the "user pressed stop" condition? AxKit just
sends raw files (unless in no_cache mode), i.e. it sets $r-filename() and
then returns DECLINED. Do I need to handle this, or can I
Hi all,
I am using $r-path_info in an Apache handler. The handler is set via a
Location directive:
Location /cgi-bin/detail.pl # Overcoming Legacy code :-)
SetHandler perl-script
PerlHandler eLogix::Images::Detail
/Location
And is called like "/cgi-bin/detail.pl/A1234567.jpg". My
Hi all,
Sorry, this is a bit long.
[snip]
[Fri Jun 16 17:20:21 2000] [notice] \
child pid 22310 exit signal Segmentation Fault (11)
[snip]
There is no core dump and the same thing happens with the -X switch.
please see the instructions in SUPPORT on how to provide a backtrace.
--
Eric
]
http://www.superdeluxe.com
http://www.vagabondage.com
"There is absolutely no inevitability as long as there is a
willingness to contemplate what is happening." - Marshall McLuhan
--
Eric Cholet
cholet 00/06/15 01:13:37
Modified:Apache Apache.pm
Log:
backing out $Apache::Server::ConfigTestOnly documentation
Revision ChangesPath
1.51 +0 -17 modperl/Apache/Apache.pm
Index: Apache.pm
So if you want a better performance, you know what technique to use.
I think this last line is misleading. The reality is that you're doing
500,000 iterations here. Even for the worst case scenario of multi_print
with no buffering you're managing nearly 22,000 outputs a second. Now
From: "Eric Strovink" [EMAIL PROTECTED]
Of course the slowest stuff should be optimized first...
Right. Which means the Guide, if it is not already so doing, ought to
rank-order the optimizations in their order of importance, or better,
their
relative importance. This one, it appears,
These
things add up, so don't you think that whatever can be optimized, should
?
Wrong question, IMHO: it's what you optimize for that counts. Several
things
come to mind that are often more important than performance and often mean
not
optimizing for performance (these are interrelated,
Using tied hashes, you could conceivably make your own ordered hash class
and use that as the data structure you return. You'd still basically have
two data structures (for performance) but the fact that it is two data
structures would be hidden behind the tied hash which would be programmed
I've not done much of either this last year, however, I'm hoping to
get
a new beta DBI release out this week. Maybe...
Tim I hope you plan to integrate Doug's patch which makes it possible to
use
DBI with Perl 5.6 -Dusethreads. Thanks!
Of course. And I'll trust you'll all be doing
cholet 00/06/05 08:42:06
Modified:.Changes
Log:
document my latest fix
Revision ChangesPath
1.496 +3 -0 modperl/Changes
Index: Changes
===
RCS file: /home/cvs/modperl/Changes,v
much of either this last year, however, I'm hoping to get
a new beta DBI release out this week. Maybe...
Tim I hope you plan to integrate Doug's patch which makes it possible to use
DBI with Perl 5.6 -Dusethreads. Thanks!
Tim.
--
Eric Cholet
://www.deep-purple.com
Apache, mod_perl, MySQL, Sybase hired gun for, well, hire
-
--
Eric Cholet
will trigger the segfault. Well, under 5.00502 it does, but under 5.6
I get an (expected) 500 internal server error.
--
Eric Cholet
cholet 00/06/02 10:06:39
Modified:.SUPPORT
Log:
add Doug's snippet about spinning processes
Revision ChangesPath
1.15 +11 -0 modperl/SUPPORT
Index: SUPPORT
===
RCS file: /home/cvs
I got a very strange response from [EMAIL PROTECTED] in
response to a previous posting to this board. "jez" responded with an
"anti spamming notice"!
It said the message was tossed into /dev/null, and that it was either
because I sent a "ms-tnef" attachment (I sent no attachment at all)
On Tue, May 30, 2000 at 02:30:36PM -0700, ___cliff rayman___ wrote:
actually \n\r\ is really how it is supposed to be.
i am sure you will find it in the RFC's.
most browsers seem to be okay with \n's only.
Actually it's \r\n, unless you're on a Mac :-)
--
Eric Cholet
cholet 00/05/30 15:00:02
modperl-2.0/pod - New directory
Apache::RegistryBB from mod_perl-1.24.tar.gz needs a small patch for
'use strict'.
diff Apache/RegistryBB.pm.orig Apache/RegistryBB.pm
5c5
use Apache::Constants qw(NOT_FOUND FORBIDDEN OK);
---
use Apache::Constants qw(NOT_FOUND FORBIDDEN OK DECLINED);
Committed, thanks for the
cholet 00/05/21 15:45:50
Modified:.index.html
Log:
typos
Revision ChangesPath
1.57 +4 -4 modperl-site/index.html
Index: index.html
===
RCS file: /home/cvs/modperl-site/index.html
cholet 00/05/19 09:01:24
Modified:.Changes
Log:
document the fact that I fixed what I'd just broken
Revision ChangesPath
1.488 +3 -0 modperl/Changes
Index: Changes
===
RCS file
Sitting here trying to get 1.24 to compile with VC6,
but keep getting stuck with the following linking error;
mod_perl.obj : error LNK2001: unresolved external symbol
_ap_configtestonly
the symbol responsible for the error is in a condition at mod_perl.c line
738.
--
mod_perl.c
I've tried emailing the author but haven't recieved a response.
I'm hoping someone will have seen this problem before, or at least be able
to point me in the right direction.
Solaris 2.7
Perl 5.6.0
I get this when I run make test.:
This is totally offtopic. This problem with _PATH_LOG
-Message d'origine-
De: Benedict Lofstedt [SMTP:[EMAIL PROTECTED]]
Date: jeudi 4 mai 2000 15:38
À:Eric Cholet
Cc: [EMAIL PROTECTED]
Objet:RE: how do I use perl sections
Eric,
push @ScriptAlias, [ "/cgi-$_", "/users/$_/cgi-bin" ];
I would like to make a list of ScriptAliases like this
ScriptAlias "/cgi-xx" "/users/xx/cgi-bin/"
ScriptAlias "/cgi-yy" "/users/yy/cgi-bin/"
and did this:
Perl
my $cgi_users = qw(xx yy);
for ($cgi_users) {
push @ScriptAlias, "/cgi-$_", "/users/$_/cgi-bin";
}
/Perl
but it did
OK, I can't figure this out.. help me out here. I want to deal with my
virtual hosts on the heavyweight server. The frontend server should just
be a simple thing that I never have to touch.
Matt, you might want to check out this patch to mod_proxy posted to
new-httpd by Sam Tregar:
Hi,
I want to learn writing modperl scripts.
Im not referring to any perl scripts that are executed by
Apache::Registry, but rather a perl script that is invoked
by the Apache itself - same level like Apache::Registry.
You're talking about handlers. The best resource is the Eagle
book
where would an intrepid innocent turn for details on what methods
and/or fields are available to the PerlLogHandler in the passed
arglist @_ array (okay, $_[0] or shift) ?
apparently
-last and
-request_time and
-status
..and $_[0]-last has submethods including
get_remote_host,
This is for using Apache 2.0's pthread MPM, of course you can build perl
5.6 non threaded and use apache 2.0's prefork model but then it's not
as exciting :-)
Does apache 2.0 let you run a prefork model under NT?
NT has it's own MPM which is threaded
prefork ... Multi Process
(Off topic again, but lots of people here are using reverse
proxy).
For a while I had 'ProxyRequests On' in my httpd.conf mistakenly
thinking that it was necessary to make ProxyPass and mod_rewrite
proxying work. Then I noticed entries in my logfile where
remote sites were sending full
This leads me to believe that the Rewrite engine is ignored when an
Alias kicks in, otherwise the *.shtml files would be bounced back to
the back-end server where they get properly expanded. Normally, this
is ok for me since everything else in the aliased directory is an
image which I want
Hi All
I have a module that displays a selection of FORMs for the user to pick
from. The FORMs have TARGET='_BLANK'. The submitted form data is sent to a
different module which parses the data and uses 'open' to call an external
perl script to generate a file and returns the full disk path
Hi,
The front-end light server, serving static requests and proxying
dynamic requests to a back-end modperl server, is well documented,
except in the case of virtual hosts. How do you do it? Specifically,
do you setup virtual hosts on the backend server? Different IPs, or
different ports? Or
Hello,
It seems the method unparse() of Apache::URI does not take the port
value into the result string. For example, I have:
my $uri = Apache::URI-parse($r, $r-uri);
$uri-scheme('http');
$uri-hostname($r-get_server_name);
$uri-port(8080);
$uri-query(scalar $r-args);
If I call
EC do you setup virtual hosts on the backend server? Different IPs, or
EC different ports? Or just a flat url space, using mod_rewrite on the
EC front-end to translate the urls?
I think I posted this example earlier. This is just a snippet of the
relevant portions of the front/back end
cholet 00/04/10 03:15:12
Modified:.index.html
Log:
Better link for modperl distro
Revision ChangesPath
1.49 +3 -3 modperl-site/index.html
Index: index.html
===
RCS file: /home
cholet 00/04/10 07:13:42
Modified:.Changes
Log:
document change to Apache::URI::port()
Revision ChangesPath
1.462 +3 -0 modperl/Changes
Index: Changes
===
RCS file: /home/cvs
cholet 00/04/10 07:16:11
Modified:.Changes
Log:
typo
Revision ChangesPath
1.463 +1 -1 modperl/Changes
Index: Changes
===
RCS file: /home/cvs/modperl/Changes,v
retrieving
On Sun, Apr 09, 2000 at 02:32:37PM -0400, Dan McCormick wrote:
FYI, there's a missing from the perl.apache.org main page at the line:
Latest stable release is 1.22, get it from a href="dist/"this
site/a or from a
href="http://www.cpan.org/ CPAN -- HERE
p
It causes the page
hi,
I was wondering how to map PerlTransHandler only for certain type of files.
( I'm doing URI rewriting not URI-filename translation ?!!)
Something like :
Location
Files ~ "xml$"
PerlTransHandler Apache::MyHandler
/Files
/Location
Yes I know this is wrong...can this be
idea when it will be ready?
Sam
--
Eric Cholet
How do I get the username someone entered in a http authentication prompt?
I got authDBI working, but I can't figure out hot to access the user name which
was passed so that I can use it in further sql-dml statements.
$r-connection-user(), or $ENV{REMOTE_USER} if you're in CGI emulation
hi all...
I've hunted around and can't find a method that retrieves the
LogLevel directive setting. Is there one? If not, is there a record
somewhere that can make this available, maybe through Apache::Server?
It's not there currently but could easily be. Try this patch:
Index:
A newbie question. Though I have successfully built mod_perl from command
line parameters I decided to try the .makepl_args.mod_perl file method from
the Eagle book. I had EVERYTHING=1 as the first line in this file but when I
run I get...
It's makepl_args.mod_perl, not .makepl_args.mod_perl (no
Hi,
My environment is apache.1.3.9, mod_perl-1.21, perl5.005_63.
When I do make to compile mod_perl-1.21, from src directory, I have the
undefine of identifier PL_siggv in the mod_perl.c modul.
Is anyone working with the development version of perl5, the perl5.005_63 ?
Doesn't any
ObModPerl: I don't seem to have a route to perl.apache.org. Isn't this
just a virtual host on www.apache.org?
Used to be, but has changed recently. perl.apache.org is now hosted on
locus.apache.org. You must have experienced a network glitch, I can access
perl.apache.org fine as of this
I cannot seem to get custom configuration directives to work in
apache (1.3.11) modperl (1.21). I would presume the examples in the
book do not work either. I found someone having similar problems
in the list archives, to which Doug provided a workaround which also
does not work.
Any
Mark,
modperl job offers have always been welcome on the modperl list.
Please search the archives and you'll find this fact.
Cheers,
--
Eric
hi,
i'm not a recruiter, im hiring directly for the company i work for, which, by
the way, has put a lot of time and support into helping with
Hi there,
On Sun, 9 Jan 2000, gnielson wrote:
I am encountering some errors when trying to get an existing Apache
server to support mod_perl.
I am running Server version Apache/1.2.4 and perl, version
5.004_01. Is the fact that I have not yet ungraded to 5.004_04
giving me these
Doug has made the following modification to modperl (in the CVS tree):
$r-no_cache(1) will now set the r-headers_out "Pragma" and
"Cache-control" to "no-cache"
This should work even with buggy browsers.
--
Eric
I notice that the Guide omits the mention of Netscape's ignorance of
requests)?
That's not what I'm seeing, KeepAlives work the way I configure them.
Maybe this is true when accessing a mod_perl server through a front-end proxy,
but not when accessing a mod_perl server directly.
--
Eric Cholet
to have several TransHandlers.
--
Eric Cholet
I just ran into a problem I don't understand:
I was testing a PerlAccessHandler on a cgi (not modperl)
directory like this:
Directory /my/user/directory
SetHandler perl-script
PerlAccessHandler My::Access
/Directory
Don't use SetHandler for a PerlAccessHandler, it's only for
1 - 100 of 125 matches
Mail list logo