{"id":420,"date":"2012-05-26T12:20:33","date_gmt":"2012-05-26T16:20:33","guid":{"rendered":"http:\/\/drthompsen.com\/?p=420"},"modified":"2012-10-05T11:33:27","modified_gmt":"2012-10-05T15:33:27","slug":"getting-flowplayer-working-on-lion-server","status":"publish","type":"post","link":"https:\/\/drthompsen.com\/?p=420","title":{"rendered":"Getting Flowplayer working on Lion Server"},"content":{"rendered":"<p>I&#8217;ve recently been working on upgrading Snow Leopard server to Lion server.  While the new interface to Lion server looks good, it really lacks a lot of the options available in the Server Admin application of Snow Leopard.  Lion also lacks MySQL, but that was fairly easy to install and configure.<\/p>\n<p>What wasn&#8217;t so easy to figure out was why Flowplayer wasn&#8217;t working when I moved to Lion server.  On some pages, the embedded Flowplayer swf file wasn&#8217;t even showing up.  On other pages, the background image would appear, as well as the play button image overlay, but a black screen would appear as soon as one would try to play back a video.<\/p>\n<p>After trying many things over the past week, I finally discovered that the issue was that Flowplayer wouldn&#8217;t work with Lion server&#8217;s Apache 2 configuration of gzip compression.  These lines in an .htaccess file did the trick&#8230;<\/p>\n<p>Options +FollowSymLinks<br \/>\nRewriteEngine on<br \/>\nRewriteRule \\.swf$ &#8211; [E=no-gzip:1]<\/p>\n<p>Actually, I only needed to add the last line, as I already had an .htaccess file that had the first two lines.  I suppose I could have added these configuration directives in one of the httpd.conf files, but putting them in an .htaccess file ensures they won&#8217;t be overwritten by a software update. <\/p>\n<p>I&#8217;m still struggling with other issues with Lion server, but hopefully I will be able to resolve them soon.  I&#8217;ll try to document them here, not only in the hope that it might help others with similar issues, but also to remind me of what I might need to do in the event I need to reinstall.  They may also be helpful should I eventually move to Mountain Lion server this summer.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve recently been working on upgrading Snow Leopard server to Lion server. While the new interface to Lion server looks good, it really lacks a lot of the options available in the Server Admin application of Snow Leopard. Lion also lacks MySQL, but that was fairly easy to install and configure. What wasn&#8217;t so easy &hellip; <a href=\"https:\/\/drthompsen.com\/?p=420\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Getting Flowplayer working on Lion Server<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[66],"tags":[],"class_list":["post-420","post","type-post","status-publish","format-standard","hentry","category-technology"],"_links":{"self":[{"href":"https:\/\/drthompsen.com\/index.php?rest_route=\/wp\/v2\/posts\/420","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/drthompsen.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/drthompsen.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/drthompsen.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/drthompsen.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=420"}],"version-history":[{"count":8,"href":"https:\/\/drthompsen.com\/index.php?rest_route=\/wp\/v2\/posts\/420\/revisions"}],"predecessor-version":[{"id":448,"href":"https:\/\/drthompsen.com\/index.php?rest_route=\/wp\/v2\/posts\/420\/revisions\/448"}],"wp:attachment":[{"href":"https:\/\/drthompsen.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=420"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/drthompsen.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=420"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/drthompsen.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=420"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}