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            previous   Thread       

Re[2]: [mod-xslt users] failed to load external entity proxy:// ..? Denis F. Latypoff
  • From: "Denis F. Latypoff" <latypoff@xxxxxxxxx>
  • To: Colin Bendell <users@xxxxxxxxxxxxxxxx>
  • Subject: Re[2]: [mod-xslt users] failed to load external entity proxy:// ..?
  • Date: Tue, 30 Jan 2007 14:26:22 +0600
  • References: <sympa.1169846778.21087.685@ml.mod-xslt2.com> <625035211.20070127133809@yandex.ru> <98d35bbd0701290929r6188bb1el9319758a55a9b453@mail.gmail.com>
  • Reply-to: "Denis F. Latypoff" <latypoff@xxxxxxxxx>


  • Hello Colin,

    Monday, January 29, 2007, 11:29:36 PM, you wrote:

    > 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.

    perhaps your rewrite rules contains hidden from eyes subrequests or
    so? show me your rewrite rules

    > 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)

    --enable-xslt-debug is also useful, try it

    > /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
    >>
    >>


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


      Powered by Sympa