HEX
Server: Apache/2.4.63 (Unix)
System: Linux Synopilou92 4.4.302+ #72806 SMP Mon Jul 21 23:16:00 CST 2025 x86_64
User: pilou92 (1026)
PHP: 8.0.30
Disabled: NONE
Upload Files
File: //usr/syno/synoman/redirect.cgi
#!/bin/sh

echo -e "Content-Type: text/html\n"
[ -n "$1" ] && echo "<html><script type=\"text/javascript\">var URL=location.protocol+\"//\"+location.hostname+\":$1/\";location.replace(URL);</script></html>"