⚝
One Hat Cyber Team
⚝
Your IP:
216.73.217.108
Server IP:
97.74.83.112
Server:
Linux 112.83.74.97.host.secureserver.net 5.14.0-611.54.6.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Fri May 15 04:23:18 EDT 2026 x86_64
Server Software:
Apache
PHP Version:
8.2.31
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
trinadezambia
/
public_html
/
ecommerce
/
View File Name :
.htaccess
<IfModule mod_rewrite.c> RewriteEngine On # Force HTTPS RewriteCond %{HTTPS} off RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] # Remove www (optional — delete these 3 lines if you want to keep www) # RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC] # RewriteRule ^ https://%1%{REQUEST_URI} [L,R=301] # Block access to sensitive directories RewriteRule ^(application|system|vendor)(/|$) - [F,L] # Block access to hidden files (.env, .git, etc.) RewriteRule (^\.|/\.) - [F,L] # Allow existing files and directories to be served directly RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d # Route everything else through index.php RewriteRule ^(.*)$ index.php?/$1 [L] </IfModule> <IfModule !mod_rewrite.c> ErrorDocument 404 /index.php </IfModule> # Disable directory listing Options -Indexes # Protect .env from direct access <Files ".env"> Order allow,deny Deny from all </Files> # PHP settings for production <IfModule mod_php.c> php_flag display_errors Off php_flag log_errors On php_value upload_max_filesize 64M php_value post_max_size 64M php_value max_execution_time 300 php_value memory_limit 256M </IfModule> # php -- BEGIN cPanel-generated handler, do not edit # Set the “ea-php82” package as the default “PHP” programming language. <IfModule mime_module> AddHandler application/x-httpd-ea-php82 .php .php8 .phtml </IfModule> # php -- END cPanel-generated handler, do not edit