Microsoft Office sucks (with opening URLs)

Ran into a really bizarre situation today with loading URLs from inside a Word document.  Microsoft Office apparently does some stupid junk with pre-loading the URLs inside Office and will follow URLs straight to logout page instead of passing it to the browser untouched like a normal application would.  I managed to fix this in Apache by basically telling MS Office to have an HTTP 200 code anytime it attempts to access the server.  Below is the configuration block for that.

RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} ^.*ms.*office.*$
RewriteRule .* - [R=200,L]
Advertisement
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s