Page History
...
Example: The MIME type text/html
is mapped to extension html
. The type application/x-javascript
is mapped to extension js
.
...
enableHeadingAttributes | false |
---|---|
enableSorting | false |
class | m5-configuration-tree |
enableHighlighting | false |
...
Mgnl f |
---|
...
Mgnl f |
---|
...
Mgnl n |
---|
...
Mgnl p |
---|
...
Mgnl n |
---|
...
Mgnl p |
---|
...
Mgnl p |
---|
...
The example above shows just two types. Magnolia configures many more MIME types by default.
...
By default, Magnolia tries to respond to every request, even if the MIME type is not configured. To restrict responses to configured MIME types only, add a registeredExtensionsOnly
property to the contentType
filter configuration:
Advanced Tables - Table Plus | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Node name | value | |||||||
| ||||||||
| ||||||||
| ||||||||
| info.magnolia.cms.filters.ContentTypeFilter | |||||||
| true | |||||||
| true | |||||||
Info | ||||||||
When If the request has no extension, Magnolia assumes it is |
...
To force content type matching, add the validateContentType
property in server/filters/contentType
and set the value to true
.
...
enableHeadingAttributes | false |
---|---|
enableSorting | false |
class | m5-configuration-tree |
enableHighlighting | false |
...
Mgnl f |
---|
...
Mgnl f |
---|
...
Mgnl f |
---|
...
Mgnl p |
---|
...
Mgnl p |
---|
...
Mgnl p |
---|
...
Mgnl p |
---|
...
Info |
---|
When the |