On Wed, 2003-07-02 at 03:25, J�rg Walter wrote:
> Am Wednesday, 02. July 2003 11:18, schrieb Robert Ferney:
> > On Wed, 2003-07-02 at 01:52, J�rg Walter wrote:
> > > Are you sure your .htaccess/httpd.conf contains "PerlSetVar
> > > AxKit_DBI_table"? Note that case matters.
> >
> > I have tested this with a complimentary AxKit Provider module which
> > reads the same configuration parameter and does work.
> >
> > that and I copied/pasted the configuration name into the relevant code,
> > rather than typing it twice, so yes.
>
> So, maybe try these things:
> C&P this other provider's relevant code into your module - check if it works.
> Modify this other provider to use your name and check if it works.
> Modify this other provider to use your code and check if it works.
>
> Maybe this gives you a hint for where the problem lies.
I wrote the provider,
the provider works,
I tried copying the relevant code into a taglib module written using the
Apache::AxKit::Language::XSP::TaglibHelper module.
But Alas, In the provider I am accessing the Apache request object
passed in to the Provider Object. In the TagLib, I don't seem to be able
to access the same Apache object.
I tried as per your suggestion to Access it using the
AxKit::Apache->request()
and the object get;s created, and the function call dosn't core, but it
dosn't seem to have the relevant Parameter...
...
Hmm, I wonder.. Would the AxKit::Apache->request() object perhaps not
have the scope that would include the PerlVar from the .htaccess file in
the specific locale that I'm calling it from?
I'll put the PerlVar argument in the root httpd.conf file with a
diffrent value and see if I can get that one.
httpd.conf contains
PerlSetVar AxKit_DBI_table foobar
the .htaccess file contains.
PerlSetVar AxKit_DBI_table users
the call in my taglib $r->dir_config('AxKit_DBI_table');
from the XSP page located in the same directory as the .htaccess file
returns foobar
I did just notice also that the PerlSetVar block is inside a <Files>
block.
Testing it outside the files block.
now returns users
Ok, thanks J�rg, You've been a help.
-Robert Ferney
-Robert Ferney
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]