IuriiP/wtf/master/public/.htaccess
### deny iframing #Header set X-Frame-Options SAMEORIGIN ### mod_rewrite RewriteEngine On RewriteBase /public RewriteRule ^.(.*)$ - [F] ### force ssl #RewriteCond %{HTTPS} off #RewriteRule ^(.*)$ https://%{SERVER_NAME}/%$1 [R,L] RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !index.php$ RewriteRule ^(.*)$ index.php
Files
![HTTPS, ORIGIN, REQUEST_FILENAME, SERVER_NAME](https://www.askapache.com/s/u.askapache.com/htaccess-file/2016/github/IuriiP/wtf-public-htaccess-328x250.png)