[opencms-dev] Hide individual files from search results

Joachim Arrasz info at arrasz.de
Tue Dec 5 15:48:23 CET 2006


Hi,

> Is it an XML configuration file that I have in the site root. So, I need to
> allow read access to it, but hide the visibility. If I take the view
> permission out the file appears still in the search results, so I probably
> would need to disable the read permission, which I cannot do because the
> template rendering is dependant on this configuration file.
> 
> Is the category property just masking URLs or how does it work?

you can try just rename the file from .xml to .rml or something like
that. Don't forget to change the filetype too. Use a filetype which
isn't allowed for the CmsVfsSearchIndexer

Regards Achim

-- 
/**
 * Joachim Arrasz
 * Head of technical Research
 * Synyx GmbH & Co. KG --OpenCms Solution Provider--J2ME Solutions--
 * Karlstr. 68
 * 76137 Karlsruhe
 * phone  +49(0)721 66 48 79 32
 * fax    +49(0)721 66 48 877
 * eMail  joachim.arrasz at synyx.de
 * www    http://www.synyx.de
 */



More information about the opencms-dev mailing list