diff --git a/.dirimages/archive.png b/.dirimages/archive.png index 3ebc995..3a8886d 100644 Binary files a/.dirimages/archive.png and b/.dirimages/archive.png differ diff --git a/.dirimages/audio.png b/.dirimages/audio.png index 5b6d4c5..bf358f6 100644 Binary files a/.dirimages/audio.png and b/.dirimages/audio.png differ diff --git a/.dirimages/bad.png b/.dirimages/bad.png index 115fb0e..3f94cfb 100644 Binary files a/.dirimages/bad.png and b/.dirimages/bad.png differ diff --git a/.dirimages/css.png b/.dirimages/css.png index 753b7c4..030548a 100644 Binary files a/.dirimages/css.png and b/.dirimages/css.png differ diff --git a/.dirimages/directory.png b/.dirimages/directory.png index 9dcd620..4506365 100644 Binary files a/.dirimages/directory.png and b/.dirimages/directory.png differ diff --git a/.dirimages/diskimage.png b/.dirimages/diskimage.png index 4306ca2..db5018c 100644 Binary files a/.dirimages/diskimage.png and b/.dirimages/diskimage.png differ diff --git a/.dirimages/fifo.png b/.dirimages/fifo.png index 79a24f7..c6fbf9f 100644 Binary files a/.dirimages/fifo.png and b/.dirimages/fifo.png differ diff --git a/.dirimages/font.png b/.dirimages/font.png index 58942e9..a25104c 100644 Binary files a/.dirimages/font.png and b/.dirimages/font.png differ diff --git a/.dirimages/html.png b/.dirimages/html.png index 0bd2993..cf13a95 100644 Binary files a/.dirimages/html.png and b/.dirimages/html.png differ diff --git a/.dirimages/hwdevice.png b/.dirimages/hwdevice.png index 3310396..90f731e 100644 Binary files a/.dirimages/hwdevice.png and b/.dirimages/hwdevice.png differ diff --git a/.dirimages/image.png b/.dirimages/image.png index 5c9d726..1f78375 100644 Binary files a/.dirimages/image.png and b/.dirimages/image.png differ diff --git a/.dirimages/important.png b/.dirimages/important.png index b68e876..53e3a49 100644 Binary files a/.dirimages/important.png and b/.dirimages/important.png differ diff --git a/.dirimages/javascript.png b/.dirimages/javascript.png index 3392699..f264880 100644 Binary files a/.dirimages/javascript.png and b/.dirimages/javascript.png differ diff --git a/.dirimages/other.png b/.dirimages/other.png index 29c53a3..6cfcb97 100644 Binary files a/.dirimages/other.png and b/.dirimages/other.png differ diff --git a/.dirimages/php.png b/.dirimages/php.png index 93e9834..08c70dd 100644 Binary files a/.dirimages/php.png and b/.dirimages/php.png differ diff --git a/.dirimages/return.png b/.dirimages/return.png index 83e9a2a..b6d85db 100644 Binary files a/.dirimages/return.png and b/.dirimages/return.png differ diff --git a/.dirimages/socket.png b/.dirimages/socket.png index 19bc9ca..3e93c04 100644 Binary files a/.dirimages/socket.png and b/.dirimages/socket.png differ diff --git a/.dirimages/text.png b/.dirimages/text.png index fc4cd51..4823d89 100644 Binary files a/.dirimages/text.png and b/.dirimages/text.png differ diff --git a/.dirimages/video.png b/.dirimages/video.png index 8d44d54..988f8ca 100644 Binary files a/.dirimages/video.png and b/.dirimages/video.png differ diff --git a/config.json b/config.json index 564028d..1c9a20d 100644 --- a/config.json +++ b/config.json @@ -3,7 +3,7 @@ "port": 80, "pubport": 80, "page404": "404.html", - "timestamp": 1701600932028, + "timestamp": 1709477722479, "blacklist": [], "nonStandardCodes": [], "enableCompression": true, @@ -58,5 +58,6 @@ "useWebRootServerSideScript": true, "exposeModsInErrorPages": true, "disableTrailingSlashRedirects": false, - "environmentVariables": {} + "environmentVariables": {}, + "allowDoubleSlashes": false } diff --git a/index.html b/index.html index 42407ca..17e38c0 100644 --- a/index.html +++ b/index.html @@ -1,7 +1,7 @@ - SVR.JS 3.14.3 + SVR.JS 3.14.4 -

