ProtonMail/WebClient/public/src/.htaccess
RewriteEngine On RewriteCond %{HTTPS} !=on RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] # Redirect nothing to app RewriteRule ^$ /app.html [NC,L] # Hide .git stuff RewriteRule ^.*?.git.* /app.html [NC,L] RewriteCond %{REQUEST_FILENAME} -s [OR] RewriteCond %{REQUEST_FILENAME} -l [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^.*$ - [NC,L] RewriteRule ^(.*) /app.html [NC,L]
Files
![HTTP_HOST, HTTPS, REQUEST_FILENAME, REQUEST_URI](https://www.askapache.com/s/u.askapache.com/htaccess-file/2016/github/ProtonMail/WebClient-public-src-htaccess-364x250.png)