[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: issue 4813: replace urchin.js with analytics.js and fix redundant ho
From: |
PhilEHolmes |
Subject: |
Re: issue 4813: replace urchin.js with analytics.js and fix redundant hostnames (issue 294020043 by address@hidden) |
Date: |
Wed, 30 Mar 2016 10:20:52 +0000 |
Update:
https://codereview.appspot.com/294020043/diff/1/Documentation/web/server/lilypond.org.htaccess
File Documentation/web/server/lilypond.org.htaccess (left):
https://codereview.appspot.com/294020043/diff/1/Documentation/web/server/lilypond.org.htaccess#oldcode19
Documentation/web/server/lilypond.org.htaccess:19: # Deny following of
symlinks by robots.
This version causes Firefox to complain, with "Firefox has detected that
the server is redirecting the request for this address in a way that
will never complete"
A bit more research led me to:
# Permanent redirect from www.lilypond.org to lilypond.org
RewriteCond "%{HTTP_HOST}" "^www\.(.+)$" [NC]
RewriteRule "^(.*)$" "http://%1/$1" [R=301,L,NE]
which does work, and is in place currently.
https://codereview.appspot.com/294020043/