Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

autoIndex does not list files and folders by default in windows 10 #543

Closed
RobertWu-TIBCO opened this issue Jul 11, 2019 · 2 comments
Closed

Comments

@RobertWu-TIBCO
Copy link

Do you want to request a feature or report a bug?
A bug maybe ?

If the issue is a bug report, please provide the steps to reproduce it. Please include the actual command causing the issue if applicable.

npm install http-server -g
open "http://127.0.0.1:9998"

What did you expect to happen?
Since -i Display autoIndex (defaults to true), I should expect the url to list all my files and folders.

What actually happened? Please include the actual error trace and / or stack trace if applicable.
But instead it shows ERR_INVALID_REDIRECT.

[Thu Jul 11 2019 16:35:51 GMT+0800 (GMT+08:00)] "GET /" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36"

If the issue is a feature request, what is the motivation / use case for it?

Tell us about your environment

  • http-server version:
  • Platform:
    win 10 Enterprise G X64 , npm version 6.1.0 , run in mobaxterm

Other information (related issues, suggestions for a fix, etc):

@bjornharrtell
Copy link

This is actually a regression in a dependency, see jfhbrook/node-ecstatic#260, with little hope of getting fixed.

@thornjad
Copy link
Member

Duplicate of #525

@thornjad thornjad marked this as a duplicate of #525 Aug 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants