Debugging strange problems, unwanted persistance and similar (was: Re: Provider problems)

2003-10-13 Thread Jörg Walter
On Thursday, 09. October 2003 21:37, Christian Jaeger wrote: - Problem: somehow new requests depend on previous requests. Some state information is preserved between requests. When I request an .xml file as .html, then even subsequent .xml requests yield the .html. In spite of AxNocache On in

Provider problems

2003-10-09 Thread Christian Jaeger
It seems this mail hasn't made it to the list. Cheers Christian. Date: Tue, 7 Oct 2003 14:45:09 +0200 To: [EMAIL PROTECTED] From: Christian Jaeger [EMAIL PROTECTED] Subject: Provider problems Hello I'm having many troubles and unclarities about providers. The attached provider solves

Re: Provider problems

2003-10-09 Thread Christian Jaeger
At 21:38 Uhr +0200 09.10.2003, Christian Jaeger wrote: sub get_styles { my $self=shift; if ($$self{cjfile_media} eq 'html') { $$self{apache}-content_type(text/html); } my $res= $myowntypemap{ $$self{cjfile_sourcetype} }{$$self{cjfile_media}}; if (!$res) { warn

Provider Problems

2003-06-25 Thread Robert Ferney
I'm having trouble using a Provider, when I try to specify a Stylesheet. my .htaccess file looks like this. - Files *.xml PerlHandler AxKit AxProvider Edu::Provider::Student # AxAddProcessor text/xsl /xslt/user.xsl AddType text/xml .xml AddHandler axkit .xml /Files

Re: Provider Problems

2003-06-25 Thread Robert Ferney
On Wed, 2003-06-25 at 17:24, Michael Chamberlain wrote: Any ideas as to what is going on? I'd guess that your stylesheet isn't valid xml. Mike. I thought of that, but when I test the same stylesheet by using an on-disk version of the xml file the provider is generating and specify the

Re: Provider Problems

2003-06-25 Thread Robert Ferney
I took a closer look at the error log. It appears that the Provider is trying to handle the request for the stylesheet even though the request is outside of the location that it is supposed be handling, so, perhaps more relevant question. How do you get your provider to ignore requests for stuff

Re: Provider Problems

2003-06-25 Thread Robert Ferney
Ok, found the documentation for this.. http://www.axkit.org/wiki/view/AxKit/Apache::AxKit::Provider# silly me. On Wed, 2003-06-25 at 18:28, Robert Ferney wrote: I took a closer look at the error log. It appears that the Provider is trying to handle the request for the stylesheet even though

Re: Provider Problems

2003-06-25 Thread Robert Ferney
Sorry for the mail spam yall. ended up digging through the source for package Apache::AxKit::Provider::File; ... sub get_strref { ... throw Apache::AxKit::Exception::IO( -text = $self-{file} is a directory - please overload File provider and use AxContentProvider option); ... }