Story #1512
closedAs a user, I can explore a yum repository via a browser
100%
Description
Since we've moved to serving all our files with mod_xsendfile and passing all requests to the content WSGI application, the web browser experience is not good. Error pages are vague (for 4XX HTTP codes) and there is no directory indexes. This is not required for the repositories to work, but is a very nice thing to have.
I'm not sure if Django provides easy ways to do directory indexes, but adding better error pages should be straight-forward. The content WSGI app is contained in platform's server/pulp/server/content/web/ directory.
Updated by mhrivnak almost 9 years ago
- Tracker changed from Issue to Story
- Subject changed from With the content WSGI app, exploring a repository via a browser is no fun. to As a user, I can explore a yum repository via a browser
- Priority changed from Normal to High
- Groomed set to Yes
- Sprint Candidate set to Yes
Updated by jcline@redhat.com almost 9 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to jcline@redhat.com
Updated by jcline@redhat.com almost 9 years ago
- Status changed from ASSIGNED to POST
- % Done changed from 0 to 100
Added by Jeremy Cline almost 9 years ago
Added by Jeremy Cline almost 9 years ago
Revision 5aa23403 | View on GitHub
Create a simple directory index for the content.wsgi app.
In the past we were able to use Apache's directory index feature. However, for lazy content we pass the request through to the content WSGI application and are unable to use this feature. This introduces a simple template that lists the directories and files within a requested directory, as well as clear HTTP 404 and HTTP 500 error pages.
closes #1512
Updated by Anonymous almost 9 years ago
- Status changed from POST to MODIFIED
Applied in changeset pulp|5aa234036b0a6211c01ade4e3f98cf4002270391.
Updated by dkliban@redhat.com almost 9 years ago
- Status changed from MODIFIED to 5
Updated by dkliban@redhat.com almost 9 years ago
- Status changed from 5 to CLOSED - CURRENTRELEASE
Create a simple directory index for the content.wsgi app.
In the past we were able to use Apache's directory index feature. However, for lazy content we pass the request through to the content WSGI application and are unable to use this feature. This introduces a simple template that lists the directories and files within a requested directory, as well as clear HTTP 404 and HTTP 500 error pages.
closes #1512