[Yanel-dev] Default mapping of Yanel
Michael Wechner
michael.wechner at wyona.com
Mon Nov 29 15:29:38 CET 2010
On 11/29/10 12:55 PM, Balz Schreier wrote:
> Hi,
>
> I noticed the following:
>
> - if you enter a URL that does not match to any pattern configured in
> the map.rc-map file, usually you get the 404 page (which I expect for
> ALL URLs that do not match).
> - I know noticed that if the path (e.g. /internal) matches an actual
> directory on the physical harddrive (e.g. ROOT/internal where ROOT is
> the root of the data repository), Yanel returns an XML with all the
> subdirectories in that folder.
>
> Is this normal ?
I am afraid so, yes.
> How can I disable this behaviour so that 404 is returned?
add something like
<matcher pattern="**" rcpath="/404_yanel-rc.xml"/>
to your map resource config file.
HTH
Michael
>
> Cheers
> Balz
More information about the Yanel-development
mailing list