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

       Chronological   next            Thread   next  

More problems with modxslt2 and apache 2.0.55 Jakob Fix
  • From: "Jakob Fix" <jakob.fix@xxxxxxxxx>
  • To: users@xxxxxxxxxxxxxxxx
  • Subject: More problems with modxslt2 and apache 2.0.55
  • Date: Sat, 1 Apr 2006 19:42:56 +0200
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=a7mEfhMD+yl3X7UTNXqVQV6FRHZO1vYaJMc0oxmjlUvnbHm39f8o/dd80tCc6sms1irC/jQPQ2hL6PBfSVWxDwcyg9H3txwr+zaDlSsGp6hbw9hajdsZ0Ul9DPFvCmdTdyUtPqVRcz56jARd22BeZzFdu3v3brQyEKgf6e1cFdU=


  • Hello,

    a couple of weeks ago, I requested help from the list as regards the
    migration from Apache 1.3. to 2.0.55, and learned that the syntax is
    quite different, but otherwise no problems should occur.

    Well, I have spent some time trying to make my very simple setup work,
    but so far had no success. Here's the scenario (all this running on
    Debian sarge):

    <VirtualHost 10.0.1.3:80>
    DocumentRoot /media/photos
    ServerName photos.example.com
    </VirtualHost>

    <IfModule modxslt.c>
    <Directory /media/photos>
    AddType text/xml .xml
    AddOutputFilter mod-xslt .xml
    AddOutputFilterByType mod-xslt text/xml
    XSLTSetStylesheet text/xsl /media/photos/album.xsl

    ErrorLog /var/log/apache2/photos.error.log
    CustomLog /var/log/apache2/photos.access.log combined
    </Directory>
    </IfModule>

    I tried mixtures of these directives or all of them, reloading apache
    in between, of course. I removed to IfModule elements as to find out
    whether the module is loaded (it is), but none was caused.

    Trying the transformation on the commandline using modxslt-parse, it works:

    <?xml version="1.0"?>
    <h1>Hello World!</h1>
    <!--
    -* Generated by mod-xslt 1.3.8; http://www.mod-xslt2.com/
    -* Copyright (C) 2002,2003 Carlo Contavalli - <ccontavalli at masobit.net>
    -* derived from work by Philipp Dunkel and others
    (http://www.mod-xslt2.com/main/credits.xml)
    -* Thanks to http://www.masobit.net/ for paying me while working on mod-xslt
    -* and for providing resources to the project. -->

    The same file in the browser simply displays the original XML, without
    any transformation. No output in the access and error log files ...

    What else can I try, I am getting desperate?

    --
    cheers,
    Jakob.

      Powered by Sympa