Actions
Bug #24946
openpulp_rewrite roles prevent access to repository 'repos' in product 'pulp'
Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Description
In /etc/httpd/conf.d/pulp_rpm.conf the .+ in the rule:
RewriteRule (.+/pulp/repos/)(.*) /pulp/content/var/www/pub/yum/http/repos/$2 [DPI]
is greedy. Thus eating everything until the last /pulp/repos/.
If you create a yum product named pulp with a repository named repos, you cann never reach the content of that repository.
Using
RewriteRule /pulp/repos/(.*) /pulp/content/var/www/pub/yum/http/repos/$1 [DPI]
fixes the problem (the implicit .* does not seem to be greedy).
The same applies to pulp_deb.
Updated by Andrew Kofink over 6 years ago
- Target version set to Katello 3.9.0
- Triaged changed from No to Yes
Updated by Jonathon Turel over 6 years ago
- Target version changed from Katello 3.9.0 to Katello Backlog
Actions