Nope, using:
Alias /contest /www/u-dev/contest
PerlModule Apache::Registry
PerlModule Apache::DBI
PerlTaintCheck On
Location /contest
SetHandler perl-script
PerlHandler Apache::Registry
PerlSetVar BlaTest BlaVal
PerlRequire
Sören Stuckenbrock wrote:
Nope, using:
Alias /contest /www/u-dev/contest
PerlModule Apache::Registry
PerlModule Apache::DBI
PerlTaintCheck On
Location /contest
SetHandler perl-script
PerlHandler Apache::Registry
PerlSetVar BlaTest BlaVal
At 12:52 22.04.2002, Sören Stuckenbrock wrote:
Nope, using:
Alias /contest /www/u-dev/contest
PerlModule Apache::Registry
PerlModule Apache::DBI
PerlTaintCheck On
Location /contest
SetHandler perl-script
PerlHandler Apache::Registry
Here's what Geoffrey Young said, you seem to have missed it:
you can't use $s (the server record) to capture PerlSetVar that exist
on a per-directory basis (within a Location or Directory block). try
Apache-request-dir_config('BlaTest');
instead. you should use
Hello again,
first, thank you for the support. Your suggestions helped alot and reading
the documentation you pointed me to, caused me to read further at
http://perl.apache.org/preview/modperl-docs/dst_html/docs/1.0/guide/perl.html#Using_Non_Hardcoded_Configuration_Module_Nameswhich
covers
(By the way: there's a typo at line 1 of the startup.pl
script: I think use Apache: should be use Apache;
right?)
Good catch! :-)
But following that guideline resulted in the next problem, I
could not yet solve on my own:
PerlSetVar seems not to work for me! The part of interest in
my
PerlSetVar seems not to work for me! The part of interest in my httpd.conf
looks like this:
Alias /contest /www/u-dev/contest
PerlModule Apache::Registry
PerlModule Apache::DBI
PerlTaintCheck On
Location /contest
PerlSetVar BlaTest BlaVal
SetHandler
PerlSetVar seems not to work for me! The part of interest in
my httpd.conf looks like this:
Alias /contest /www/u-dev/contest
PerlModule Apache::Registry
PerlModule Apache::DBI
PerlTaintCheck On
Location /contest
PerlSetVar BlaTest BlaVal
SetHandler perl-script
Hello Stas,
I have a question regarding your mod_perl documentation.
The method you described under:
http://perl.apache.org/preview/modperl-docs/dst_html/docs/1.0/guide/perl.html#Using_Non_Hardcoded_Configuration_Module_Names
Should this work to differentiate between the Config-Modules of two
Sören Stuckenbrock wrote:
Hello Stas,
I have a question regarding your mod_perl documentation.
The method you described under:
http://perl.apache.org/preview/modperl-docs/dst_html/docs/1.0/guide/perl.html#Using_Non_Hardcoded_Configuration_Module_Names
Should this work to differentiate
Sören Stuckenbrock wrote:
PerlSetVar seems not to work for me! The part of interest in
my httpd.conf looks like this:
Alias /contest /www/u-dev/contest
PerlModule Apache::Registry
PerlModule Apache::DBI
PerlTaintCheck On
Location /contest
PerlSetVar BlaTest BlaVal
11 matches
Mail list logo