Actions
Task #1182
closedPulp - Story #1150: As a user, I can lazily fetch repositories
Pulp - Story #1180: As a user, I can identify a lazy-loader using server.conf and Pulp will redirect for content it does not have
Update the apache configuration to support Lazy.
Start date:
Due date:
% Done:
100%
Estimated time:
Platform Release:
2.8.0
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:
Description
Update /etc/httpd/conf.d/pulp_rpm.conf and replace Alias and <Directory/> directives with a <Location/> directive. This causes content GET request to be directed to the /pulp/content endpoint which performs authorization and redirect to the streamer as needed.
Exampple:
# -- HTTPS Repositories ---------
Alias /pulp/repos /var/www/pub/yum/https/repos
<Directory /var/www/pub/yum/https>
WSGIAccessScript /srv/pulp/repo_auth.wsgi
SSLRequireSSL
SSLVerifyClient optional_no_ca
SSLVerifyDepth 2
SSLOptions +StdEnvVars +ExportCertData +FakeBasicAuth
Options FollowSymLinks Indexes
</Directory>
Changed to:
<Location /pulp/repos/>
RewriteEngine On
RewriteRule (.+/pulp/repos/)(.+) /pulp/content/var/www/pub/yum/https/repos/$2
SSLRequireSSL
SSLVerifyClient optional_no_ca
SSLVerifyDepth 2
SSLOptions +StdEnvVars +ExportCertData +FakeBasicAuth
</Location>
Updated by bmbouter over 9 years ago
- Subject changed from Add ErrorDocument directive to use platform redirect handler for content units to Add ErrorDocument directive to rpm httpd conf
Updated by jortel@redhat.com about 9 years ago
- Subject changed from Add ErrorDocument directive to rpm httpd conf to Update the apache configuration so GET request are routed to the /pulp/content endpoint.
- Description updated (diff)
Updated by jortel@redhat.com about 9 years ago
- Subject changed from Update the apache configuration so GET request are routed to the /pulp/content endpoint. to Update the apache configuration to support Lazy.
Updated by jcline@redhat.com about 9 years ago
- Status changed from NEW to ASSIGNED
Updated by jcline@redhat.com about 9 years ago
- % Done changed from 0 to 70
Updated by jcline@redhat.com about 9 years ago
- Assignee set to jcline@redhat.com
Updated by jcline@redhat.com almost 9 years ago
- Status changed from ASSIGNED to MODIFIED
- % Done changed from 70 to 100
Updated by rbarlow almost 9 years ago
- Status changed from MODIFIED to 5
- Platform Release set to 2.8.0
Updated by dkliban@redhat.com almost 9 years ago
- Status changed from 5 to CLOSED - CURRENTRELEASE
Actions