Hi!
On Fri, Sep 12, 2003 at 01:46:24PM +0200, Per Eric Ros?n wrote:
> I use Apache::AuthCookie 3.04, which seems to be the latest version, under
> Apache/1.3.26 Ben-SSL/1.48 (Unix) Debian GNU/Linux PHP/4.1.2 mod_perl/1.26.
I'm using quite the same setup (without PHP and ssl) and do not get those
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...
--
#!/us
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 cu
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 p
Hi!
On Tue, Sep 09, 2003 at 10:05:43AM +0100, Steve Hay wrote:
> >
> > SetHandler default
> >
> >
> > SetHandler default
> >
> >
> >This is working as expected, i.e. request for /css/foo.css or /img/bar.png
> >are not handled by Apache::Dispatch
> >
> >
> What about requests for /css or /img ?
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 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 ca
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;
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 Wed, Aug 13, 2003 at 09:28:37AM -0700, Wes Plate wrote:
> I am getting up and running a server that wants mod_perl. The instructions
> talks about a startup script. I'm very new, so I don't know how I'm
> supposed to get this step completed.
See here for some infos on startup.pl;
http:
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
Hi!
On Sun, Jul 27, 2003 at 09:17:25PM -0700, Russell Lundberg wrote:
> Does anyone know where I might find a PPD file for Apache::Dispatch? I'm
Sorry, no, but:
Apache::Dispatch needs to be compiled because it uses its own custom
directives (i.e. DispatchPrefix instead of PerlSetVar DispatchPref
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
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 h
: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 confi
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"))
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
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 t
Hi!
On Mit, Jun 25, 2003 at 07:02:31 -0400, Bill Marrs wrote:
> If I can't find the mod_perl rpm I need, it's looking like I might need to
> build it from source. I believe this would mean also building Perl and
> Apache from source.
>
> Now, I have a redhat-installed Perl already. From past
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 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
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 eit
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 n
Hi!
On Don, Jun 05, 2003 at 12:35:37 -0700, Dennis G. Allard wrote:
> I am running Red Hat 8.0, Apache/2.0.40.
AFAIK, mod_perl 1.x won't run with Apache 2.0, so I'm quite sure you're
running mod_perl 2 (which comes shipped with Red Hat 8)
--
#!/usr/bin/perl http:/
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 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 f
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 - B
Hi!
On Fri, Mar 28, 2003 at 02:27:29PM -0500, Todd White wrote:
> i'm seeking a means by which i can allow my web users to "logoff" after
> authenticating for access to restricted web space. i realize that users
> can just close their browser, but i'm seeking a solution that allows the
> browser
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?
>
>
> I am running
>
> print $ENV{MOD_PERL};
> print "process ID $$";
>
> on Apache!!
>
>
> What modules/config/etc do I need to set up?
There are various
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 com
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:
>
>
> PerlInitHandler config
> PerlOutputFilterHandler filter
>
>
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
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 w
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
http://search.
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
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 h
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
Template::YetAnother Handler Object.
=head2 fill
$th->fill($data);
Fill the template with the data in the data structure.
=head2 _gen
my $fragment=$th->_gen('type',$data)
Generates a new Template Fragment
You usually do not have to call this. You just say
$th->type($data
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:
http://perl.apache.org/docs/1.0/guide/i
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
http://domm.zsi.at/
'll even get the I of the child.
=head2 O::p
Just a utility function used to send 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
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:
http://perl.apache.org/release/maillist/email-eti
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 Apach
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 k
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
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.
--
D_
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 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 f
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 fi
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!
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
Per
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 desig
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 reall
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::URI2Para
Hi!
I've got a small CPAN Namespace Question:
Some time ago I wrote CGI::URI2param (
http://search.cpan.org/search?mode=module&query=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 uri2pa
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 g
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:
http://domm.zsi.at/modperl-site-domm/modperl-site-domm.dst
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 fanc
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 eToys
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!
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 b
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 workin
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!
On 26 Jun 2001, at 14:17, Andrew Ho wrote:
> That's my script. The caveat is, that it will *never* be possible to
> simulate mod_perl entirely--that would be so complex that you might as
> well have everybody run a single-child Apache with mod_perl instead.
I agree if you are out for debuggin
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-
modperl&m=98719810927157&w=2
I knew this script (it was posted here, too), and while it
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 mod_per
Hi!
On 14 Jun 2001, at 14:03, Andrew Ho wrote:
> JK>What is the best way to attach a module to be run when a user first
> JK>enters the site?
> GED>Can you be a bit more specific?
> I think the question is better phrased by the subject, "how can I
> use mod_perl to handle all requests?"
> ..
T
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 configuration
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
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!
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 the
71 matches
Mail list logo