Uses 1113K of libraries. Click here for Pure Java version (19066L/103K).
!7 cm LANWebserver > DynEleuMultiIP { //S password = aRandomID(6); switchable S webSiteModuleID; // module ID (integer) start { if (empty(webSiteModuleID)) print("Please select a website module!"); else if (!dm_moduleExists(webSiteModuleID)) print("Warning: Web site module " + webSiteModuleID + " not found"); dm_onFieldChangeAndNow webSiteModuleID(r { print("Using this content module: " + dm_moduleNameAndID(webSiteModuleID)); }); } @Override S moduleForDomain(S domain) { S mod = dm_moduleExists(webSiteModuleID) ? webSiteModuleID : null; printFunctionCall moduleForDomain(+domain, +mod); ret mod; } }
Began life as a copy of #1029618
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx
No comments. add comment
| Snippet ID: | #1032109 | 
| Snippet name: | LAN Webserver [OK, uses port 8000 by default] | 
| Eternal ID of this version: | #1032109/9 | 
| Text MD5: | 273ac9ecb14c0f81e83fe7ef15240b9e | 
| Transpilation MD5: | a6af9a369a33a9879819cd946b25828d | 
| Author: | stefan | 
| Category: | javax | 
| Type: | JavaX source code (Dynamic Module) | 
| Public (visible to everyone): | Yes | 
| Archived (hidden from active list): | No | 
| Created/modified: | 2021-08-14 01:26:17 | 
| Source code size: | 693 bytes / 23 lines | 
| Pitched / IR pitched: | No / No | 
| Views / Downloads: | 353 / 1985 | 
| Version history: | 8 change(s) | 
| Referenced in: | [show references] |