summaryrefslogtreecommitdiff
path: root/swat/esptest
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-05-27 12:11:48 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:17:06 -0500
commit5ad5d0fb43d99748143cfee0ef60ae28b6654e31 (patch)
treef335deca465444297cdde96bde485c7b6c687911 /swat/esptest
parentb63ce2f4795168eb871a54db71e0a117ea26b8c9 (diff)
downloadsamba-5ad5d0fb43d99748143cfee0ef60ae28b6654e31.tar.gz
samba-5ad5d0fb43d99748143cfee0ef60ae28b6654e31.tar.bz2
samba-5ad5d0fb43d99748143cfee0ef60ae28b6654e31.zip
r7015: use a scripting trick to force images to be sent with http instead of https, which
should make the server more responsive (This used to be commit 814c3674f8e0aa20fb3ee3657173bab05d7f3ded)
Diffstat (limited to 'swat/esptest')
-rw-r--r--swat/esptest/index.esp6
1 files changed, 5 insertions, 1 deletions
diff --git a/swat/esptest/index.esp b/swat/esptest/index.esp
index 7a5952e955..0f3f58166a 100644
--- a/swat/esptest/index.esp
+++ b/swat/esptest/index.esp
@@ -8,7 +8,11 @@
Samba4 ESP test
</TITLE>
<BODY>
-<img src="/images/logo.png" alt="Samba">
+<%
+/* this allows us to force the image to go over more efficiently as http */
+ var imagedir = "http://" + headers['HOST'] + "/images";
+%>
+<img src="@@imagedir/logo.png" alt="Samba">
<h1>Samba4 ESP test</h1>
Please choose one of the following tests: