.htaccess fixes to make it work in most contexts without changes.