Apache's XSendFile directive causes 404 errors when trying to download rpm packages via HTTP
xsendfile module: 0.12-10
I am able to browse /pulp/repos/ and /pulp/content/var/www/pub/yum/http/repos/ paths via HTTP; however, when I click in a RPM package, Apache does not find it and I get a 404 status code in the HTTP response. Disabling xsendfile module by commenting the corresponding lines in /etc/httpd/conf.d/pulp_content.conf fixes the problem.
#2 Updated by firstname.lastname@example.org almost 4 years ago
- Status changed from NEW to CLOSED - WORKSFORME
- Triaged changed from No to Yes
I deployed Pulp 2.9.3 on RHEL 7.3 and did not experience the same problem. Even though the issue is reported against 2.9.1, I did not see any bug fixes related to this in between 2.9.1 and 2.9.3.
This is most likely a problem with the XSendFile for PPC64. Currently PPC64 is not a supported architecture.
I would be open to revisiting this issue if I could get access to a PPC64 machine for testing Pulp.
#6 Updated by email@example.com over 3 years ago
I made it working by adding following line to vhosts config file
Alias /pulp/repos /var/www/pub/yum/http/repos
But i doubt this is the newest/correct way, since it looks like the /pulp/repos path gonna be handled by pulp_content service in latest version.
Please register to edit this issue