<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Best practice for serving static content from sas 9.4 mid-tier in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/Best-practice-for-serving-static-content-from-sas-9-4-mid-tier/m-p/161922#M2020</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in sas 9.3 i had Apache configured as reverse proxy to the SAS webapps.&lt;/P&gt;&lt;P&gt;i used Apache to serve the SAS Themes and my custom html/js/css files.&lt;/P&gt;&lt;P&gt;mid-tier architecture changed somewhat from 9.3 to 9.4&lt;/P&gt;&lt;P&gt;what is the best practise for serving this static content in sas 9.4?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks, Bart&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 May 2014 12:29:03 GMT</pubDate>
    <dc:creator>bheinsius</dc:creator>
    <dc:date>2014-05-16T12:29:03Z</dc:date>
    <item>
      <title>Best practice for serving static content from sas 9.4 mid-tier</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Best-practice-for-serving-static-content-from-sas-9-4-mid-tier/m-p/161922#M2020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in sas 9.3 i had Apache configured as reverse proxy to the SAS webapps.&lt;/P&gt;&lt;P&gt;i used Apache to serve the SAS Themes and my custom html/js/css files.&lt;/P&gt;&lt;P&gt;mid-tier architecture changed somewhat from 9.3 to 9.4&lt;/P&gt;&lt;P&gt;what is the best practise for serving this static content in sas 9.4?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks, Bart&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 May 2014 12:29:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Best-practice-for-serving-static-content-from-sas-9-4-mid-tier/m-p/161922#M2020</guid>
      <dc:creator>bheinsius</dc:creator>
      <dc:date>2014-05-16T12:29:03Z</dc:date>
    </item>
    <item>
      <title>Re: Best practice for serving static content from sas 9.4 mid-tier</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Best-practice-for-serving-static-content-from-sas-9-4-mid-tier/m-p/161923#M2021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you aware that SAS provides their own web server in 9.4 replacing the need for third-party ones? It would be worth exploring how you could include your static content on the SAS web server. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 May 2014 19:38:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Best-practice-for-serving-static-content-from-sas-9-4-mid-tier/m-p/161923#M2021</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2014-05-19T19:38:46Z</dc:date>
    </item>
    <item>
      <title>Re: Best practice for serving static content from sas 9.4 mid-tier</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Best-practice-for-serving-static-content-from-sas-9-4-mid-tier/m-p/161924#M2022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sorry for not being clear, that *is* what i meant to ask:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10pt; line-height: 1.5em;"&gt;what is the best practise for serving this static content from the sas 9.4 web server?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 May 2014 19:41:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Best-practice-for-serving-static-content-from-sas-9-4-mid-tier/m-p/161924#M2022</guid>
      <dc:creator>bheinsius</dc:creator>
      <dc:date>2014-05-19T19:41:45Z</dc:date>
    </item>
    <item>
      <title>Re: Best practice for serving static content from sas 9.4 mid-tier</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Best-practice-for-serving-static-content-from-sas-9-4-mid-tier/m-p/161925#M2023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately this is not an issue I've had to deal with. Hopefully there are other forum users that have.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 May 2014 22:40:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Best-practice-for-serving-static-content-from-sas-9-4-mid-tier/m-p/161925#M2023</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2014-05-19T22:40:17Z</dc:date>
    </item>
    <item>
      <title>Re: Best practice for serving static content from sas 9.4 mid-tier</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Best-practice-for-serving-static-content-from-sas-9-4-mid-tier/m-p/161926#M2024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bart,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Quoting the SAS 9.4 Intelligence Platform: Middle-Tier Administration Guide, Second Edition in the &lt;A href="http://support.sas.com/documentation/cdl/en/bimtag/66823/HTML/default/viewer.htm#n0sadc4a1fe3jyn10qwr92bsiv31.htm"&gt;About SAS Web Server&lt;/A&gt; section:&lt;/P&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;P&gt;SAS Web Server is an HTTP server. The server is based on VMware vFabric Web Server. SAS configures the server with the following features:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;automatically configured as a load-balancing HTTP server when SAS Web Application Server is clustered.&lt;/LI&gt;&lt;LI&gt;automatically updated to route web sessions (round robin) to SAS Web Application Server instances when clustered.&lt;/LI&gt;&lt;LI&gt;can be configured for HTTPS automatically. You must supply a signed certificate and a private key. You can follow manual steps to change a configuration that used HTTP to HTTPS.&lt;/LI&gt;&lt;LI&gt;automatically configured to cache static web content like JavaScript files, cascading style sheets, and graphics files.&lt;/LI&gt;&lt;/UL&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Additionally the VMware vFabric Web Server (now know as Pivotal Web Server) is based on Apache Web Server. Your existing knowledge of configuring Apache for use with prior versions of SAS can be reused with the SAS Web Server. You won't need to configure any reverse proxying of the SAS web applications (from the SAS Web Application Server) or the deployment of static SAS contents (themes etc) as that is all set up during SAS installation (including caching of themes). If you look in your equivalent of the SAS Web Server configuration include-file /opt/sas94/config/Lev1/Web/WebServer/conf/sas.conf you will see this pre-configuration all in place.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With regard to your own custom static content you could either configure a separate web server instance to server it for you, or take advantage of the existing SAS Web Server. Re-using the SAS Web Server would use less resources (not that a web server is likely to use much resources compared with the rest of the platform), but any customizations would need to be factored into future upgrade plans.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not suggesting this is a "&lt;EM&gt;best practice&lt;/EM&gt;", but it is a method that works for me. Being on a Linux platform, I add symlinks to the locations of my static content in my SAS Web Server document root: /opt/sas94/config/Lev1/Web/WebServer/htdocs&amp;nbsp; Another alternative is to create a custom.conf file in the /opt/sas94/config/Lev1/Web/WebServer/conf directory and add an include line for it to the end of the httpd.conf file (where you'll see the sas.conf file included). In that custom.conf file you can use an &lt;A href="http://httpd.apache.org/docs/2.2/mod/mod_alias.html"&gt;Apache Alias directive&lt;/A&gt; in addition to other Apache directives you require.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps. I'd be keen to hear what others do too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 May 2014 23:40:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Best-practice-for-serving-static-content-from-sas-9-4-mid-tier/m-p/161926#M2024</guid>
      <dc:creator>PaulHomes</dc:creator>
      <dc:date>2014-05-21T23:40:27Z</dc:date>
    </item>
    <item>
      <title>Re: Best practice for serving static content from sas 9.4 mid-tier</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Best-practice-for-serving-static-content-from-sas-9-4-mid-tier/m-p/301836#M6233</link>
      <description>&lt;P&gt;Excellent solution Paul. I am getting a forbidden error and to resolve the same,&amp;nbsp;update the SAS webserver conf file setting to include the path (symlinks etc) some thing similart to below&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;Directory ..../SAS/SAS94/config/midtier/Lev2/Web/WebServer/htdocs&amp;gt;&lt;BR /&gt;#Options FollowSymLinks&lt;BR /&gt;Options +Indexes FollowSymLinks Includes ExecCGI&lt;BR /&gt;AllowOverride All&lt;BR /&gt;Order deny,allow&lt;BR /&gt;Allow from all&lt;BR /&gt;&amp;lt;/Directory&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Prasad&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Oct 2016 06:47:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Best-practice-for-serving-static-content-from-sas-9-4-mid-tier/m-p/301836#M6233</guid>
      <dc:creator>prasad_naiduleela</dc:creator>
      <dc:date>2016-10-03T06:47:47Z</dc:date>
    </item>
  </channel>
</rss>

