8.15 Microsoft Office Documents Do Not Open When SharePoint is Accelerated by the Access Gateway Appliance

You can access and view the files on the Sharepoint server after authenticating at the Identity Server. However, when you open the Microsoft Office documents from the browser for modifying, you get a HTTP 409 error even after you add the #NAGGlobalOptions AllowMSWebDavMiniRedir advanced option.

The workaround is to add the 'Content-Disposition' header in response to the WebDAV queries.

  1. Add the following line to the httpd.conf available at /etc/opt/novell/apache2/conf/ file.

    LoadModule headers_module modules/libexec/mod_headers.so

  2. Add following entries to httpd.conf file

    <LocationMatch ".*\.doc$">
      Header set Content-Disposition attachment
    </LocationMatch>
    <LocationMatch ".*\.docx$">
      Header set Content-Disposition attachment
    </LocationMatch>
    <LocationMatch ".*\.xls$">
      Header set Content-Disposition attachment
    </LocationMatch>
    <LocationMatch ".*\.xlsx$">
      Header set Content-Disposition attachment
    </LocationMatch>
    <LocationMatch ".*\.ppt$">
      Header set Content-Disposition attachment
    </LocationMatch>
    <LocationMatch ".*\.pptx$">
      Header set Content-Disposition attachment
    </LocationMatch> 
    
  3. Restart novell-apache2 services.