#This Apache config file was created by Duplicator Installer on 2020-09-08 20:05:54.
#The original can be found in archived file with the name .htaccess__[HASH]
# BEGIN WordPress
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.sige.ita.br/$1 [R=301,L,NE]
Header always set Content-Security-Policy "upgrade-insecure-requests;"
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
# END WordPress
# Disable directory browsing
Options All -Indexes
# Extra Security Headers
Header set X-XSS-Protection "1; mode=block"
# Header always append X-Frame-Options SAMEORIGIN
Header set X-Content-Type-Options nosniff
# protect wpconfig.php
order allow,deny
deny from all
Order Deny,Allow
Deny from all
Allow from all