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

Enhancement: file-server browser, allow for listing symlinks as symlinks #5810

Closed
Forza-tng opened this issue Sep 9, 2023 · 2 comments · Fixed by #5973
Closed

Enhancement: file-server browser, allow for listing symlinks as symlinks #5810

Forza-tng opened this issue Sep 9, 2023 · 2 comments · Fixed by #5973
Labels
feature ⚙️ New feature or request

Comments

@Forza-tng
Copy link
Contributor

Caddy currently resolves symlink targets and displays the target information in its directory listing.

I would like an option to show links as links to the destination instead of appearing as a real file.

Example:

a/
b/
foo.txt
bar.txt
baz.txt -> a/baz.txt
...

Clicking the link should still download the file as before.

@mholt mholt added the feature ⚙️ New feature or request label Sep 11, 2023
@armadi1809
Copy link
Contributor

armadi1809 commented Dec 11, 2023

@mholt I would like to take a shot at this if you guys are still planning on implementing this feature.

Just to get more context, we are here referring to the caddy file-server command right? Thank you.

@mohammed90
Copy link
Member

Sure. Feel free to send a PR.

we are here referring to the caddy file-server command right?

No, this is about the browse sub-directive in file_server handler, regardless of whether it's run through configuration file or the caddy file-server command.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature ⚙️ New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants