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 "AxNocach

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

Re: Provider Problems

2003-06-26 Thread Kip Hampton
Robert Ferney wrote: Sorry for the mail spam yall. No problem-- sorry you had to resort to such a one-sided conversation :-) Just to follow up, though: you're right, you should be using AxContentProvider instead of AxProvider. I'll post the details (that a crappy SMTP host precluded me from send

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"); ..

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
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 i

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 spec

Re: Provider Problems

2003-06-25 Thread Robert Ferney
PS: I tried making a plain on disk xml file in another directory like such.. --- rob Robert Robert William Ferney Ferney [EMAIL PROTECTED] and it works On Wed, 2003-06-25 at 17:19, Robert Ferney wrote: > I'm having trouble using a Provider