diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-05-27 12:11:48 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:17:06 -0500 |
commit | 5ad5d0fb43d99748143cfee0ef60ae28b6654e31 (patch) | |
tree | f335deca465444297cdde96bde485c7b6c687911 /swat/esptest/index.esp | |
parent | b63ce2f4795168eb871a54db71e0a117ea26b8c9 (diff) | |
download | samba-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/index.esp')
-rw-r--r-- | swat/esptest/index.esp | 6 |
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: |