<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"Century Gothic";
panose-1:2 11 5 2 2 2 2 2 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0in;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Century Gothic","sans-serif";
color:windowtext;}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:"Courier New";}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-family:"Century Gothic","sans-serif"'>Greetings:<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Century Gothic","sans-serif"'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:"Century Gothic","sans-serif"'>I’ve managed to muddle through and set up a Varnish server to deliver a few of our Public Safety web pages to external browsers, but for the life of me, I cannot get a handle on why a simple .swf doesn’t appear to be making its way to an external user. Internally to our network, it works just fine, but connect to the same webpage from outside, and all I get is a blank gray background, with no content delivered, and it appears that it’s still trying to download something.<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Century Gothic","sans-serif"'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:"Century Gothic","sans-serif"'>Running version 3 on Debian 2.6.32. Tried adding this sub to my .vcl file:<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Century Gothic","sans-serif"'><o:p> </o:p></span></p><p class=MsoNormal style='margin-bottom:12.0pt;line-height:15.0pt;background:#222222'><span style='font-size:9.0pt;font-family:Consolas;color:white'>sub donotgzipflash {<o:p></o:p></span></p><p class=MsoNormal style='margin-bottom:12.0pt;line-height:15.0pt;background:#222222'><span style='font-size:9.0pt;font-family:Consolas;color:white'> if (bereq.http.host == "yourwebserverdomainname.com") {<o:p></o:p></span></p><p class=MsoNormal style='margin-bottom:12.0pt;line-height:15.0pt;background:#222222'><span style='font-size:9.0pt;font-family:Consolas;color:white'> if (bereq.url ~ "\.swf($|?)") {<o:p></o:p></span></p><p class=MsoNormal style='margin-bottom:12.0pt;line-height:15.0pt;background:#222222'><span style='font-size:9.0pt;font-family:Consolas;color:white'> set bereq.http.Accept-Encoding = "identity";<o:p></o:p></span></p><p class=MsoNormal style='margin-bottom:12.0pt;line-height:15.0pt;background:#222222'><span style='font-size:9.0pt;font-family:Consolas;color:white'> }<o:p></o:p></span></p><p class=MsoNormal style='margin-bottom:12.0pt;line-height:15.0pt;background:#222222'><span style='font-size:9.0pt;font-family:Consolas;color:white'> }<o:p></o:p></span></p><p class=MsoNormal style='margin-bottom:12.0pt;line-height:15.0pt;background:#222222'><span style='font-size:9.0pt;font-family:Consolas;color:white'>}<o:p></o:p></span></p><p class=MsoNormal style='margin-bottom:12.0pt;line-height:15.0pt;background:#222222'><span style='font-size:9.0pt;font-family:Consolas;color:white'><o:p> </o:p></span></p><p class=MsoNormal style='margin-bottom:12.0pt;line-height:15.0pt;background:#222222'><span style='font-size:9.0pt;font-family:Consolas;color:white'>sub vcl_miss { call donotgzipflash; }<o:p></o:p></span></p><p class=MsoNormal style='margin-bottom:12.0pt;line-height:15.0pt;background:#222222'><span style='font-size:9.0pt;font-family:Consolas;color:white'>sub vcl_pass { call donotgzipflash; }<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Century Gothic","sans-serif"'>to see if it would accomplish anything, but get this when I try to compile it:<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Century Gothic","sans-serif"'>=================<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Century Gothic","sans-serif"'>root@revproxy:~# varnishd -f /etc/varnish/dpdandmedia.vcl -s malloc,1G -T 172.16.64.52:2000 -a :80<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Century Gothic","sans-serif"'>Message from VCC-compiler:<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Century Gothic","sans-serif"'>Regexp compilation error:<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Century Gothic","sans-serif"'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:"Century Gothic","sans-serif"'>nothing to repeat<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Century Gothic","sans-serif"'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:"Century Gothic","sans-serif"'>('input' Line 38 Pos 24)<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Century Gothic","sans-serif"'> if (bereq.url ~ "\.swf($|?)") {<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Century Gothic","sans-serif"'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:"Century Gothic","sans-serif"'>-----------------------############----<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Century Gothic","sans-serif"'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:"Century Gothic","sans-serif"'>Running VCC-compiler failed, exit 1<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Century Gothic","sans-serif"'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:"Century Gothic","sans-serif"'>VCL compilation failed<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Century Gothic","sans-serif"'>==================<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Century Gothic","sans-serif"'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:"Century Gothic","sans-serif"'>And so far have found nothing to remedy the compile error.<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Century Gothic","sans-serif"'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:"Century Gothic","sans-serif"'>Any assistance will be appreciated.<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Century Gothic","sans-serif"'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:"Century Gothic","sans-serif"'>Thanks,<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Century Gothic","sans-serif"'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:"Century Gothic","sans-serif"'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:"Century Gothic","sans-serif"'>Jim Avery<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Century Gothic","sans-serif"'>City of Denton, TX<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Century Gothic","sans-serif"'>Application Architect <o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Century Gothic","sans-serif"'>Database, Exchange, Backup, <o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Century Gothic","sans-serif"'>and Anti-Malware Administrator<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Century Gothic","sans-serif"'>Ph: 940.349.7760<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Century Gothic","sans-serif"'>Cell: 214.850.4543<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>