joelpet/syncany-website/develop/get.syncany.org/html/.htaccess - Htaccess File

joelpet/syncany-website/develop/get.syncany.org/html/.htaccess

RewriteEngine On

# Redirect to HTTPS; do NOT redirect /apt/!
RewriteCond %{HTTP_USER_AGENT} !^.+MSIEs6
RewriteCond %{HTTPS} !=on
RewriteCond %{HTTP_HOST} ^get.syncany.org$
RewriteRule ^(arch.*|debian.*|dist.*|homebrew.*|other.*|windows.*|index.php|)$ https://get.syncany.org/$1 [R=302,L] 

# Redirect old distributions dist/*.deb -> dist/releases/*.deb
RewriteRule ^dist/([^/]+.(exe|tar.gz|zip|deb))$ dist/releases/$1

On Github License

Files

Download PDF of Htaccess file
HTTP_HOST, HTTP_USER_AGENT, HTTPS

Comments

Apache