404 customised page for DSM (i.e.: shared links not found page)

Questions about HTTP Access/Mods may go here
Forum rules
Please note the disclaimer before modifying your Synology Product.
User avatar
sesardelaisla
I'm New!
I'm New!
Posts: 1
Joined: Wed Jun 22, 2016 7:22 am

404 customised page for DSM (i.e.: shared links not found page)

Postby sesardelaisla » Wed Jun 29, 2016 10:59 am

Hi All,

My first post... I hope I am posting in the right forum.

I would like to know whether there is a clean way to customise the 404 Synology branded page embedded in the DSM nginx web server. I mean the error page generated by the DSM itself, not the Web Station one. For instance, the one which is displayed when you follow a File Station shared link which does not exist. After some research, I have found out that modifying the following file does the trick:

Code: Select all

/usr/syno/share/nginx/error.html

However, I guess that this modification will be lost after every update. Besides, modifying this file enables the DSM system files have been modified unexpectedly alert in the Security Advisor so I would like to do this with some kind of workaround without disabling this check, if any.

Cheers,
Sésar
DS216+II
DSM 6.0.1-7393 Update 1
2x WD40EFRX HDDs
Setec Astronomy

Return to “HTTP/Apache Mods”

Who is online

Users browsing this forum: No registered users and 1 guest