...
Code Block |
---|
ezpublish: system: default: io: url_prefix: "http://static.example.com/" |
Info |
---|
LegacycompatiblitycompatibilityLegacy still requires non absolute path to store images (var/site/storage/images...). In order to work around this, an a |
...
Dynamic container settings
Those settings are siteaccess aware.
io.url_prefix
Default value: $var_dir$/$storage_dir$
Example: /var/ezdemo_site/storage
Used to configure the default URL decorator service (ezpublish.core.io.default_url_decorator
), used by all binarydata handlers to generate the URI of loaded files. It is always interpreted as an absolute URI, meaning that unless it contains a scheme (http://, ftp://), it will be prepended with a '/'.
io.legacy_url_prefix
Default value: $var_dir$/$storage_dir$
Example: var/ezdemo_site/storage
...
Note |
---|
Note that the admin interface and front-end sites in |
...
. |
...
io.root_dir
Example: %ezpublish_legacy.root_dir%/$var_dir$/$storage_dir$
Default value: /var/www/ezpublish/ezpublish_legacy/var/ezdemo_site/storage
Physical path where binary files are stored on disk. Can not be overridden using semantic configuration. Changing this value will break compatibility for the legacy backoffice.
This setting is siteaccess-aware.
Services
url decorators
An UrlDecorator decorates and undecorates a given string (url) in some way. It has two mirror methods: decorate
and undecorate
.
...