On Sunday, July 6, 2003, at 06:01 PM, Matt Sergeant wrote:
On Sunday, Jul 6, 2003, at 21:48 Europe/London, S Woodside wrote:Has anyone successfully configured axkit, to disable axkit in subdirectory that would otherwise be using it? I have applied axkit to all the files in my site in a broad swath (using <FilesMatch *.html>), and I want to disable axkit in a certain buried subdirectory where the files served will not be XML at all. If you've done this, would you mind sharing your .htaccess configuration with me? Thanks,SetHandler default-handler
I get this:
============================
[Sun Jul 6 15:12:17 2003] [error] [client 65.93.183.218] [AxKit] [Error] xmlParse returned error: 5, Space required after the Public Identifier
SystemLiteral " or ' expected
xmlParseExternalID: PUBLIC, no URI
Opening and ending tag mismatch: BR line 27 and STRONG
Opening and ending tag mismatch: BR line 26 and SMALL
AttValue: " or ' expected
attributes construct error
error parsing attribute name
attributes construct error
xmlParseStartTag: problem parsing attributes
Couldn't find end of Start Tag IMG line 32
AttValue: " or ' expected
[.....snip...]
AttValue: " or ' expected
attributes construct error
Specification mandate
[Sun Jul 6 15:12:17 2003] [error] [client 65.93.183.218] [AxKit] From: /home/simon/local/lib/perl/5.8.0/Apache/AxKit/Exception.pm : 9
=================================
When I load /stats/simonwoodside.com/index.html. Here's the config:
%%%%%%% pwd
/data/sites/simonwoodside.com/stats
%%%%%%% cat .htaccess
SetHandler default-handler
%%%%%%% pwd
/data/sites/simonwoodside.com
%%%%%%% cat .htaccess
PerlModule AxKit
#GENERAL
Redirect permanent /oldnews/rss.xml http://simonwoodside.com/weblog/rss.xml
RedirectMatch permanent /(.*)\.php$ http://simonwoodside.com/$1.html
ErrorDocument 404 /writings/404.html
AxStackTrace Off
AxGzipOutput On
<FilesMatch ".*.xml|.*.html">
PerlHandler AxKit
AxAddStyleMap application/x-xsp Apache::AxKit::Language::XSP
AxAddStyleMap text/xsl Apache::AxKit::Language::LibXSLT
AxAddXSPTaglib AxKit::XSP::Util
AxCacheDir /tmp/axcache.simonwoodside.com
AddType text/xml .html
AddType text/xml .xml
AddHandler axkit .html
AddHandler axkit .xml
SetHandler perl-script
</FilesMatch>
simon
-- www.simonwoodside.com -- 99% Devil, 1% Angel
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
