On 08.01.2004 21:27, Tim Larson wrote:

I tried to use the resource reader, like this:
<map:match pattern="*.log">
<map:read type="resource" src="{1}.log" mime-type="text/plain"/>
</map:match>

But this does not work.
The editor is opened, but then an error message pops up, saying that the
file can not be found.
The Editor seems to search for the file under "Temporary Internet
Files/Content.IE5"


try


<map:match pattern="*.log">
<map:read src="{1}.log" mime-type="text/plain"/>
</map:match>


I have this problem also (with IE 5.5), but this did not solve it for me.
Any other ideas?

Of course the above propagated solution can not work if the original does not work: resource reader is the default reader, so there is no difference between both. But I don't know why it shouldn't work, tried it and it works (snippet from root sitemap):


<map:match pattern="*.log">
  <map:read src="WEB-INF/logs/{1}.log" mime-type="text/plain"/>
</map:match>

IE doesn't display the file, but asks me to save it somewhere. So I guess it's simply question of configuration in your windows. The hint with "Temporary Internet Files" also points to the download as all files are downloaded to this directory and later copied to the selected directory. Does deleting the cache help, so that the file can't be found there and the file must be dwonloaded again?

Joerg


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



Reply via email to