diff --git a/README.md b/README.md
index 527aa44..55469dd 100644
--- a/README.md
+++ b/README.md
@@ -228,24 +228,52 @@ which matches how the packaged app currently handles simulation input/output.
###### Deploying on a web server ######
-The browser version requires a server-side setup in addition to the static
-HTML/JavaScript files.
+The repository includes the browser assets, CGI runner, and a deployment
+script for an Apache-style server. With the default settings, run:
-In particular:
+```bash
+sudo ./scripts/deploy-web.sh
+```
-* the browser build uses `TrimSPweb.js` rather than the Electron-specific
- `TrimSPelec.js`
-* the simulation backend must be available on the server
-* a web-exposed helper/CGI layer is required to create input files, run the
- backend, and return the generated output
+The script builds the static Fortran engine and installs:
-Notes:
+```text
+/var/www/html/TRIMSP-NL/ browser application
+/var/www/cgi-bin/singleTrimSP.cgi CGI runner
+/usr/local/bin/trimspNL TRIM.SP-NL engine
+```
-* this repository does not currently include the CGI/backend helper used by
- the online deployment
-* a plain static web server is therefore not sufficient for running web
- simulations from this checkout
-* static hosting can still be used to test page loading only
+Deployment paths and ownership can be changed through environment variables:
+
+| Variable | Default | Purpose |
+| --- | --- | --- |
+| `TRIMSP_WEB_TARGET` | `/var/www/html/TRIMSP-NL` | Browser asset directory |
+| `TRIMSP_CGI_TARGET` | `/var/www/cgi-bin/singleTrimSP.cgi` | Installed CGI path |
+| `TRIMSP_BIN_TARGET` | `/usr/local/bin/trimspNL` | Installed engine path |
+| `TRIMSP_WEB_OWNER` | `apache` | Web file owner |
+| `TRIMSP_WEB_GROUP` | `apache` | Web file group |
+| `TRIMSP_BUILD_STATIC` | `1` | Build the static engine before deployment |
+| `TRIMSP_BINARY_SOURCE` | `fortran/trimspNL-static` | Binary used when installing |
+
+For example, to deploy without rebuilding and use an existing binary:
+
+```bash
+sudo TRIMSP_BUILD_STATIC=0 \
+ TRIMSP_BINARY_SOURCE=/path/to/trimspNL \
+ ./scripts/deploy-web.sh
+```
+
+The web server must execute the CGI through `/cgi-bin/singleTrimSP.cgi` and
+serve simulation files written below filesystem `/tmp` through URL `/tmp/`.
+Review that mapping carefully so it exposes only the intended simulation
+artifacts. On SELinux systems, inspect denied operations with:
+
+```bash
+ausearch -m avc -ts recent
+```
+
+The Apache account needs permission to execute the CGI and engine and to create
+the per-run directories in `/tmp`.
### Contact ###
diff --git a/TrimSP.html b/TrimSP.html
index cfb02ce..83f5f14 100644
--- a/TrimSP.html
+++ b/TrimSP.html
@@ -111,16 +111,27 @@
+ Single simulation using the Layers settings.
+