Project

Profile

Help

Issue #1183

Updated by jortel@redhat.com about 9 years ago

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