[ Mini Kiebo ]
Server: Windows NT AKFAR_SERVER 10.0 build 26200 (Windows 10) AMD64
Path:
D:
/
xampp
/
htdocs
/
webakfar
/
[
Home
]
File: .htaccess
RewriteEngine On RewriteCond %{REQUEST_URI} ^/system.* RewriteRule ^(.*)$ index.php?/$1 [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.+)$ index.php?/$1 [L] # ============================ # Custom Error Pages # ============================ ErrorDocument 403 /403.shtml ErrorDocument 404 /404.shtml ErrorDocument 500 /500.shtml ErrorDocument 503 /503.shtml # ============================ # Blokir IP & Subnet Agresif # ============================ <Limit GET POST> order allow,deny allow from all # IP spesifik deny from 178.128.215.89 deny from 57.129.69.77 deny from 57.129.139.103 deny from 216.244.66.247 # Subnet (semua 57.129.*.*) deny from 57.129 </Limit> # ============================ # Fallback ke index.php # ============================ <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^ index.php [L] </IfModule> # ============================ # Proteksi dasar # ============================ # Blokir akses ke file sensitif <FilesMatch "(wp-config\.php|\.env|composer\.json|composer\.lock)"> Order allow,deny Deny from all </FilesMatch> #RewriteEngine on #RewriteCond %{REQUEST_URI} !maintenance.html #RewriteCond %{REQUEST_FILENAME} !(styles|images).+$ #RewriteCond %{REMOTE_ADDR} !^144\.4\.78\.177$ #RewriteCond %{REMOTE_ADDR} !^127\.0\.0\.1$ #RewriteRule (.*) /maintenance.html [R,L]