Project

Profile

Help

Task #1184

Updated by jortel@redhat.com about 6 years ago

In "the pulp_puppet.conf file":https://github.com/pulp/pulp_puppet/blob/master/pulp_puppet_plugins/etc/httpd/conf.d/pulp_puppet.conf, add the ErrorDocument directive to each Directory entry which serves content units. The ErrorDocument directives specifically need to be for 404 requests and have them handled by /pulp/api/v2/content/redirect. These new ErrorDocument directives should be uncommented by default. This will cause the content units to give the platform an opportunity to respond before having a generic 404 returned. Here is an example of one of the ErrorDocument directives.

<pre>
ErrorDocument 404 /pulp/api/v2/content/redirect/ /pulp/api/v2/content/redirect
</pre>

Also add a release note about this change that to have a content type use lazy repo support this is required.

Back