This repository was archived by the owner on Apr 4, 2019. It is now read-only.
Fix EZP-24312: Default installation content results in 404 errors #240
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hello,
This issue and PR are a direct result of testing the latest / recent ezpublish-community repository reverts / changes for default installation errors and any other problems which might be blockers for the creation of the next ezpublish-community eZ Publish 5 community build, currently in preparation phase.
The default installation of ezpublish-community using demobundle and ezdemo ezpackage content which provides selected video content results in 404 errors on default index page.
This is a temporary problem for both eZ Publish 5.x and eZ Platform.
This is direct result of the ezpublish-kernel not yet providing a new stack (Symfony) based replacement for the content/download module view which is required to abstract the serving of binary file content object content.
The problem is that the demobundle and ezdemo extension provided default content during a default installation make use of binary file content which requires these mod_rewrite rules be in your virtual host configuration ... or a default installation described will generate 404 errors when loading the index page of the default user siteaccess.
The 404 errors can be solved today by editing your virtual host configuration mod_rewrite rules and adding the new rules provided by this PR, commented out by default.
This PR provides for the education to developers on this important issue which has for some time now generated page load 404 errors (and large amounts of confusion to developers and users) while retaining the maximum security in a default installation.
This issue has been uniquely documented here: https://jira.ez.no/browse/EZP-24312
Please let us know your thoughts.
Cheers,
Brookins Consulting