Project

Profile

Help

Task #1187

Updated by jortel@redhat.com over 8 years ago

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