clarat-org/clarat-wiki/master/.htaccess
AuthUserFile /app/.htpasswd AuthType Basic AuthName "Restricted Access" Require valid-user RewriteEngine On RewriteBase / RewriteCond %{HTTP_HOST} !wiki.clarat.org$ [NC] RewriteRule ^(.*)$ http://wiki.clarat.org/$1 [L,R=301]