Sylvain Wallez wrote, On 28/03/2003 19.19:
Nicola Ken Barozzi wrote:...
To try the 'optimized' one, edit cli.xconf by changing confirm-extensions="true" to false. What does this entail? That all files without extensions are outputted as-is, without appending a proper extension. In sites that always use explicit extension, it makes no difference.
Can you explain what's the purpose of "confirm-extensions" ?
Example:
in the webapp:
http://localhost:8080/cocoon/welcome
in CLI standard:
docs/welcome.html
in optimized CLI:
docs/welcome
It does not attempt to encode the Mime-type in the filename when extensions are not present. So if you don't have files without extensions, nothing changes. If you do, the browser does not get the mime-type (it's a file system), and usually does not display it as html.
-- Nicola Ken Barozzi [EMAIL PROTECTED] - verba volant, scripta manent - (discussions get forgotten, just code remains) ---------------------------------------------------------------------