Download the server from here and install. The default location for the server to run is C:\deserver6 due to the short path limitation in LegEasy4DOS and LegEasy 6.53.

The use LegEasy server6, you will need a license that must be registered before you can start using the server.

C:\deserver6\deserver -setlicense=XXX-XXXXXXXXXXX-XXXXX

Then you need LegEasy 6.53 or DOS5 app in a short path like C:\Data\MyApp to not go over path length the limit. You will need the name of the app and a valid user/password combination to a high user.

Create a static folder in your app folder and create a file named index.html

<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Hello</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.8/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-sRIl4kxILFvY47J16cr9ZwB07vP4J8+LH7qKQnuqkuIAvNWLzeN8tE5YBujZqJLB" crossorigin="anonymous">
</head>
<body>
<div class="container">
<h1>Hello world!</h1>
</div>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.8/dist/js/bootstrap.bundle.min.js" integrity="sha384-FKyoEForCGlyvwx9Hj09JcYn3nv7wiPVlz7YYwJrWVcXK/BmnVDxM+D2scQbITxI" crossorigin="anonymous"></script>
</body>
</html>

Then make sure you have a shared "DEPATH" directory with the correct locking set up as deserver6 do not have a singleuser configur.dat copied into the program folder. You can ex. set it up as C:\653locking and copy the DENETWRK.OVL from C:\deserver6\networkingandlocking and then copy the locking model that matches your application from one of the three folders in C:\deserver6\networkingandlocking.

Then start your server with:

C:\deserver6\deserver 8111 "C:\Data\MyApp" "MyApp" "userhigh" "password" "server6" "C:\653locking"

This will start the http server for your app, and it will be accessable from your local computer only on port 8111 by calling http://127.0.0.1:8111 and it will by default serve index.html from the static folder under your app. The server in this case is set up with DENAME=server6 and DEPATH=C:\653locking as the shared locking directory. This app is only accessable localy on your computer. If you for some reason want it to be accessable from other computers on your network, change 8111 to 0.0.0.0:8111 to listen on all network adapters and not only localhost.

For a better example that do more than show hallo world, look at one of the turorials.