These rewrite rules are described in the documentation of the eZ JS Core extension, but since this extension is bundled with eZ Publish and plays an important part of the installation process, the eZ JS Core rewrite rules are described here as well.
Rewrite rules for lib folder
The eZ JSCore extension requires correct rewrite rules in order to load the necessary
yui (yahoo user interface) files from the file system. This is required only when the INI setting "
ezjscore.ini[eZJSCore]LoadFromCDN" is set to
Add the following line to your Virtual-Host setup:
Rewrite rules for script/css packing
RewriteRule !\.(gif|jpe?g|png|css|js|html)|var(.+)storage.pdf(.+)\.pdf$ index.php
RewriteRule !(\.(gif|jpe?g|png|css|js|html?)|var(.+)storage.pdf(.+)\.pdf)$ index.php
- Virtual Host mode
RewriteRule ^/var/([^/]+/)?cache/public/.* - [L]
If you do not manage to get these working, you can disable this feature by setting