Project

Profile

Help

Task #1182

Updated by jortel@redhat.com about 9 years ago

In "the pulp_rpm.conf file":https://github.com/pulp/pulp_rpm/blob/master/plugins/etc/httpd/conf.d/pulp_rpm.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