RewriteEngine on
RewriteCond %{HTTP_HOST} ^(www.)?unisa.com.pe$
RewriteCond %{REQUEST_URI} !^/web/
RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$
RewriteCond %{REQUEST_URI} !^/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
RewriteRule ^(.*)$ /web/$1
RewriteCond %{HTTP_HOST} ^(www.)?unisa.com.pe$
RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$
RewriteCond %{REQUEST_URI} !^/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
RewriteRule ^(/)?$ web/index.php [L]

Header set Access-Control-Allow-Origin "*"

<Files 403.shtml>
order allow,deny
allow from all
</Files>

deny from 192.151.157.50
deny from 142.93.101.184
deny from 178.63.12.143
deny from 192.99.62.74
deny from 162.220.164.180
deny from 162.144.56.76
deny from 81.7.16.168
deny from 81.7.17.207
deny from 81.7.11.220
deny from 167.99.95.155
deny from 144.76.164.238
deny from 192.185.185.90
deny from 81.7.15.237

# php -- BEGIN cPanel-generated handler, do not edit
# Set the “ea-php56” package as the default “PHP” programming language.
<IfModule mime_module>
  AddHandler application/x-httpd-ea-php56 .php .php5 .phtml
</IfModule>
# php -- END cPanel-generated handler, do not edit
