One Hat Cyber Team
Your IP :
216.73.216.84
Server IP :
50.6.229.107
Server :
Linux server.hostburly.com 5.14.0-611.38.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Mar 10 17:21:28 EDT 2026 x86_64
Server Software :
Apache
PHP Version :
8.2.30
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
andjemzt
/
api.andjemztech.com
/
View File Name :
.htaccess
<IfModule mod_rewrite.c> RewriteEngine On # --- ADD THESE TWO LINES HERE --- RewriteCond %{HTTP:Authorization} ^(.+)$ RewriteRule .* - [E=HTTP_AUTHORIZATION:%1] # -------------------------------- # 1. Handle Preflight (OPTIONS) requests immediately RewriteCond %{REQUEST_METHOD} OPTIONS RewriteRule ^(.*)$ $1 [R=200,L] RewriteRule ^storage/ - [L] # 2. Standard Laravel Routing RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^ index.php [L] </IfModule> # 3. Force CORS Headers (Crucial for React/RTK Query) <IfModule mod_headers.c> # 'always' ensures headers are sent even during 404 or 500 errors Header always set Access-Control-Allow-Origin "http://localhost:3000" Header always set Access-Control-Allow-Methods "POST, GET, OPTIONS, DELETE, PUT" Header always set Access-Control-Allow-Headers "Content-Type, Authorization, X-Requested-With, Accept" Header always set Access-Control-Allow-Credentials "true" </IfModule> # 4. Fix for common Hosting issues <IfModule mod_security.c> SecFilterEngine Off SecFilterScanPOST Off </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