The URL
ftp://ftp.dev.ecos.de/pub/perl/embperl/Embperl-2.0.1.tar.gz
has entered CPAN as
file: $CPAN/authors/id/G/GR/GRICHTER/Embperl-2.0.1.tar.gz
size: 656442 bytes
md5: 594e78d3cba91b0e6b5203f185fac5f1
Embperl 2.0.0 contains major enhancements over Embperl 1.3.6, like improved
perfo
I know what you mean.
I have this feeling that Perl is generally 'frozen' until Perl 6 comes out.
Otherwise things must 'move along' quietly. Publishers (O' Reilly) are
complaining that Perl is not a sellout it used to be. That probably caused
the print slump as well.
- Original Message -
I would go with Frank's mod-redirect/ mod-rewrite alternative. It makes for
cleaner code. The downside though is that if your code references images in
the same directory via relative links, then you may have a problem.
- Original Message -
From: "Frank Wiles" <[EMAIL PROTECTED]>
To: "Oct
> The other solution is to have your handler detect that the incoming
> request is for static content and return Apache2::Const::DECLINED
> which should pass control back to the normal static file processing
> in Apache.
I didn't know about DECLINED passing control back to normal flow. That
Christopher H. Laco wrote:
No love. This block segfaults my apache2/mp2:
if (exists $ENV{MOD_PERL_API_VERSION} &&
$ENV{MOD_PERL_API_VERSION} == 2) {
require Apache2::RequestRec;
require Apache2::RequestUtil;
require Apache2::RequestIO;
require Apache2::Serve
I am upgrading my previous Apache 1.3.27 to 2.0.(54)
(latest) for a
perl application, both SSL
enabled and on Win32. I have just setup
Apache 2.0 with Mod_perl2(2.0.1). The problem is coming
when I am
trying to port application code. The following error is
encountered
during the executi
Geoffrey Young wrote:
I'm just trying to write code in a config reader that reads
server->dir_config when it's loaded into apache, and request->dir_config
when it is called during requests.
all your other questions aside for the moment, I don't understand from where
you might be trying to do t
Geoffrey Young wrote:
[snip]
if you're worried about the server part being called when the module is
being loaded initially during a request (say, if someone didn't use
PerlModule) then something like this might work
my $r_or_s = eval { Apache2::RequestUtil->request } ||
> I'm just trying to write code in a config reader that reads
> server->dir_config when it's loaded into apache, and request->dir_config
> when it is called during requests.
all your other questions aside for the moment, I don't understand from where
you might be trying to do that.
My::Package
I'm somewhat confused on how to write perl module code that DTRT when
it's loaded under MP2 when using PerlModule/PerlLoadModule.
Initially, I started out with this code:
$value = Apache2::RequestUtil->request->dir_config($key) ||
Of course, this failed under MP2 and caused apache to issue t
Michael Hall wrote:
Try simply:
$r->headers_out->set(Location => 'to-URI');
make sure 'to-URI' is absolute and not relative as per the RFC's. I
have had some problems with relative URI's since Apache tends to want to
optimize the call. Instead of sending the 302 headers to the browser,
I practically live there at times.
What I'm looking for actually is something that will be up to date more
when it comes to
using perl modules with mod_perl. I've noticed a lot of time either me
or someone else
mentioning examples given from Practical mod_perl, etc. Then someone
on the list
12 matches
Mail list logo