Skip to content

v0.12.0

Compare
Choose a tag to compare
@gzurl gzurl released this 30 May 08:58
· 19 commits to main since this release
9c26009

0.12.0 (2023/06/30)

This version introduces a new Apache directive: WasmMapCGIFileNames.
It enables/disables the mapping of SCRIPT_FILENAME based on the different WasmMapDir instances when WasmEnableCGI is enabled.

In addition, it normalizes filename paths for both Windows and Linux styes.

WasmEnableCGI On
WasmMapCGIFileNames On
WasmMapDir /app C:/myapp/htdocs

In the example, SCRIPT_FILENAME will store /app/index.php instead of the host path C:/myapp/htdocs/index.php.
Without this setting, we would also need to provide a WasmDir granting access to C:/myapp/htdocs as the Wasm module would be trying to access it (or setting WasmMapDir C:/myapp/htdocs C:/myapp/htdocs).