svn commit: samba r7015 - in branches/SAMBA_4_0/swat/esptest: .

tridge at samba.org tridge at samba.org
Fri May 27 12:11:48 GMT 2005


Author: tridge
Date: 2005-05-27 12:11:48 +0000 (Fri, 27 May 2005)
New Revision: 7015

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=7015

Log:
use a scripting trick to force images to be sent with http instead of https, which
should make the server more responsive



Modified:
   branches/SAMBA_4_0/swat/esptest/index.esp


Changeset:
Modified: branches/SAMBA_4_0/swat/esptest/index.esp
===================================================================
--- branches/SAMBA_4_0/swat/esptest/index.esp	2005-05-27 12:05:36 UTC (rev 7014)
+++ branches/SAMBA_4_0/swat/esptest/index.esp	2005-05-27 12:11:48 UTC (rev 7015)
@@ -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:



More information about the samba-cvs mailing list