skip first folder #3

Open
opened 2021-06-24 18:02:08 +02:00 by koalp · 0 comments
Owner

Currently, if we have the following structure in the archive

example_website.tar.gz
└── example_website
    ├── index.html
    └── second.html

the url will be example_website.subdomain.domain.tls/example_website/index.html

As we often archive a folder rather than files in the folder, it could be nice if the first folder (here example_website) would be skipped so that going to example_website.subdomain.domain.tls shows index.html.

By default, the first folder would be skipped with a configuration option to avoid this behavior or to set a custom path.

Currently, if we have the following structure in the archive ``` example_website.tar.gz └── example_website ├── index.html └── second.html ``` the url will be `example_website.subdomain.domain.tls/example_website/index.html` As we often archive a folder rather than files in the folder, it could be nice if the first folder (here `example_website`) would be skipped so that going to `example_website.subdomain.domain.tls` shows `index.html`. By default, the first folder would be skipped with a configuration option to avoid this behavior or to set a custom path.
koalp added the
status
accepted
type
enhancement
labels 2021-06-24 18:02:08 +02:00
koalp self-assigned this 2021-06-24 18:02:08 +02:00
Sign in to join this conversation.
No description provided.