A file of symbolic link path was showed 404 error.

Answered

I'm making web application by intelliJ IDEA.

Then i would put uploaded static file on another disk(another partition or nas).

So, I make a folder in the target folder(application would be built.) of my project to symbolic link.

but a file in symbolic link path was occurred 404 error in web browser.

How can i use static resource in symbolic link path

0
1 comment

Could you please elaborate on your question?

What webserver is in use? Different webservers process the static files in different ways. Some of them (such as nginx) are not following symlinks due to security reasons and it is needed to disable that restriction manually. 

What the web application type? Is it Java application, or maybe PHP? 

Please attach screenshots of the configuration or a sample project with steps to reproduce. 

0

Please sign in to leave a comment.