GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — gh-76809: support DirectoryIndex for http server by epaulson · Pull Request #5308 · python/cpython

Conversation

@epaulson

@epaulson epaulson commented Jan 25, 2018 •
edited by serhiy-storchaka
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

SimpleHTTPRequestHandler is hard-coded to only use index.html or index.htm
as files to serve for a request for a directory. With this change, this list
can be modified, ala the DirectoryIndex directive of an Apache web server.

https://bugs.python.org/issue32628

  • Issue: Add configurable DirectoryIndex to http.server #76809

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Erik Paulson
bpo-32628: support DirectoryIndex for http server
9385a36
SimpleHTTPRequestHandler is hard-coded to only use index.html or index.htm
as files to serve for a request for a directory. With this change, this list
can be modified, ala the DirectoryIndex directive of an Apache web server.
@the-knights-who-say-ni the-knights-who-say-ni added the CLA not signed label Jan 25, 2018
@the-knights-who-say-ni

the-knights-who-say-ni commented Jan 25, 2018

Copy link
Copy Markdown

Hello, and thanks for your contribution!

I'm a bot set up to make sure that the project can legally accept your contribution by verifying you have signed the PSF contributor agreement (CLA).

Unfortunately our records indicate you have not signed the CLA. For legal reasons we need you to sign this before we can look at your contribution. Please follow the steps outlined in the CPython devguide to rectify this issue.

Thanks again to your contribution and we look forward to looking at it!

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bedevere-bot bedevere-bot added the awaiting review label Jan 25, 2018
@epaulson

epaulson commented Jan 27, 2018

Copy link
Copy Markdown
Author

I signed my CLA a few days ago - bugs.python.org now shows it as processed. Could a dev update the label?

https://bugs.python.org/user27802

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Mariatta Mariatta removed the CLA not signed label Mar 2, 2018
@the-knights-who-say-ni the-knights-who-say-ni added the CLA signed label Mar 2, 2018
@matrixise matrixise self-assigned this Sep 14, 2019
@MaxwellDupre

MaxwellDupre commented May 8, 2022

Copy link
Copy Markdown
Contributor

Could you amend versionadded, please? Lets try for 3.11.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@AlexWaygood

AlexWaygood commented May 8, 2022 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

Could you amend versionadded, please? Lets try for 3.11.

@MaxwellDupre, just so you know, the beta release for 3.11 was released today, meaning 3.11 is now in feature freeze. 3.11 is now only accepting bugfixes, meaning new features can now only be added to 3.12.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@epaulson

epaulson commented May 8, 2022

Copy link
Copy Markdown
Author

I got a somewhat skeptical review in #76809 so I'm not sure what the path forward might be. Happy to update it to 3.12 but I don't know that it's ever going to make it in, even updated.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@AlexWaygood

AlexWaygood commented May 8, 2022 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

I got a somewhat skeptical review in #76809 so I'm not sure what the path forward might be. Happy to update it to 3.12 but I don't know that it's ever going to make it in, even updated.

I am neither a core developer (I'm a triager) nor a frequent user of the http module, so I can't really comment on that, I'm afraid :/

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@ezio-melotti ezio-melotti removed the CLA signed label Jul 13, 2022
@github-actions

github-actions Bot commented Aug 14, 2022

Copy link
Copy Markdown

This PR is stale because it has been open for 30 days with no activity.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@github-actions github-actions Bot added the stale Stale PR or inactive for long period of time. label Aug 14, 2022
@python-cla-bot

python-cla-bot Bot commented Apr 6, 2025

Copy link
Copy Markdown

The following commit authors need to sign the Contributor License Agreement:

  • [email protected]

CLA signed

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@github-actions github-actions Bot removed the stale Stale PR or inactive for long period of time. label Apr 6, 2025
@github-actions

github-actions Bot commented May 6, 2025

Copy link
Copy Markdown

This PR is stale because it has been open for 30 days with no activity.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@github-actions github-actions Bot added the stale Stale PR or inactive for long period of time. label May 6, 2025
@epaulson epaulson mannequin mentioned this pull request Apr 10, 2022
Add configurable DirectoryIndex to http.server #76809
Closed
@serhiy-storchaka serhiy-storchaka changed the title bpo-32628: support DirectoryIndex for http server gh-76809: support DirectoryIndex for http server Aug 12, 2026
@github-actions github-actions Bot removed the stale Stale PR or inactive for long period of time. label Aug 13, 2026
@serhiy-storchaka

serhiy-storchaka commented Aug 13, 2026

Copy link
Copy Markdown
Member

Implemented (under other name) in #91219.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@serhiy-storchaka serhiy-storchaka closed this Aug 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@matrixise matrixise

Labels

awaiting review

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

9 participants

@epaulson @the-knights-who-say-ni @MaxwellDupre @AlexWaygood @serhiy-storchaka @matrixise @Mariatta @ezio-melotti @bedevere-bot
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.