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
Given this server configuration (this is a front-end lightweight
Apache, which uses mod_accel to proxy to a back-end mod_perl Apache):
ServerName www.shoujoai.com
ServerAlias shoujoai.com
AccelPass / http://127.0.0.1:8002/
and given a file called "redir.asp", which contain
No wonder this seemed familiar. I wrote pretty much the same memo six weeks
ago. D'oh! I've been spending too much time at the keyboard...
So is PerlOptions +Parent working? Whenever I enable it I get a segfault on
W2K / Ap2.0.46 / mp1.99.10dev.
mma
> -Original Message-
> From: Marc
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 having
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 having the browser show the popup username/password box. I
tried making a
use constant MP2 => ($mod_perl::VERSION >= 1.99);
# test for the version of mod_perl, and use the appropriate libraries
BEGIN {
if (MP2) {
require Apache::Const;
require Apache::Access;
require Apache::Connection;
require Apache:
Hi there,
On Thu, 17 Jul 2003, Bernhard Donaubauer wrote:
> I just startet learning mod_perl and apache. I use the current version of
> mod_perl 1 and apache 1.3. Perl itself has version 6.5.1.
Can you be a little more careful with your version numbers in future?
> but my testapplication does
(That's supposed to be send_http_header() - and there's prob a few other
errors in there. :)
On Thu, 2003-07-17 at 13:50, Mark Maunder wrote:
> Thanks - would be helpful if you could try to use pnotes to communicate
> between two mod_perl handlers. Just some really basic code like:
> package MyCon
Thanks - would be helpful if you could try to use pnotes to communicate
between two mod_perl handlers. Just some really basic code like:
package MyContentHandler;
use Apache::Constants qw( :common );
sub handler
{
my $r = shift @_;
$r->pnotes('mykey', 'A regular string scalar');
> Has anyone gotten $r->pnotes() to work under Apache 1.3.27 and mod_perl
> 1.27? A simple yes will do because then at least I'll know if it's my
> mistake or a bug.
I'll work on it when I get home again. weee, thursday, gotta have this
project done monday.. *sigh*
The good news, is that I run
On Thu, 17 Jul 2003, Shannon Eric Peevey wrote:
> > Have you imported them?
> > use Apache::Const compile ->qw(Apache::HTTP_FORBIDDEN);
> > All the available Apache:: constants are listed here:
> > http://perl.apache.org/docs/2.0/api/Apache/Const.html
>
> I have included the bare minimum of the co
Let's say I want to create a site with five virtual hosts. I want all of
them to share the basic MP2 stuff, Apache-related modules and so forth.
Then, for Virtual Host 1 (VH1 for short ;) I want to specify a set of
modules unique to VH1. For VH2-VH4 I want to specify another set of
modules, but t
Sorry about the repost, but this is driving me nuts.
Has anyone gotten $r->pnotes() to work under Apache 1.3.27 and mod_perl
1.27? A simple yes will do because then at least I'll know if it's my
mistake or a bug.
It's this posting that makes me think it's a bug:
http://groups.yahoo.com/group/mod
On Thu, 2003-07-17 at 14:15, Andy Harrison wrote:
> Ok, so since my rt vhost has these lines:
>
> PerlModule Apache::DBI
> PerlRequire /usr/local/rt3/bin/webmux.pl
>
>
> SetHandler perl-script
> PerlHandler RT::Mason
>
>
> Will they be the only vhost to us
-BEGIN PGP SIGNED MESSAGE-
~
On 17-Jul-2003, Perrin Harkins wrote message "Re: mod_perl and perl version"
~
>
> All scripts that run under mod_perl will be executed usi
On Thu, 2003-07-17 at 14:05, Andy Harrison wrote:
> I'm installing RT 3.0.4 on a fresh server and I'm getting tripped up installing
> mod_perl. What I'm worried about is if I install mod_perl against perl 5.8.0,
> will all scripts that get run on apache be executed using perl version 5.8.0?
All s
-BEGIN PGP SIGNED MESSAGE-
I'm installing RT 3.0.4 on a fresh server and I'm getting tripped up installing
mod_perl. What I'm worried about is if I install mod_perl against perl 5.8.0,
will all scripts that get run on apache be executed using perl version 5.8.0?
Or can I lock that down t
On Thu, 2003-07-17 at 18:56, Frank Wiles wrote:
> > What is the obvious thing I am overlooking?
>
> It's PerlSetVar not SetPerlVar.
* Blush *
Thanks.
Regards,
Walter
--
All things that are, are with more spirit chased than enjoyed.
-- Shakespeare, "Merchant of Venice"
Have you imported them?
use Apache::Const compile ->qw(Apache::HTTP_FORBIDDEN);
All the available Apache:: constants are listed here:
http://perl.apache.org/docs/2.0/api/Apache/Const.html
Hi!
I have included the bare minimum of the code from the module,
(Apache::AuthenNTLM). It is still a
On 17 Jul 2003 18:47:06 +0200
"Walter H. van Holst" <[EMAIL PROTECTED]> wrote:
> Hello,
>
> If I use SetPerlVar in my apache-perl httpd.conf by just plainly
> stating.
>
> SetPerlVar Foo Bar
>
> Apache-perl won't start:
>
> Syntax error on line xxx of /etc/apache-perl/httpd.conf:
> Invalid c
Thanks for all the feedback. This problem is strange in that I haven't
been able to duplicate it. IE got itself in a wierd situation where I
would hit Reload (and press OK to confirm a rePOST) and the problem
would consistently occur. Once I took IE out of that loop, I couldn't
duplicate it.
The
On Today at 6:47pm, WHvH=>Walter H. van Holst <[EMAIL PROTECTED]>...:
WHvH> Hello,
WHvH>
WHvH> If I use SetPerlVar in my apache-perl httpd.conf by just plainly
WHvH> stating.
WHvH>
WHvH> SetPerlVar Foo Bar
WHvH>
Try PerlSetVar instead.
For 1.0
http://perl.apache.org/docs/1.0/guide/config.ht
Hello,
If I use SetPerlVar in my apache-perl httpd.conf by just plainly
stating.
SetPerlVar Foo Bar
Apache-perl won't start:
Syntax error on line xxx of /etc/apache-perl/httpd.conf:
Invalid command 'SetPerlVar', perhaps mis-spelled or defined by a module
not included in the server configurati
: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,
Is it possible to use different PerlINC-Paths in different virtual hosts
in mod_perl2. In mod_perl1 I've used Apache::PerlVINC what do I use in
mod_perl2?
thx
tom
Stas Bekman wrote:
speeves wrote:
Hi!
Just wondering if Apache::HTTP_FORBIDDEN and
Apache::HTTP_INTERNAL_SERVER_ERROR have been implemented? I have
been trying to port Apache::AuthenNTLM, and keep getting:
[Tue Jul 15 16:46:08 2003] [error] failed to resolve handler
`Apache::AuthenNTLM'
[Tu
Hello Bernhard Donaubauer,
Thursday, July 17, 2003, 5:34:57 PM, you wrote:
BD> Hello!
BD> I just startet learning mod_perl and apache. I use the current version of
BD> mod_perl 1 and apache 1.3. Perl itself has version 6.5.1.
BD> My aim ist to set some environment variables visible to all apac
Stuart Johnston wrote:
I am trying to setup Virtual Hosts each with their own Perl interpreter.
I found the "PerlOptions +Parent" configuration but that requires
ithreads. Is there another similar option I should look at that does
not requre ithread?
No. Perl interpreter pools are possible onl
speeves wrote:
Hi!
Just wondering if Apache::HTTP_FORBIDDEN and
Apache::HTTP_INTERNAL_SERVER_ERROR have been implemented? I have been
trying to port Apache::AuthenNTLM, and keep getting:
[Tue Jul 15 16:46:08 2003] [error] failed to resolve handler
`Apache::AuthenNTLM'
[Tue Jul 15 16:46:08 200
Mark Maunder wrote:
I'm running all scripts under Apache::Registry and using Apache::Request
because I'm handling file uploads. Sorry, should have included that.
I did test this: I modified the Apache::Registry script that was being
posted to so that it didn't create an Apache::Registry request o
Hello!
I just startet learning mod_perl and apache. I use the current version of
mod_perl 1 and apache 1.3. Perl itself has version 6.5.1.
My aim ist to set some environment variables visible to all apache/perl
children (as far as I unsterstand there is one perl instance for each apache
child)
[please don't take the threads off the list]
ColinB wrote:
--- Stas Bekman <[EMAIL PROTECTED]> wrote:
ColinB wrote:
So how can I go about installing just Apache::Registry from the
mod_perl 1 tar file without having to install ALL of mod_perl 1 ?
simply copy it into one of the dirs in your @INC.
--- Stas Bekman <[EMAIL PROTECTED]> wrote:
> ColinB wrote:
> > So how can I go about installing just Apache::Registry from the
> > mod_perl 1 tar file without having to install ALL of mod_perl 1 ?
>
> simply copy it into one of the dirs in your @INC.
>
> You will also need to load Apache::compat
33 matches
Mail list logo