Welcome to SVR.JS 3.14.3

+

Welcome to SVR.JS 3.14.4


- +

If you see this page that means that the server is working properly. You can further configure the server and replace index.html and tests.html pages with custom ones.

Default config.json looks like this:

-
- - {
-   "users": [],
-   "port": 80,
-   "pubport": 80,
-   "page404": "404.html",
-   "timestamp": 1701600932028,
-   "blacklist": [],
-   "nonStandardCodes": [],
-   "enableCompression": true,
-   "customHeaders": {},
-   "enableHTTP2": false,
-   "enableLogging": true,
-   "enableDirectoryListing": true,
-   "enableDirectoryListingWithDefaultHead": false,
-   "serverAdministratorEmail": "[no contact information]",
-   "stackHidden": false,
-   "enableRemoteLogBrowsing": false,
-   "exposeServerVersion": true,
-   "disableServerSideScriptExpose": true,
-   "rewriteMap": [
-     {
-       "definingRegex": "/^\\/serverSideScript\\.js(?:$|[#?])/",
-       "replacements": [
-         {
-           "regex": "/^\\/serverSideScript\\.js($|[#?])/",
-           "replacement": "/NONEXISTENT_PAGE$1"
-         }
-       ]
-     },
-     {
-       "definingRegex": "/^\\/testdir_rewritten(?:$|[\\/?#])/",
-       "replacements": [
-         {
-           "regex": "/^\\/testdir_rewritten($|[\\/?#])/",
-           "replacement": "/testdir$1"
-         }
-       ]
-     }
-   ],
-   "allowStatus": true,
-   "dontCompress": [
-     "/.*\\.ipxe$/",
-     "/.*\\.img$/",
-     "/.*\\.iso$/",
-     "/.*\\.png$/",
-     "/.*\\.jpg$/",
-     "/.*\\.webp$/"
-   ],
-   "enableIPSpoofing": false,
-   "secure": false,
-   "sni": {},
-   "disableNonEncryptedServer": false,
-   "disableToHTTPSRedirect": false,
-   "enableETag": true,
-   "disableUnusedWorkerTermination": false,
-   "rewriteDirtyURLs": true,
-   "errorPages": [],
-   "useWebRootServerSideScript": true,
-   "exposeModsInErrorPages": true,
-   "disableTrailingSlashRedirects": false,
-   "environmentVariables": {}
+ +
{
+  "users": [],
+  "port": 80,
+  "pubport": 80,
+  "page404": "404.html",
+  "timestamp": 1709477722479,
+  "blacklist": [],
+  "nonStandardCodes": [],
+  "enableCompression": true,
+  "customHeaders": {},
+  "enableHTTP2": false,
+  "enableLogging": true,
+  "enableDirectoryListing": true,
+  "enableDirectoryListingWithDefaultHead": false,
+  "serverAdministratorEmail": "[no contact information]",
+  "stackHidden": false,
+  "enableRemoteLogBrowsing": false,
+  "exposeServerVersion": true,
+  "disableServerSideScriptExpose": true,
+  "rewriteMap": [
+    {
+      "definingRegex": "/^\\/serverSideScript\\.js(?:$|[#?])/",
+      "replacements": [
+        {
+          "regex": "/^\\/serverSideScript\\.js($|[#?])/",
+          "replacement": "/NONEXISTENT_PAGE$1"
         }
-      
-    
+ ] + }, + { + "definingRegex": "/^\\/testdir_rewritten(?:$|[\\/?#])/", + "replacements": [ + { + "regex": "/^\\/testdir_rewritten($|[\\/?#])/", + "replacement": "/testdir$1" + } + ] + } + ], + "allowStatus": true, + "dontCompress": [ + "/.*\\.ipxe$/", + "/.*\\.img$/", + "/.*\\.iso$/", + "/.*\\.png$/", + "/.*\\.jpg$/", + "/.*\\.webp$/" + ], + "enableIPSpoofing": false, + "secure": false, + "sni": {}, + "disableNonEncryptedServer": false, + "disableToHTTPSRedirect": false, + "enableETag": true, + "disableUnusedWorkerTermination": false, + "rewriteDirtyURLs": true, + "errorPages": [], + "useWebRootServerSideScript": true, + "exposeModsInErrorPages": true, + "disableTrailingSlashRedirects": false, + "environmentVariables": {}, + "allowDoubleSlashes": false +} +

Changes:

-