%PDF- %PDF-
Direktori : /home/tjamichg/portal.tjamich.gob.mx/ |
Current File : /home/tjamichg/portal.tjamich.gob.mx/.htaccess |
Options -Indexes IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti* <Files ".htaccess"> Order Allow,Deny Deny from all </Files> RewriteEngine On RewriteCond %{HTTPS} !=on RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] RewriteEngine On RewriteCond %{REQUEST_METHOD} ^(TRACE|DELETE|TRACK|OPTIONS|CONNECT|PUT) RewriteRule ^ - [F] SetEnvIfNoCase User-Agent "libwww-perl" bad_bot SetEnvIfNoCase User-Agent "curl" bad_bot SetEnvIfNoCase User-Agent "python-requests" bad_bot SetEnvIfNoCase User-Agent "wget" bad_bot <Limit GET POST> Order Allow,Deny Allow from all Deny from env=bad_bot </Limit> <FilesMatch "^\.ht"> Order Allow,Deny Deny from all </FilesMatch> <Files ~ "\.(py|bak|config|mail|inc|log|sql|swp|git|svn|tar|zip|ini|env|json|lock)$"> Order allow,deny Deny from all </Files> <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{QUERY_STRING} (\<|%3C|\>|%3E|\"|\'|%22|%27|;|--|\\) [NC,OR] RewriteCond %{QUERY_STRING} (\.\./|\./|%2E%2E|%2F|%5C) [NC] RewriteRule ^ - [F] </IfModule> <IfModule mod_headers.c> Header set X-Content-Type-Options "nosniff" Header set X-XSS-Protection "1; mode=block" </IfModule> <IfModule mod_rewrite.c> RewriteEngine on RewriteCond %{SCRIPT_FILENAME} !-d RewriteCond %{SCRIPT_FILENAME} !-f # Activar RewriteEngine RewriteEngine on RewriteRule ^(.*)$ index.php?opc=$1 [QSA,L] Rewriterule ^denuncias/([0-9]+)/([0-9]+)$ page_add_denuncia.php?form=$1&tipo=$2 </IfModule> # php -- BEGIN cPanel-generated handler, do not edit # Set the “ea-php74” package as the default “PHP” programming language. <IfModule mime_module> AddHandler application/x-httpd-ea-php74 .php .php7 .phtml </IfModule> # php -- END cPanel-generated handler, do not edit