summaryrefslogtreecommitdiffstats
path: root/krfb
diff options
context:
space:
mode:
authorFrancois Andriot <francois.andriot@free.fr>2013-09-08 19:51:03 +0200
committerSlávek Banko <slavek.banko@axis.cz>2013-09-08 19:51:03 +0200
commitefa390acf7416e5f5b84f4547d80fe42255c603b (patch)
treede93b45dbde8de3b212326c52fe74185765e7a25 /krfb
parent45971e65a6114fbd1f91ae354da485450001166f (diff)
downloadtdenetwork-efa390acf7416e5f5b84f4547d80fe42255c603b.tar.gz
tdenetwork-efa390acf7416e5f5b84f4547d80fe42255c603b.zip
Update krfb_httpd script
Diffstat (limited to 'krfb')
-rw-r--r--krfb/krfb_httpd/krfb_httpd11
1 files changed, 4 insertions, 7 deletions
diff --git a/krfb/krfb_httpd/krfb_httpd b/krfb/krfb_httpd/krfb_httpd
index ee30fd9e..30505f88 100644
--- a/krfb/krfb_httpd/krfb_httpd
+++ b/krfb/krfb_httpd/krfb_httpd
@@ -6,17 +6,14 @@ if [ "$1" = "--kinetd" ]; then
fi
read request url httptype || exit 0
-url="${url/
-/}"
-httptype="${httptype/
-/}"
+url="${url/ /}"
+httptype="${httptype/ /}"
if [ "x$httptype" != "x" ]; then
line="x"
while [ -n "$line" ]; do
read line || exit 0
- line="${line/
-/}"
+ line="${line/ /}"
done
fi
# echo "url = $url, request = $request" >> /tmp/httpd.log
@@ -38,7 +35,7 @@ case "$url" in
content="
<HTML><HEAD><TITLE>$LOGNAME's desktop</TITLE></HEAD>
<BODY>
-<APPLET CODE=VncViewer.class ARCHIVE=VncViewer.jar WIDTH=$width HEIGHT=$height>
+<APPLET CODE=vncviewer/VNCViewer.class ARCHIVE=vncviewer.jar WIDTH=$width HEIGHT=$height>
<param name=PORT value=$port>
</APPLET>
</BODY></HTML>"