Skip to content

Instantly share code, notes, and snippets.

@shoaibali
Created November 28, 2014 01:27
Show Gist options
  • Save shoaibali/bf0fcb6fddcada7c5e64 to your computer and use it in GitHub Desktop.
Save shoaibali/bf0fcb6fddcada7c5e64 to your computer and use it in GitHub Desktop.
SimpleSAMLphp NOSTATE error hyperlinks in Microsoft Office Word
Just put this in the .htaccess or apache2 configuration virtual host entry, just below alias /simplesaml
RewriteCond %{HTTP_USER_AGENT} ms-office [NC]
RewriteRule ^/(.*) $1 [R=301,L,QSA]
RewriteCond %{HTTP_USER_AGENT} OfficeLiveConnector [NC]
RewriteRule ^/(.*) $1 [R=301,L,QSA]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment