Login 
 
 Pref   Your subscriptions   Home   Help 
users@ml.mod-xslt2.com
mod-xslt2 - Users Mailing List
   
 
List info
 
 
 
Subscribe
 
 
Unsubscribe
 
 
Archive
 
 
Post
 



Advanced search
2004 01 02 03 04 05 06 07 08 09 10 11 12
2005 01 02 03 04 05 06 07 08 09 10 11 12
2006 01 02 03 04 05 06 07 08 09 10 11 12
2007 01 02 03 04 05 06 07 08 09 10 11 12
2008 01 02 03 04 05 06 07 08 09 10 11 12
2010 01 02 03 04 05 06 07 08 09 10 11 12
2011 01 02 03 04 05 06 07 08 09 10 11 12

  previous   Chronological   next       previous   Thread   next  

Re: mod-xslt users] More problems with modxslt Jakob Fix
  • From: "Jakob Fix" <jakob.fix@xxxxxxxxx>
  • To: "Phil Endecott" <phil_uucfa_endecott@xxxxxxxxxxxx>
  • Cc: users@xxxxxxxxxxxxxxxx
  • Subject: Re: mod-xslt users] More problems with modxslt
  • Date: Sat, 1 Apr 2006 23:27:04 +0200
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=OTHcv637sSLzPqcYE6uVe3h9/vc11jEAQqYIGL+kIbOF+Mmm4yLj+CRdZ/BvyjYoDk8PFsmYnymK6egg5UM59V76GbJ2B9BXTvOu1kyu0OR72/wHO7FtHblOz0Rbe8MNS/83Q8lZH4Ki6S5o5VN+Ldgw8Li1jj+iOlutLzCLmv8=
  • References: <442EC946.2000005@chezphil.org>


  • Hi Phil,

    thanks for your pointers. You were right! It's all about mime types.
    Changing my directives to read like this:

    AddType application/xsl .xml
    AddOutputFilter mod-xslt .xml
    XSLTSetStylesheet application/xsl /media/photos/album.xsl

    (note the application/xsl) made it work again. Thanks a lot, Phil!


    BTW, I don't think this list is really dead, just very low-traffice,
    and Carlo, the main developer (I think) is not available a lot, which
    is a pity. Anyway, you read my post and made my day/evening!



    On 4/1/06, Phil Endecott <phil_uucfa_endecott@xxxxxxxxxxxx> wrote:
    > Hi Jakob,
    >
    > I can't see much wrong with your configuration. But I have only used
    > modxslt quite briefly; mostly I use static XSLT transformations and my
    > own CGI code that calls libxslt directly.
    >
    > It is not easy to debug this stuff. It would be great if Apache had a
    > "-verbose" option to track how a request was processed so that you could
    > see what it was doing. I think that the closest you can get to that is
    > to run strace or gdb on Apache. You probably want to configure it to
    > have only one request-handler process.
    >
    > I have had a look at the last "test" directory where I used modxslt. I
    > think it worked. I had a .htaccess file containing:
    >
    > AddOutputFilter mod-xslt .xml
    > XSLTSetStylesheet application/xml test.xslt
    >
    > Apart from an "AllowOverride All" so that the .htaccess was allowed to
    > work, and the LoadModule that the Debian package inserts automatically,
    > there were no changes in the main Apache configuration that I can now see.
    >
    > Looking at your code again I notice that you wrote "text/xsl" as the
    > MIME type in "XSLTSetStyleSheet", while I put "application/xml". This
    > might matter. Also, XML can sometimes have a MIME type of "text/xml",
    > as you have written in your AddType line. Have a look at that.
    >
    > (This mailing list seems to be dead. This could be explained by the
    > fact that messages that I send to it are rejected; if that happens to
    > everyone except you [new subscribers?] it would explain a lot.)
    >
    > Good luck,
    >
    > --Phil.
    >
    >


    --
    cheers,
    Jakob.

      Powered by Sympa