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] failed to load external entity proxy:// ..? Colin Bendell
  • From: "Colin Bendell" <colin@xxxxxxxxxx>
  • To: users@xxxxxxxxxxxxxxxx
  • Subject: Re: [mod-xslt users] failed to load external entity proxy:// ..?
  • Date: Mon, 29 Jan 2007 11:29:36 -0600
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=AdkKI98gfXcGuCJ4poG7ZJkBJufbBpvHehIROWLeyNCyG8r9tsV5McFq7lN7NUhWeF+/S+e4dS7iQlqkwOUTvRUfdT4fijCxTtltJMsXd1fg9qgIxbwxFlwQSv2MeIMIspzND6d30e5DHy9pLhqH6DeqWm1WzyHUcpz5DOoJIu8=
  • References: <sympa.1169846778.21087.685@ml.mod-xslt2.com> <625035211.20070127133809@yandex.ru>


  • Here is the pi:

    If I prefix it with the file:// protocol I get these errors:
    mod_xslt: I/O
    mod_xslt: warning :
    mod_xslt: failed to load external entity "proxy:///var/www/foo.xslt"
    mod_xslt: couldn't load: file:///var/www/foo.xslt
    (file:///var/www/foo.xslt), errno: 2
    mod_xslt: fatal - couldn't load stylesheet for: proxy:http://localhost:387/

    The pi for this page is:
    <?xml-stylesheet type="text/xsl" href="file:///var/www/foo.xslt"?>

    My apache config does have mod_proxy enabled, but is only used in
    conjunction with a mod_rewrite match and should not be invoked for
    this requested item.

    I tried to compile the mod_xslt with --enable-debug but I don't see
    any of the debug lines. Specifically I don't see the output from the
    output from the debug statements in mxslt_doc_load, or
    mxslt_doc_load_stylesheet (lib/modxslt-doc.c). Any thoughts? (Yes, I
    have my LogLevel to debug in the conf file)

    /colin

    On 1/27/07, Denis F. Latypoff <latypoff@xxxxxxxxx> wrote:
    Hello colin,

    Saturday, January 27, 2007, 3:33:07 AM, you wrote:

    > I am using the latest dev. snapshot for mod_xslt. I have an xml pi
    > decl the location to my xslt inside the doc. However, when I request the
    file I see errors like this:

    > failed to load external entity "proxy:///var/www/foo.xslt"
    > couldn't load: /var/www/foo.xslt

    > The href in the pi is explicitly set to /var/www/foo.xslt yet why
    > is it trying to prepend the proxy:// protocol? I thought it would
    > try direct file access first? If I change it to
    > http://localhost/foo.xslt things work as expected.

    perhaps using 'file:///var/www/foo.xslt' will help you.

    > What is going on here? Where is this proxy uplift being applied?

    Can you give your mod_xslt setup in the httpd.conf, full pi decl, etc?

    > thanks for your help,
    > /colin

    > __________ NOD32 2010 (20070126) Information __________

    > This message was checked by NOD32 antivirus system.
    > part000.txt - is OK

    > http://www.eset.com




    --
    Best regards,
    Denis Latypoff mailto:latypoff@xxxxxxxxx



      Powered by Sympa