Hi!
I have got a PerlInitHandler that does some config parsing etc.
I would like Apache to stop starting up and to print out some error
message ("Config Directive blabla missing" or something like that) if
an error occures during config parsing. (As it is happing when
something is wrong with
Hi!
Is there a module that can do "Stacked Handler Pipelining", but
doesn't pass around tied filehandles but data structures ?
If there isn't, could it be implemented by dumping the data
structure to $r-notes (with Data::Dumper) and have it eval'ed back
by the next handler?
--
D_OMM
Hi!
If you use $r-pnotes, you can just put a reference to an arbitrary data
structure into it and it will still be there in the next handler. No
need to serialize it with Data::Dumper. Better than using a normal
global because it gets automatically cleaned up after the request.
Thanks for
Hi!
I am currently developing a perl module that is somewhat simmilar
to CGI::PathInfo, and somewhat not. (IMO more not).
The module would be used in a CGI- or mod_perl-environment. It
takes the path-info (or the whole URL) and performs some regular
expressions (defined via some
Hi!
I am currently working on a module that generates a Fake Apache
Request Object like Apache::FakeRequest does, but that also
parses the Apache Configuration and enables the user to access
values set with PerlSetVar (i.e. fake $r-dir_config).
This Request Object can than be used in
Hi!
Geoffrey Young:
there was a more advanced Apache::FakeRequest floating around
somewhere...
I think this was it, but I swore it was something on the dev@ list:
http://marc.theaimsgroup.com/?l=apache-
modperlm=98719810927157w=2
I knew this script (it was posted here, too), and while it is
Hi!
On 3 Jul 2001, at 15:21, Viljo Marrandi wrote:
Actually i thought about r-uri. It returns everything after servername
and if i split it using '/' as separator i think i'm almost there ;o).
I have a nearly finished module which applies some regular
expression (specified in some config
Hi!
darren chamberlain [EMAIL PROTECTED]:
How is it different from mod_rewrite using the QSA flag to add
values to r-args? (This is a question, not a criticism!)
True, you could use mod_rewrite to get the same result, but there
are situations where you can't use it, e.g. you're not working
Hi!
The uploaded file
CGI-URI2param-0_03.tar.gz
has entered CPAN as
file: $CPAN/authors/id/D/DO/DOMM/CGI-URI2param-0_03.tar.gz
size: 2858 bytes
md5: 059f7b717e5b746a1ecde3fc12fb32d5
This is the first public release.
DESCRIPTION:
CGI::URI2param takes a request object (as supplied
Hi!
I swore there was yet a third candidate in this realm, but I didn't see it
on brief inspection.
I am currently sort of working (haven't touched for some time) on
something called Apache::FakeEnv which should be something like a subclass of
Apache::FakeRequest, but which includes access to
Hi!
On Fri, Oct 19, 2001 at 09:59:18AM -0400, Drew Taylor wrote:
What I found most interesting was the detail of the extensive caching which
was implemented to survive the seasonal rush.
Wasn't this seasonal rush at least partly caused by the so-called toywar
(www.toywar.com) between
Hi!
On Wed, Nov 14, 2001 at 01:31:52AM +0800, Stas Bekman wrote:
Obviously the site should be very light on graphics, but since you are
a good web designer you know this and all the other requirements
already. The only requirement we have is that this is an information
site, so avoid fancy
Hi!
You can look at my idea of the the new modperl-site design here:
http://domm.zsi.at/modperl-site-domm/
You can get the whole distro to download at:
http://domm.zsi.at/modperl-site-domm/modperl-site-domm.src.tgz
or just the output at:
Hi!
On Mon, Nov 26, 2001 at 01:36:07AM +0100, Robin Berjon wrote:
* The first page (Home) successfully validates at w3.org (HTML and CSS).
That's very good. Do the others validate as well (or at least, do you see any
reason why they wouldn't ?) ?
On some of the deeper pages, Pod::POM
Hi!
I've got a small CPAN Namespace Question:
Some time ago I wrote CGI::URI2param (
http://search.cpan.org/search?mode=modulequery=URI2param
).
Now, thanks to an idea by darren chamberlain, I wrote a small
PerlInitHandler that does nothing more than parse some PerlSetVars and then
call
Hi!
On Wed, Dec 12, 2001 at 01:44:52PM -0500, darren chamberlain wrote:
I didn't even think of that; if Apache is not installed, having
URI2Param.pm in site_perl/Apache doesn't matter. Therefore, I
would like to resubmit option 5:
5) Include Apache::URI2Param with the CGI::URI2Param
Hi!
On Mon, Dec 17, 2001 at 04:17:02PM -0500, David Harris wrote:
As one of the three contributers I'd like to reply to some points you made:
Thomas Klausner's isn't broken in anyway and acceptable, but I don't really
*like* the page look very much.
The main goal of my proposial wasn't really
Hi!
On Tue, Dec 18, 2001 at 10:28:04PM +0800, Stas Bekman wrote:
# Design by Votes
--
1. Thomas Klausner 86
yeah!
Since Thomas' design has won the gold, I suggest that we incorporate the
constructive comments (attached) into his design, with David Harris
Hi!
The URL
http://domm.zsi.at/source_code/modules/CGI-URI2param-1.00.tar.gz
has entered CPAN as
file: $CPAN/authors/id/D/DO/DOMM/CGI-URI2param-1.00.tar.gz
size: 4133 bytes
md5: 2b216c471242e72dbcfc73059431756e
The main thing that changed is that I included Apache::URI2param, a
Hi!
On Tue, Jan 22, 2002 at 03:02:58PM +0100, [EMAIL PROTECTED] wrote:
only pl-files are affected. Unfortunately I have some pl-files that
must not run under mod_perl (even not under PerlRun cause they are
really dirty) and I wonder if there is no way to set the orginal
cgi-handler (that
Hi!
On Fri, Feb 01, 2002 at 10:24:24AM -0800, Mod Perl wrote:
Here are the problems/Questions that I face:
1. Since in this case each requests for a html file
has multiple files that need to be downloaded by the
client. Am I right to assume that the handler will act
on each and every file
Hi!
On Sun, Feb 03, 2002 at 05:24:03PM -0800, Pierre Carette wrote:
I am trying to install the latest version of Mod_perl (version 1.26) with
Apache 1.3.23 on RedHat 7.2.
When I tried the make test from the mod_perl installation I had an error
saying that the module URI couldn't be found.
Hi!
As there are more and more mod_perl 2.x related questions on the mailing
list, it would be a good idea to introduce a new subject tag (as in
http://perl.apache.org/email-etiquette.html#Tags
):
Something like:
[mod_perl 2.x]
[mp2]
[2x]
[2.x]
??
What do you think?
It would definitly keep my
Hi!
On Thu, May 16, 2002 at 11:40:49AM +0100, Jonathan M. Hollin wrote:
Is it possible to force a 404-error from within a mod_perl CGI?
What about returning NOT_FOUND from your handler and let an ErrorDocument
print out the warning?
See Chapter 4, Handling Errors, in the Eagle book.
--
Hi!
On Sun, May 19, 2002 at 10:34:17AM +0200, Per Einar Ellefsen wrote:
At 10:22 19.05.2002, [EMAIL PROTECTED] wrote:
I have written scripts to add a user to the passwd and shadow files as well
as sendmail user files. When I run this script from the command line for
testing all runs and
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 output of a PHP script from a mod_perl
script.
As far as I know
Hi!
On Mon, Jun 03, 2002 at 03:40:57PM -0300, Udlei Nattis wrote:
PerlModule DBI
..
i test it in
Apache 2.0/Perl 5.8.0RC1/Modperl 1.99.02/03
Apache 2.0/Perl 5.7.3/Modperl 1.99.02/03
Apache 2.0/Perl 5.6.1/Modperl 1.99.02/03
Apache 2.0-cvs/All Perls/All Modperls
I'm not sure if Apache::DBI
Hi!
On Sun, Jun 09, 2002 at 12:42:15AM -0400, Jaberwocky wrote:
Does any one know of any modperl 2 resources? mailing lists,
stuff like that.
mod_perl 2 issues are discussed here on the mod_perl mailing list
Please read this before posting:
the headers (and to avoid
redundant code).
=head1 INSTALLATION
Dump it somewhere Apache can find it.
=head1 De-Obfuscation
To tired now. But I will post the obfu on perlmonks.org, and a
de-obfuscation probably somewhen later.
=head1 Author
Thomas Klausner, [EMAIL PROTECTED]
=head1 COPYRIGHT
O.pm
Hi!
On Sun, Jul 21, 2002 at 10:58:24PM -0400, Jonathon M. Robison wrote:
Anyone know offhand a good way to hide your perl code when using
mod_perl? Acme::Bleach isn't doing it - httpd is failing to start on
You could write an obfuscator. Maybe Acme::EyeDrop works?
See
Hi!
On Mon, Jul 22, 2002 at 10:26:32AM -0500, David Dyer-Bennet wrote:
So, specifically for the Linux environment, what are the downsides of
running mod_perl as a DSO? (Pointers to the FM so I can R it would be
fine.)
Did you take a look at this:
a new Template Fragment
You usually do not have to call this. You just say
$th-type($data)
and AUTOLOAD passes it to C_gen
=head1 EXPORT
Nothing.
=head1 SEE ALSO
Search for Ctemplate on http://search.cpan.org, if you dare.
=head1 AUTHOR
Thomas Klausner, [EMAIL PROTECTED], http://domm.zsi.at
Hi!
On Sat, Nov 16, 2002 at 10:43:44AM +0100, Marcin Kasperski wrote:
One note: while talking about templating systems for generating HTML,
it can be inspiring to take a look at the Zope Page Templates (yes, I
know, this is the python/zope world, not perl...). They found the nice
idea of
Hi!
On Fri, Nov 15, 2002 at 07:05:49PM -0800, Josh Chamas wrote:
Don't do it. If you want a stripped down version of
..
evolution of these things. The perl template user community is
already fractured enough,
I expected that canonical answer to all Template Proposals :-)
better to hop
Hi!
On Sat, Nov 16, 2002 at 03:31:39PM -0500, Perrin Harkins wrote:
I also posted this on perlmonks:
http://www.perlmonks.org/index.pl?node_id=213300
Ovid on Perlmonks already said some of the things I would have said
about needing a presentation language. For a templating system to be
Hi!
On Tue, Nov 19, 2002 at 07:08:00PM +, Mark Fowler wrote:
I need some tool that gets all the perl modules and
mason components, of an application we made, and obfucaste
it a little.
See Acme::Bleach
In fact you're probably better off using Acme::EyeDrops
Hi!
On Fri, Feb 14, 2003 at 03:52:35PM +0530, Devi .M wrote:
Now I tried authenticating the user, where I have to maintain
separate session for each user. When I saw how to do session management in
mod_perl a module called Apache::Session was told. But when I tried it,
that module was
Hi!
On Sat, Feb 15, 2003 at 12:07:28PM +0530, Devi .M wrote:
After authentication I have to redirect to
another page,if the user and passwd is right. I am able to view my HTML
page also correctly but below the page the following message is displayed.
When I checked the error.log , there was
Hi!
On Tue, Mar 04, 2003 at 12:54:30AM -0500, Matt Avitable wrote:
Does anyone know how one goes about disabling a particular handler
within a specific location? For example, consider the following:
Location /
PerlInitHandler config
PerlOutputFilterHandler filter
Hi!
On Tue, Mar 18, 2003 at 01:39:41PM -0500, Chris Faust wrote:
I'm running mod_perl 2 on RedHat with Apache 2.0.44 and I'm using NamedBased
Virtual Hosting in apache (so I have a number of virtual hosts and apache
directs properly based on hostname).
I use a startup.pl to load up common
Hi!
On Wed, Mar 19, 2003 at 03:55:20AM -0800, www.ReadNotify.com wrote:
I want to do this (serverside of course); is it
possible?
html
I am running
!#perl
print $ENV{MOD_PERL};
print process ID $$;
/!#perl
on Apache!!
/html
What modules/config/etc do I need to set up?
There are
Hi!
On Wed, Apr 02, 2003 at 12:49:56AM +0200, [EMAIL PROTECTED] wrote:
Is the O'Reilly about apache-modules what I'm looking for ? I've the
small O'reilly about mod_perl but it raises more questions than its
answers.
The Eagle book is definitly very interesting (if a little bit old - BTW,
Hi!
On Thu, Jun 05, 2003 at 01:37:59PM -0700, Dennis G. Allard wrote:
Please note, though, one of my goals in life is to rely on my software
providers to do the work of providing me with a stable, tested,
updatable OS and associated tools. If I download 'out of band' updates,
then I can no
Hi!
On Thu, Jun 05, 2003 at 01:56:58PM -0700, Dennis G. Allard wrote:
You don't need perl-blead (which is probably Stas' install of the latest
unstable Perl version)
This will do the same job:
% perl -Mmod-perl -le 'print mod_perl-VERSION'
Bummmer, that does not work either for me
Hi!
On Thu, Jun 05, 2003 at 11:00:37AM +0200, [EMAIL PROTECTED] wrote:
I'm running redhat 9 and trying to execute a perl script through a web
browser
http://host/file.pl
and the file displays as text, how do i get my apache to recognize this
extension?
This doesn't seems like a
Hi!
On Thu, May 29, 2003 at 12:19:49PM -0500, David Ressman wrote:
So far, so good. Everything works pretty well... Except that
something's caching previously entered form data and displaying it back
to me as the default values in those same forms. As an example, this
form has a text
Hi!
On Thu, May 29, 2003 at 10:27:54AM -0700, iCap wrote:
i have a collection of perl modules (running under the mod_perl umbrella)
and would like to distribute the application to several different sources
(clients with open internet web servers). but i dont want to send it out
without at
Hi!
On Tue, Jun 17, 2003 at 02:19:49AM +0200, Oskar wrote:
when I am executing perl script on Apache it seems that the current
directory is not the directory where the script is located but the directory
c:\program files\apache group\apache. I need current dir to be the script
dir since i
Hi!
On Fri, Jun 27, 2003 at 02:47:45PM +0400, Sergey V. Stashinskas wrote:
sub handler {
my $r = shift;
my $dbh = DBI-connect('dbi:mysql:db', 'user', 'pswd');
$dbh-disconnect;
maybe the DBI-connect isn't working and thus your script dies / throws some
error ?
I'd try to
Hi!
On Mon, Jul 14, 2003 at 04:59:17PM +0100, AROSO Jose Antonio wrote:
I install the all in one package which contain the modperl 2.0 and de apache
server 2.0.46.
But after install when i write in command line apache to run the server
appears The dynamic link library libxml2.dll could not
Hi!
On Mon, Jul 14, 2003 at 04:46:37PM -0500, Siva Yendapalli wrote:
I am totally a newbie to mod_perl. I could able to get the content length
using $r-headers_in(Content-Length). but I don't see anything in the $buf
when I call the function $r-read($buf,$r-headers_in(Content-Length)). I
Is
:Hi!
On Wed, Jul 16, 2003 at 10:46:27PM +0100, Ged Haywood wrote:
Hi there,
On Wed, 16 Jul 2003, Matthew Wu wrote:
I put all my subroutine in file.pm, what I need to do such that it
can be used by my program? I don't what location I need to put it in and
what kind of configuration
Hi!
On Thu, Jul 17, 2003 at 06:07:48PM -0700, Jason Fong wrote:
I'm making a login system that uses a web form instead of the browser's
popup box to input the username/password. My problem is that when I use
my authentication script as a PerlAuthenHandler in the .htaccess, it
insists on
Hi!
On Mon, Jul 21, 2003 at 12:36:55 +0200, Fatih Gey wrote:
I supposed the browser to resend always an unique bowser session id, which
is used by apache to save certain values, like $ENV{'REMOTE_USER'}
(similiar to a session-cookie with uid and serverbased $vars) ..
Isn't this the way Basic
Hi!
On Mon, Aug 11, 2003 at 08:37:19AM -0700, Coexec wrote:
I am writing a mod_perl script using CGI.pm and Apache
1.3.28/Linux.
I am trying to figure out how to use Apache's
mod_autoindex to display a directories contents within
the output the CGI. Apache is configured correctly, I
am
Hi!
On Mon, Aug 11, 2003 at 04:37:45 -0500, Slava Bizyayev wrote:
It's not quite the truth...
You can do all that staff on Apache 1.3 with appropriate skills. See LWP
for example.
If you mean to grab the output of e.g. mod_autoindex by issueing a sperate
request using LWP, that's definitly
Hi!
On Mon, Aug 18, 2003 at 08:07:30 -0400, Chris Faust wrote:
Example To Help Explain:
sub handler {
$r = shift;
init_global_vals();
$back_url = determine_proper_action();
my $back_url = ;
$r-headers_out-set(Location = $back_url);
return Apache::REDIRECT;
}
Why not let
Hi!
On Die, Aug 26, 2003 at 09:06:05 +1000, Charlie Garrison wrote:
I need to protect resources in both the static (proxy) front-end and the
mod_perl back-end. I have been using standard http authentication which works
pretty well except for not allowing a proper logout function and some
Hi!
On Mon, Sep 08, 2003 at 04:51:55PM +0100, Steve Hay wrote:
The project is going to be written as a series of mod_perl handlers -
one for the main home page, and others for various sub-components.
Each handler is implemented by a separate module (all sub-classes of a
common base
Hi!
On Tue, Sep 09, 2003 at 10:05:43AM +0100, Steve Hay wrote:
Location /myproject/css
SetHandler default
/Location
Location /myproject/img
SetHandler default
/Location
This is working as expected, i.e. request for /css/foo.css or /img/bar.png
are not handled by Apache::Dispatch
Hi!
On Thu, Sep 11, 2003 at 08:33:31AM +0100, Steve Hay wrote:
I posted this problem the other day, deep inside a thread about
something else, and didn't get any replies; maybe nobody spotted it?
Does anybody have Apache::Dispatch working on Windows with Perl 5.8.0?
Randy?
Randy
Hi!
On Thu, Sep 11, 2003 at 08:59:23AM +0100, Steve Hay wrote:
I would rather be able to build the module myself anyway, rather than
using a PPM package.
I guess (and Geoffrey (who BTW transfered maintainership of Apache::Dispatch
to me..) suggested something) the problem lies within the
Hi!
On Thu, Sep 11, 2003 at 10:24:20PM -0500, Randy Kobes wrote:
Here's a patch against the Apache-Dispatch Makefile.PL to
allow it to build on Win32 - I've also put up a ppm package
Oh, great! Thanks Randy! I'll put this into the next release, which should
happen in a few days...
--
Hi!
On Wed, Nov 14, 2001 at 01:31:52AM +0800, Stas Bekman wrote:
Obviously the site should be very light on graphics, but since you are
a good web designer you know this and all the other requirements
already. The only requirement we have is that this is an information
site, so avoid fancy
64 matches
Mail list logo