? $_[0] : $_[1];
# $r->is_initial_req is handy here
$r->push_handlers(PerlResponseHandler => \&_response_handler); # For this
request
$r->handler('modperl'); # Unless set in Apache config
return Apache2::Const::DECLINED; # Allow subsequent trans handlers to run
}
I can set handlers directly from Apache config:
PerlResponseHandler code::A
PerlResponseHandler code::B
code A called only once and code B once too, only for specific Virtual Hosts.
I need to make same config from my startup perl script, I want to read
some own config data and then
On 09-11-22 17:42 , Devrim Yasar wrote:
> This script supposedly should take * out of *.domain.com, assign it to
> $subdomain variable, and $subdomain should be put to AssignUserId.
>
> However, no matter how hard I try, I can't get this to work. I've been
> working on this for days, and am really
This script supposedly should take * out of *.domain.com, assign it to
$subdomain variable, and $subdomain should be put to AssignUserId.
However, no matter how hard I try, I can't get this to work. I've been
working on this for days, and am really desperate. If you think this
is a lot of w
This script supposedly should take * out of *.domain.com, assign it to
$subdomain variable, and $subdomain should be put to AssignUserId.
However, no matter how hard I try, I can't get this to work. I've been
working on this for days, and am really desperate. If you think this
is a lot of w
On Sat, 20 Oct 2007, Michael Moon wrote:
When I attempt to start apache I get the error Invalid command
PerlModule. Obviously I don't have httpd.conf configured correctly,
You need to first enable mod_perl in httpd.conf; see
http://perl.apache.org/docs/2.0/user/config/config.html#Enabling_mo
: modperl@perl.apache.org
Subject: Apache config and mod_perl location?
When I attempt to start apache I get the error Invalid command
PerlModule. Obviously I don't have httpd.conf configured correctly, but
in reading the instructions I don't understand what directory I am
supposed
When I attempt to start apache I get the error Invalid command
PerlModule. Obviously I don't have httpd.conf configured correctly, but
in reading the instructions I don't understand what directory I am
supposed to use for the Alias /perl/ directory.
Make test and make install ran without
On Wed, 2006-09-20 at 08:12 -0700, Dave Viner wrote:
> Hi,
>
> I'm trying to set a special Perl handler for the "homepage" or index
> page of a site. A directive like:
>
>
> SetHandler perl-script
> PerlResponseHandler Cool::Handler
>
>
> causes a
Hi,
I'm trying to set a special Perl handler for the "homepage" or index
page of a site. A directive like:
SetHandler perl-script
PerlResponseHandler Cool::Handler
causes all requests to be served by Cool::Handler. However, I want
only requests t
do that, it's pretty simple. Nothing mod_perl-specific.
Just use the standard DirectoryIndex stuff.
> and set execute perm on 1 of the dirs in the apache config
ExecCGI, as shown in those docs.
> if some1 can post a quick example and maybe update the online docs. They left
> me
erl 2.0 working with apache thanks to INSTALL but the scripts
fail randomly.
>From memory when I used to do alot more modperl setups in 1.3 shouldnt u
have to add:
the module loading line
Line that says execute .pl
add index.pl to indexes
and set execute perm on 1 of the dirs in the apache conf
Tom Schindl wrote:
Isn't he talking about mp2
"But alas modperl 1.x no such luck"
- Perrin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Perrin Harkins schrieb:
> Jacob Jarick wrote:
>
>> The installation documents are pretty good but I cant help but be
>> frustrated when there is no example of the lines to add to httpd.conf .
>> I Have managed to configure mod_perl 2.0 with apache, t
Jacob Jarick wrote:
The installation documents are pretty good but I cant help but be
frustrated when there is no example of the lines to add to httpd.conf .
I Have managed to configure mod_perl 2.0 with apache, the INSTALL guide
in the tarball has the few lines needed.
But alas modperl 1.x no
The installation documents are pretty good but I cant help but be
frustrated when there is no example of the lines to add to httpd.conf .
I Have managed to configure mod_perl 2.0 with apache, the INSTALL guide
in the tarball has the few lines needed.
But alas modperl 1.x no such luck. Could some1
16 matches
Mail list logo