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