2023-07-29 20:32:17 +02:00
<!DOCTYPE html>
< html >
< head >
2023-09-12 23:21:54 +02:00
< title > SVR.JS 3.10.2< / title >
2023-07-29 20:32:17 +02:00
< meta name = "viewport" content = "width=device-width, initial-scale=1.0" / >
< meta charset = "UTF-8" / >
< style >
body {
font-family: FreeSans, Helvetica, Tahoma, Arial, sans-serif;
text-align: center;
}
< / style >
< / head >
< body >
2023-09-12 23:21:54 +02:00
< h1 > Welcome to SVR.JS 3.10.2< / h1 >
2023-07-29 20:32:17 +02:00
< br / >
< img src = "/logo.png" style = "width: 256px;" / >
< br / >
< p > If you see this page, that means, that the server is properly working. You can further configure the server and replace < i > index.html< / i > and < i > tests.html< / i > pages with custom ones.< / p >
< p > Default < i > config.json< / i > looks like this:< / p >
< div style = "background-color: #e0e0e0; padding: 5px; text-align: left; display: inline-block;" >
< code >
{< br / >
"users": [],< br / >
"port": 80,< br / >
"pubport": 80,< br / >
"page404": "404.html",< br / >
"timestamp": 1680954429282,< br / >
"blacklist": [],< br / >
"nonStandardCodes": [],< br / >
"enableCompression": true,< br / >
"customHeaders": {},< br / >
"enableHTTP2": false,< br / >
"enableLogging": true,< br / >
"enableDirectoryListing": true,< br / >
"enableDirectoryListingWithDefaultHead": false,< br / >
"serverAdministratorEmail": "[no contact information]",< br / >
"stackHidden": false,< br / >
2023-09-10 11:13:23 +02:00
"enableRemoteLogBrowsing": false,< br / >
2023-07-29 20:32:17 +02:00
"exposeServerVersion": true,< br / >
2023-09-12 21:17:24 +02:00
"disableServerSideScriptExpose": true,< br / >
2023-07-29 20:32:17 +02:00
"rewriteMap": [< br / >
2023-09-02 09:39:46 +02:00
"definingRegex": "/^\\/serverSideScript\\.js(?:$|[#?])/",< br / >
"replacements": [< br / >
{< br / >
"regex": "/^\\/serverSideScript\\.js($|[#?])/",< br / >
"replacement": "/NONEXISTENT_PAGE$1"< br / >
}< br / >
]< br / >
},< br / >
2023-07-29 20:32:17 +02:00
{< br / >
2023-09-02 09:39:46 +02:00
"definingRegex": "/^\\/invoke500\\/\\?/",< br / >
2023-08-29 15:34:17 +02:00
"replacements": [< br / >
2023-07-29 20:32:17 +02:00
{< br / >
"regex": "/\\/invoke500\\/\\?/",< br / >
"replacement": "/invoke500.svr?"< br / >
}< br / >
]< br / >
},< br / >
{< br / >
2023-09-02 09:39:46 +02:00
"definingRegex": "/^\\/invoke500\\/.+\\//",< br / >
2023-07-29 20:32:17 +02:00
"replacements": [< br / >
{< br / >
"regex": "/\\/\\?/",< br / >
"replacement": "& "< br / >
},< br / >
{< br / >
"regex": "/invoke500\\//",< br / >
"replacement": "invoke500.svr?"< br / >
},< br / >
{< br / >
"regex": "/\\/(?!invoke500.svr?)/",< br / >
"replacement": ""< br / >
}< br / >
]< br / >
2023-08-20 03:14:24 +02:00
},< br / >
2023-07-29 20:32:17 +02:00
{< br / >
2023-09-02 09:39:46 +02:00
"definingRegex": "/^\\/invoke500\\/.+/",< br / >
2023-07-29 20:32:17 +02:00
"replacements": [< br / >
{< br / >
"regex": "/\\?/",< br / >
"replacement": "& "< br / >
},< br / >
{< br / >
"regex": "/invoke500\\//",< br / >
"replacement": "invoke500.svr?"< br / >
}< br / >
]< br / >
},< br / >
{< br / >
2023-09-02 09:39:46 +02:00
"definingRegex": "/^\\/invoke500\\//",< br / >
2023-07-29 20:32:17 +02:00
"replacements": [< br / >
{< br / >
"regex": "/\\/invoke500\\//",< br / >
"replacement": "/invoke500.svr"< br / >
}< br / >
]< br / >
},< br / >
{< br / >
2023-09-02 09:39:46 +02:00
"definingRegex": "/^\\/invoke500$/",< br / >
2023-07-29 20:32:17 +02:00
"replacements": [< br / >
{< br / >
"regex": "/\\/invoke500/",< br / >
"replacement": "/invoke500.svr"< br / >
}< br / >
]< br / >
2023-09-02 09:39:46 +02:00
}< br / > ],< br / >
2023-07-29 20:32:17 +02:00
"allowStatus": true,< br / >
"dontCompress": ["/.*\\.ipxe$/","/.*\\.img$/","/.*\\.iso$/"],< br / >
"enableIPSpoofing": false,< br / >
"secure": false,< br / >
"sni": {},< br / >
"disableNonEncryptedServer": false,< br / >
"disableToHTTPSRedirect": false< br / >
}
< / code >
< / div >
< p > Changes:< / p >
< ul >
2023-09-12 23:21:54 +02:00
< li > Fixed bug with mods executing in wrong order (bug was related with access control vulnerability fix; bug was not present in LTS versions)< / li >
2023-07-29 20:32:17 +02:00
< / ul >
< br / >
< a href = "/tests.html" > Tests< / a > < br / >
< a href = "/licenses" > Licenses< / a > < br / >
< a href = "/svrjsstatus.svr" > SVR.JS status page< / a > < br / >
< a href = "https://svrjs.org/docs" > More Information< / a >
< br / >
< br / >
< img src = "/powered.png" / >
< / body >
< / html >