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