Global navigation

   Documentation Center
   eZ Studio & eZ Platform
     User Manual
     Technical Manual
     Glossary
   eZ Publish 4.x / legacy

 
eZ Publish (5.x)

eZ Publish 5.x | For eZ Platform & eZ Studio topics see Technical manual and User manual, for eZ Publish 4.x and Legacy topics see eZ Publish legacy

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: ref. EZP-26963

...

Code Block
ezpublish:
    system:
        default:
            io:
	            url_prefix: "http://static.example.com/"
Info

Legacy

compatiblity

compatibility

Legacy still requires non absolute path to store images (var/site/storage/images...). In order to work around this, an a UrlRedecorator, that converts back and forth between the legacy uri prefix and the one in use in the application, has been added. It is used in all places where a legacy URL is returned/expected, and takes care of making sure the value is as expected.

...

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 legacy_mode won't display images with the URL configured in io.url_prefix

...

.

...

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.

...