15 lines
203 B
Bash
Executable File
15 lines
203 B
Bash
Executable File
#! /bin/sh
|
|
|
|
USERNAME=$(basename ${REQUEST_URI})
|
|
|
|
echo "Content-type: text/html"
|
|
echo ""
|
|
|
|
|
|
#echo -n "<pre>" ; env ; echo "</pre>" # DEBUG
|
|
|
|
cat index.html.tpl | sed "s/{{username}}/${USERNAME}/g"
|
|
|
|
|
|
exit 0
|