On Monday, 16. December 2002 11:50, Dakkar wrote:
> On 20021215152133, Matt Sergeant wrote:
> > <Files. *.xsl>
> > Order deny, allow
> > </Files>
> >
> > Should work.
>
> No, it should not.
> That means: allow everybody to retrieve those files. I want to say:
> allow nobody but AxKit to access those files.
> If I put:
>
> <Files *>
>  Order allow,deny
>  allow from 192.168.111.145  # my machine's IP address
>  allow from 127.0.0.1
> </Files>
>
> it works only if the originating request comes from one of those two
> addresses.

If you are using the Session plugin, you may alternatively use 'require 
subrequest' in that <Files> section. The authorization part of the taglib 
provides such a 'requires'-line.

> As you can see, it gets the right file, but then LibXSLT somehow gets
> the wrong URI for that file (it believes that the stylesheet's URI is
> the same as the URI of the main request?), so it computes the wrong
> URI for the imported stylesheet (node.xsl contains
> '<xsl:import href="common.xsl"/>').
>
> How am I going to solve this?

This might be related to your version of libxslt and/or XML::LibXSLT. There 
have been changes some time ago to make it more compliant to the standard, 
and relative path resolving was among them. Try a newer version.

-- 
CU
  Joerg

PGP Public Key at http://ich.bin.kein.hoschi.de/~trouble/public_key.asc
PGP Key fingerprint = D34F 57C4 99D8 8F16 E16E  7779 CDDC 41A4 4C48 6F94


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to