Project

Profile

Help

Task #1182

closed

Pulp - 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.

Added by bmbouter over 7 years ago. Updated over 3 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Sprint/Milestone:
-
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>
Actions #1

Updated by bmbouter over 7 years ago

  • Subject changed from Add ErrorDocument directive to use platform redirect handler for content units to Add ErrorDocument directive to rpm httpd conf
Actions #2

Updated by bmbouter over 7 years ago

  • Parent task set to #1150
Actions #3

Updated by bmbouter over 7 years ago

  • Parent task changed from #1150 to #1180
Actions #4

Updated by jortel@redhat.com about 7 years ago

  • Description updated (diff)
Actions #5

Updated by jortel@redhat.com about 7 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)
Actions #6

Updated by jortel@redhat.com about 7 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.
Actions #8

Updated by jcline@redhat.com almost 7 years ago

  • Status changed from NEW to ASSIGNED
Actions #10

Updated by jcline@redhat.com almost 7 years ago

  • Assignee set to jcline@redhat.com
Actions #11

Updated by jcline@redhat.com almost 7 years ago

  • Status changed from ASSIGNED to MODIFIED
  • % Done changed from 70 to 100
Actions #12

Updated by rbarlow almost 7 years ago

  • Status changed from MODIFIED to 5
  • Platform Release set to 2.8.0
Actions #13

Updated by dkliban@redhat.com over 6 years ago

  • Status changed from 5 to CLOSED - CURRENTRELEASE
Actions #14

Updated by bmbouter over 3 years ago

  • Tags Pulp 2 added

Also available in: Atom PDF