Glad I could help!
On Wed, Jul 15, 2015 at 8:19 PM, Jim Garrison wrote:
> On 7/15/2015 5:07 PM, Jim Garrison wrote:
> > I have the following config
> >
> >
> [snip]
> >
> > However it's getting empty strings for the values. This was working
> > when the PerlSetVar directives were outside the Vi
On 7/15/2015 5:07 PM, Jim Garrison wrote:
> I have the following config
>
>
[snip]
>
> However it's getting empty strings for the values. This was working
> when the PerlSetVar directives were outside the VirtualHost block.
It seems when you access dir_config through the ServerRec you only get
I'm also using a virtual host, though I place my PerlSetVar without a
. This is the code that I use to extract them:
foreach my $apache_key (CORE::keys %{$apache->dir_config}) {
$literals{$apache_key} = $apache->dir_config->{$apache_key};
}
In this example, $apache is an instance
*within a
On Wed, Jul 15, 2015 at 8:12 PM, John Dunlap wrote:
> I'm also using a virtual host, though I place my PerlSetVar without a
> . This is the code that I use to extract them:
>
> foreach my $apache_key (CORE::keys %{$apache->dir_config}) {
> $literals{$apache_key} = $apache->dir
Pat Downey schrieb:
I guess I might have to modify the module to recognise another couple
of variables say CrowdAllowedWriteGroups and CrowdAllowedReadGroups
and not worry about the directives as I think I'm using them
in a way that wasn't intended.
That's what I think, too. The relevant conc
2009/1/23 Torsten Foertsch
> PerlSetVar CrowdAllowedGroups reader,writer
> Require valid-user
>
>PerlSetVar CrowdAllowedGroups writer
>
>
Thanks for the response Torsten, unfortunately this still exhibits the
same behaviour that I was experiencing before.
In both your example and the
On Fri 23 Jan 2009, Pat Downey wrote:
>
> PerlSetVar CrowdAllowedGroups reader,writer
> Require valid-user
>
>
> PerlSetVar CrowdAllowedGroups writer
> Require valid-user
>
>
>
> What I'd like is for members of the reader or writer groups to have
> GET access and only m
On Tue, Oct 14, 2008 at 10:03 AM, André Warnier <[EMAIL PROTECTED]> wrote:
> , but in a a specific , I would like to reset this to
>
> PerlSetVar myvar ""
I've never done this, but did you try undef? Or maybe 0, if you just
want to test for true.
- Perrin
On Thu, 2006-08-03 at 08:47 +0300, Vladimir S. Tikhonjuk wrote:
> Well, now I'll try to explain why I have asked such question. I have
> startup.pl with connect_on_init dunction.
> Also, I want to use Apache::AuthDBI. And I want options for
> Apache::DBI->connect(...) to be stored into httpd.co
Well, now I'll try to explain why I have asked such question. I
have
startup.pl with connect_on_init dunction.
Also, I want to use Apache::AuthDBI. And I want options for
Apache::DBI->connect(...) to be stored into httpd.conf
or another but the only place.
I think that I could declare
Philip M. Gollucci пишет:
>Vladimir S. Tikhonjuk wrote:
>
>
>>Philip M. Gollucci пишет:
>>
>>
>>
>>>Vladimir S. Tikhonjuk wrote:
>>>
>>>
>>>
>>>
I set in httpd.conf variable like: PerlSetVar var test;
How can I get it in the startup.pl script ?
Vladimir S. Tikhonjuk wrote:
> Philip M. Gollucci пишет:
>
>> Vladimir S. Tikhonjuk wrote:
>>
>>
>>> I set in httpd.conf variable like: PerlSetVar var test;
>>>
>>> How can I get it in the startup.pl script ?
>>>
>>>
>> http://perl.apache.org/docs/2.0/user/config/config.html#C_PerlSetVar
On Aug 2, 2006, at 7:18 AM, Vladimir S. Tikhonjuk wrote:
Well, nice advise, but where can I get $r ( Apache2::RequestRec )
variable in startup.pl script ?
In handler script - everything is O.K. But startup.pl!
You can't.
Apache2::RequestRec is a per-request variable.
startup.pl/httpd.conf ar
Philip M. Gollucci пишет:
>Vladimir S. Tikhonjuk wrote:
>
>
>>I set in httpd.conf variable like: PerlSetVar var test;
>>
>>How can I get it in the startup.pl script ?
>>
>>
>http://perl.apache.org/docs/2.0/user/config/config.html#C_PerlSetVar_
>
>You might want to read and re-read and re
Vladimir S. Tikhonjuk wrote:
> I set in httpd.conf variable like: PerlSetVar var test;
>
> How can I get it in the startup.pl script ?
http://perl.apache.org/docs/2.0/user/config/config.html#C_PerlSetVar_
You might want to read and re-read and re-read and re-read
The 2.0 Users Guide here
Enrico Sorcinelli wrote:
[...]
Index: src/modules/perl/Apache.xs
[...]
-if (!SvTRUE(RETVAL)) {
+if (!SvOK(RETVAL)) {
[...]
Hi Geoff,
the patch seems to work fine.
I've applied it over mp 1.29 (with Apache 1.3.28)
Since this is a bug, fixing it is a right thing to do. If someone was relying
On Tue, 25 Nov 2003 15:47:07 -0500
Geoffrey Young <[EMAIL PROTECTED]> wrote:
> > I'll
> > take a look at 1.0 "soonish"
>
> it looks like the logic is pretty much the same in 1.0 as well.
>
> please try this (untested) patch and let me know if it fixes things for you.
>
> --Geoff
>
> Index: sr
On Tue, 25 Nov 2003 15:34:16 -0500
Geoffrey Young <[EMAIL PROTECTED]> wrote:
> Enrico Sorcinelli wrote:
> > Hi all,
> >>
> > I have this PerlSetVar behaviour. Suppose to have:
> >
> >
> > SetHander perl-script
> > PerlSetVar Something 0
> > PerlResponseHa
> I'll
> take a look at 1.0 "soonish"
it looks like the logic is pretty much the same in 1.0 as well.
please try this (untested) patch and let me know if it fixes things for you.
--Geoff
Index: src/modules/perl/Apache.xs
===
RCS f
Enrico Sorcinelli wrote:
> Hi all,
>
> I have this PerlSetVar behaviour. Suppose to have:
>
>
> SetHander perl-script
> PerlSetVar Something 0
> PerlResponseHandler MyModule
>
>
> But in MyModule.pm, $r->dir_config('Something') returns an
Enrico Sorcinelli wrote:
Hi all,
I have this PerlSetVar behaviour. Suppose to have:
SetHander perl-script
PerlSetVar Something 0
PerlResponseHandler MyModule
But in MyModule.pm, $r->dir_config('Something') returns an undef value
21 matches
Mail list logo