SERVER_NAME: mail.mitotem.cc
REQUEST_URI: /routing_test.php
SCRIPT_NAME: /routing_test.php
DOCUMENT_ROOT: /home/totem/public_html
--- Routing test ---
Parsed URI: /routing_test.php
Root .htaccess:
# php -- BEGIN cPanel-generated handler, do not edit
# Set the “ea-php82” package as the default “PHP” programming language.
AddHandler application/x-httpd-ea-php82 .php .php8 .phtml
# php -- END cPanel-generated handler, do not edit
Totem .htaccess:
RewriteEngine On
RewriteBase /totem/
# Redirect Trailing Slashes
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)/$ /$1 [L,R=301]
# Handle Front Controller
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [QSA,L]
# Security Headers
Header set X-Content-Type-Options "nosniff"
Header set X-Frame-Options "SAMEORIGIN"
Header set X-XSS-Protection "1; mode=block"
# Prevent directory listing
Options -Indexes