File: //proc/thread-self/cwd/self-strength-test/.htaccess
# Turn on the rewrite engine
RewriteEngine on
# If the request doesn't end in .php (Case insensitive) continue processing rules
# RewriteCond %{REQUEST_URI} !\.php$ [NC]
# If the request doesn't end in a slash continue processing the rules
# RewriteCond %{REQUEST_URI} !^/assets/.*$
# Rewrite the request with a .php extension. L means this is the 'Last' rule
# RewriteRule ^(.*)$ $1.php [L]
RewriteCond %{REQUEST_URI} !^/assets
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ $1.php [L,QSA]