> >
> > There is no "directory, .htaccess" in the context and that's like it
really
> > behaves. (unless they changed it in a very recent version and didn't
update
> > the docs, which I don't expect)
> >
> > PerlSetEnv is the only chance to have different values in different
> > directories.
>
> i
On Tue, 26 Jun 2001, Bolt Thrower wrote:
> My apologies if you've seen this twice.
>
> For a particular Location, I'd like to selectively (i.e., based on
> arbitrary criteria) determine whether a visitor needs authentication.
> So I set up a Location section in httpd.conf as follows:
> Pe
On Tue, 26 Jun 2001, Adi Fairbank wrote:
>
> Is it correct that when the Apache/mod_perl parent process swaps to disk, a
> large part of it (swapped pages) becomes unshared? Even after the kernel
> restores the pages from swap, do they remain unshared? So once the parent
> process becomes unsh
On Tue, 10 Jul 2001, Alberto Canzi wrote:
>
> Hi I need to use the ap_pool structure. In my Apache Module writing book
> is explained how to use it in C but nothing is said about using it in
> Perl.
>
> How does it work ? How may I use it in Perl?
what do you need to use it for from Perl?
much
On Tue, 10 Jul 2001, Dave Hill wrote:
>
> Hi,
> I am using mod_perl-1.25_01 on Tru64 unix with apxs.
>
> The default packaging creates the DSO mod_perl as libperl.so. This
> causes problems on Tru64 unix as the loader cannot differentiate between
> libperl.so which is part of the PERL distr
On Tue, 10 Jul 2001, Robin Berjon wrote:
> Hi,
>
> I've been looking around for a way for a section (or code called from
> it, or perhaps even loaded through PerlModule) to know the current
> VirtualHost in which it is, at server startup (ie without a request object
> handy).
>
> Apache->se
Hello. I've searched the internet and found many things relating to this,
but I thought I would present my own specific problem. I'm trying to install
mod_perl with IBM HTTP Server (which is really just apache 1.3.12) on AIX
4.3.3.
Everything installs fine, but when I tried to use Net::LDAP, apac
On Tue, 10 Jul 2001, Doug MacEachern wrote:
> unless ($r->header_in('Content-type')) {
i meant header_out, not header_in
On Mon, 9 Jul 2001, Louis-David Mitterrand wrote:
> Hi,
>
> After "upgrading" my installation to Apache-1.3.20 and mod_perl-1.25 as
> as a module I can't start apache anymore when httpd.conf contains:
>
> PerlRequire /etc/apache/perl/handler.pl
>
> And that file (for debugging purposes)
On Sun, 8 Jul 2001, Brooklyn Linux Solutions CEO wrote:
> Is there a way to know that headers have already been sent
> before send headers out?
you can check for things that should be empty until send_http_header is
called, e.g.
unless ($r->header_in('Content-type')) {
#header has not been
On 6 Jul 2001, Peter Rooney wrote:
> machine 1:
> CGI.pm version 2.46
> machine 2 (the new machine):
> CGI.pm version 3.02
3.02 is alpha, the README says:
Version 3 of CGI.pm is in alpha state. It has significant performance
improvements over the 2.X series, but is not stable. If you fin
On Fri, 6 Jul 2001, Stef Telford wrote:
> Hello,
> I hope this is the right place to put this. I have some code that takes data
> from a database and encrypts it via Blowfish and CBC. Not a problem so far,
> the problems comes with sending it to the client.
...
> Now, if i look at t
I'm no expert but I believe if you do what you want to do and return
DECLINED apache will pick it up from there.
According to the book Writing Apache Modules with Perl an C:
"DECLINED
The handler has decided it doesn't want to handle the request. Apache will
act as if the subroutine were never
hi members,
While we use a perl handler at any stage handle that
apache phase using our module, can Apache do its all default
processing for the same stage, or it works on nothing-or-all
approchm.
I want to modify the PerlTransHandler slightly, but I dont
want to rewrite all the processing
Ed Loehr wrote:
>
> > >I'm stumped ...
> > >In a nutshell, my problem is that POSTed form key-value pairs are
> > >intermittently not showing up in the request object inside my handler
> > >subroutine.
As I was puzzling over this, I saw this error message in the logs...
(offline mode: e
Hi,
I am using mod_perl-1.25_01 on Tru64 unix with apxs.
The default packaging creates the DSO mod_perl as libperl.so. This
causes problems on Tru64 unix as the loader cannot differentiate between
libperl.so which is part of the PERL distribution and libperl.so which
is the Apache DSO.
I fo
At 20:19 09.07.01 +0200, you wrote:
>It's your decision, but I think you waste your time while you make all the
>experiences the other had made during the last 3-5 years. I think it would
>more helpfull if you help to improve the other modules (for example makeing
>them easier to install etc.)
>
raptor wrote:
>
> hi,
>
> What I want is access from module to executed-at-the-moment script namespace
> i.e.
>
> the module Utils.pm :
>
> $"abc.asp"::buffer .= 'hello.';
>
> PS. It seems to work only if into the script I'm clearing $Utils::buffer at
> the begining of the script, but this i
Hi,
I've been looking around for a way for a section (or code called from
it, or perhaps even loaded through PerlModule) to know the current
VirtualHost in which it is, at server startup (ie without a request object
handy).
Apache->server returns the main server object (or so it seems, that
> > > > -Original Message-
> > > > From: Issac Goldstand [mailto:[EMAIL PROTECTED]]
> > > > Sent: Tuesday, July 10, 2001 10:44 AM
> > > > To: Geoffrey Young; 'João Pedro Gonçalves'; brian moseley
> > > > Cc: [EMAIL PROTECTED]
> > > > Subject: Re: detecting ssl
> > > >
> > > >
> > > > Not n
> > > > -Original Message-
> > > > From: Issac Goldstand [mailto:[EMAIL PROTECTED]]
> > > > Sent: Tuesday, July 10, 2001 10:44 AM
> > > > To: Geoffrey Young; 'João Pedro Gonçalves'; brian moseley
> > > > Cc: [EMAIL PROTECTED]
> > > > Subject: Re: detecting ssl
> > > >
> > > >
> > > > Not n
> -Original Message-
> From: Issac Goldstand [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 10, 2001 1:07 PM
> To: Geoffrey Young
> Cc: [EMAIL PROTECTED]
> Subject: Re: detecting ssl
>
>
> > > -Original Message-
> > > From: Issac Goldstand [mailto:[EMAIL PROTECTED]]
> > > Sen
Doug MacEachern <[EMAIL PROTECTED]> wrote:
>On Tue, 3 Jul 2001, James G Smith wrote:
>
>> The current code I have uses %INC, but I wanted to write
>> something like the following:
>>
>> sub use : immediate {
>> # do stuff here if logging
>> return CORE::use(@_);
>> }
>
>you could just overri
On Tuesday 10 July 2001 05:42, Doug MacEachern wrote:
> On Mon, 9 Jul 2001, Robin Berjon wrote:
> > cfg = (axkit_dir_config *)
> > ap_get_module_config(s->module_config, &XS_AxKit);
>
> try s->lookup_defaults instead of s->module_config
>
> see also: modperl-2.0/src/modules/perl/modperl_pc
> > -Original Message-
> > From: Issac Goldstand [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, July 10, 2001 10:44 AM
> > To: Geoffrey Young; 'João Pedro Gonçalves'; brian moseley
> > Cc: [EMAIL PROTECTED]
> > Subject: Re: detecting ssl
> >
> >
> > Not necessarily. I could easily set up a
hi,
What I want is access from module to executed-at-the-moment script namespace
i.e.
the module Utils.pm :
$"abc.asp"::buffer .= 'hello.';
the script xxx.asp :
use Utils;
use vars qw($buffer);
print $buffer
==
How can I do this. Currently I'm doing something like this :
the mo
On Tue, 10 Jul 2001, Christian Gilmore wrote:
> Hrm. Ok, I'll have to release new versions of my modules that have tests
> for mod_perl < 1.26. At what release level do you expect this patch to be
> committed?
well, i don't want to make any promises like i did for 1.26 :)
On Tue, 10 Jul 2001, Gerald Richter wrote:
> The docs says:
>
> SetEnv directive
> Syntax: SetEnv variable value
> Context: server config, virtual host
> Status: Base
> Module: mod_env
> Compatibility: SetEnv is only available in Apache 1.1 and later.
> Sets an environment variable, which is th
On Mon, Jul 09, 2001 at 02:07:21PM -0400, Perrin Harkins took time to write:
> > I think that CGI::FastTemplate does all of that.
> > Please have a look at it, and see if everything you need is not
> > already in it.
>
> It's a good module for CGI, since it doesn't rely on caching/compiling
> tec
Doug,
Thanks for the quick turn around. The patch works
great.
-MikeB.
-Original Message-
From: Doug MacEachern [mailto:[EMAIL PROTECTED]]
this patch should fix the problem. you should also be able to
s/PerlSetEnv/SetEnv/g, unless Embperl needs these variables before the
fix
> -Original Message-
> From: Issac Goldstand [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 10, 2001 10:44 AM
> To: Geoffrey Young; 'João Pedro Gonçalves'; brian moseley
> Cc: [EMAIL PROTECTED]
> Subject: Re: detecting ssl
>
>
> Not necessarily. I could easily set up any virtualhost
Had the same problem two days ago, solved it by copying old CGI.pm (luckily
we have few computers running linux).
Does Cpan have old module versions ? I believe so ...
Looking at the port number still doesn't ensure that the request is a SSL
request. I believe the mention to looking at $ENV{HTTPS} is the best couse
as that is set when the connection is a SSL connection and not just a
connection to port 443.
--Joe Breeden
--
Sent from my
hi,
I moved to CGI.pm 2.74 and everything is OK now :")
So be aware that u may have problems with the following config :
RedHat 7.1 + Apache 1.3.20/mod_perl 1.25, ASP.pm, CGI ver 3.x
CGI 3.01 even gives error on /compilation test.
CGI 3.02 doesn't give this error
HtH
=
iVAN
[EMAIL PROTEC
Hrm. Ok, I'll have to release new versions of my modules that have tests
for mod_perl < 1.26. At what release level do you expect this patch to be
committed?
Regards,
Christian
> -Original Message-
> From: Doug MacEachern [mailto:[EMAIL PROTECTED]]
> Sent: Monday, July 09, 2001 10:37 PM
Hi I need to use the ap_pool structure. In my Apache Module writing book
is explained how to use it in C but nothing is said about using it in
Perl.
How does it work ? How may I use it in Perl?
Many Thanks
--
Alberto Canzi
OpenFor s.r.l.
e-mail: [EMAIL PROTECTED]
> no need to do a lookup or rely on PerlSetupEnv On I wouldn't think...
>
> my $ssl = Apache::URI->parse($r)->scheme =~ m/^https/;
Or maybe just look at the port # of the request.
- Perrin
Not necessarily. I could easily set up any virtualhost on port 443 which
will be accessable by https://nasty.servername/ but will, in reality, not
necessarily be over a secure connection. $ENV{HTTPS}, on the other hand, is
set by mod_ssl, and is therefore a better sign to know that the connectio
hi again,
I've made some tests and debuging, the problem seems to be in CGI module...
first of all in eg/file_upload.asp this :
print $q->start_multipart_form();
returns this :
do U see no POST (the interesting thing is that $r->method returns GET in
this case i didn't knowed that :") )..
Hi I need to use the ap_pool structure. In my Apache Module writing book
is explained how to use it in C but nothing is said about using it in
Perl.
How does it work ? How may I use it in Perl?
Many Thanks
--
Alberto Canzi
OpenFor s.r.l.
e-mail: [EMAIL PROTECTED]
On Fri, 6 Jul 2001, Purcell, Scott wrote:
> Hello,
> I am working with mod_perl and apache on NT (No ripping please ... it is a
> political issue here at my work.).
> Anyway, I have been trying to learn more about taking advantage of handlers,
> etc. I purchased the book "Writing Apache Modules w
> -Original Message-
> From: João Pedro Gonçalves [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 10, 2001 9:08 AM
> To: brian moseley
> Cc: [EMAIL PROTECTED]
> Subject: Re: detecting ssl
>
>
> This approach should be ok:
>
> my $s = $r->lookup_uri($r->uri);
> my $ssl = $s->subproces
This approach should be ok:
my $s = $r->lookup_uri($r->uri);
my $ssl = $s->subprocess_env('HTTPS');
I looked at this a while back and this is usually set internally
in apache by the ssl implementation.
João Pedro
brian moseley wrote:
>
> warning: these may be silly questions. but i've
warning: these may be silly questions. but i've looked
through the guide and not found the answers, so hopefully
they're not that silly.
how can i test in a content handler if the request was
received over an ssl connection? do i have to look for an
environment variable? is there a test that wor
On Fri, 6 Jul 2001, Doug MacEachern wrote:
> adjust perl_clear_symtab() to deal properly bleedperl's version of
> cv_undef() (which broke modules with directive handlers)
> thanks to Geoffrey Young for the spot
FWIW, perl_clear_symtab is the only part of config directives now that
cause segfault
Hello,
My apache segfaults when I start it in SSL mode and a page is accessed. If
it is started in standard mode, it runs fine.
I've been able to create a stable apache using apache 1.3.12-Raven
1.4.1-mod_perl 1.24 and perl 5.005_3. I think the problem is more in the
perl version than the mod_pe
46 matches
Mail list logo