Is there a way to serve files via symbolic links
See original GitHub issueI’ve a simple website that load JS scripts, and during development of some of those scripts (libraries held elsewhere) I want to use a symbolic link from the website folder to the library ‘dist’ file.
When I do this, ws
gives a 404 error rather than following the symbolic link and loading the script (e.g. when referenced using <script>
in index.html
).
Is there a way to do this?
I’m on Ubuntu Linux, using ws --version
2.5.6
Issue Analytics
- State:
- Created 4 years ago
- Comments:9 (5 by maintainers)
Top Results From Across the Web
Command Line Basics: Symbolic Links
Learn how to create symbolic links between files and directories from the command-line using the ln command.
Read more >Using Symlinks In Your File System (Explained)
All you have to do is access your server via SSH. The only caveat here is that you create links to files you...
Read more >How to Create Linux Symlinks (Symbolic Links)
Create Symbolic Link in Linux for Files ... Generally, to create links use we use the ln command and the -s option to...
Read more >Symbolic Link Handling
When transferring files using FASP (the Aspera GUI, ascp, ascp4, or async), you can configure how the server and client handle symbolic links....
Read more >Symbolic Link: What it is and How to Use It with Web Hosting
A symbolic link creates a file in your directory and acts as a shortcut to a file or folder. For example: I have...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
no probs, these things happen… let me know if you find anything else!
Yes. Oh dear, BIG apology for this. I couldn’t see the discrepancy. Thanks very much for your patience and sharp eyes.
Now works, including with symlinks, because I had the wrong filename. Nothing to do with
ws
.