Oleg R. wrote:
> Grettings to everyone! I use apache for my web server and mod_perl for
> an output filter. Everything works fine, exept one thing. I want my
> perl-filter to be able to read some data from an htaccess file ,
> dependind on the web-site. I want for some sites to add an advertising
Fabian Fagerholm wrote:
> By "this functionality", do you mean "implementing an arbitrary
> ap_hook_* function in mod_perl" or "implementing an
> ap_hook_get_suexec_identity function in mod_perl"? :)
The latter.
--
Philip M
On Mon, 2006-09-25 at 22:09 -0700, Philip M. Gollucci wrote:
> I believe you want this file:
> xs/maps/apache2_functions.map
[...]
> see src/modules/perl/mod_perl.c:modperl_register_hooks()
Excellent, this helps understanding the mod_perl internals. Apparently
the hooks really are hardcoded, and I
Fabian Fagerholm wrote:
> However, I can't seem to find which ones are available as Perl*Handler
> directives and how to access those that aren't.
I believe you want this file:
xs/maps/apache2_functions.map
> static void register_hooks(apr_pool_t * p)
> {
> ap_hook_get_suexec_identity(my_suxe
sajid khan wrote:
> Fred, below is sample configuration used
>
>
> SetHandler perl-script
> PerlHandler Apache::Hello
> PerlSetVar somevar 50
>
I'm almost sure this works correctly (but I could be wrong). Can you look at
t/response/TestModperl/setupenv.pm
and see if your case is covered. I b
Fred, below is sample configuration usedSetHandler perl-script
PerlHandler Apache::HelloPerlSetVar somevar 50
Regarding your below question, the answer is yes>>Are you>>saying that in 2.0 PerlSetVar works properly for you in ,>>but not ?
Please let me know if I am overlooking or missing anythin
I am having a strange problem with Apache2::Upload in a Mason mod_perl
environment. It works on a test box running Centos (2.6.9-42.0.2.EL)
but then crashes on a production box running RHEL (2.6.9-42.0.2.ELsmp)
as shown here:
System error
error:
Can't locate auto/APR/Request/Param/slurp.al in @IN
On 9/25/06, Fabian Fagerholm <[EMAIL PROTECTED]> wrote:
The question is, how do I implement the above in mod_perl? More
generally, how do I implement an arbitrary ap_hook_* function in Perl
and register it with Apache2?
AFAIK, I don't think you can, unless you hack the mod_perl sources. If
I r
Hi!
I'm trying to port some Apache2 modules written in C to mod_perl, to
reduce the time and effort required to maintain them. The modules do
various small things, such as providing custom hooks for suExec and URL
translation. They hook extensively into Apache2 using ap_hook_*
functions.
The mod_
Grettings to everyone! I use apache for my web server and mod_perl for an
output filter. Everything works fine, exept one thing. I want my perl-filter
to be able to read some data from an htaccess file , dependind on the
web-site. I want for some sites to add an advertising banner , and
inform
10 matches
Mail list logo