summaryrefslogtreecommitdiff
path: root/swat/esptest/index.esp
diff options
context:
space:
mode:
Diffstat (limited to 'swat/esptest/index.esp')
-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: