RewriteEngine On RewriteCond %{DOCUMENT_ROOT}/.php81 -f RewriteCond %{REQUEST_FILENAME} -d [OR] RewriteCond %{REQUEST_URI} \.php$ RewriteRule ^ - [H=application/x-httpd-lsphp81] RewriteCond %{DOCUMENT_ROOT}/.php82 -f RewriteCond %{REQUEST_FILENAME} -d [OR] RewriteCond %{REQUEST_URI} \.php$ RewriteRule ^ - [H=application/x-httpd-lsphp82] RewriteCond %{DOCUMENT_ROOT}/.php83 -f RewriteCond %{REQUEST_FILENAME} -d [OR] RewriteCond %{REQUEST_URI} \.php$ RewriteRule ^ - [H=application/x-httpd-lsphp83] RewriteCond %{DOCUMENT_ROOT}/.php84 -f RewriteCond %{REQUEST_FILENAME} -d [OR] RewriteCond %{REQUEST_URI} \.php$ RewriteRule ^ - [H=application/x-httpd-lsphp84] RewriteCond %{DOCUMENT_ROOT}/.php85 -f RewriteCond %{REQUEST_FILENAME} -d [OR] RewriteCond %{REQUEST_URI} \.php$ RewriteRule ^ - [H=application/x-httpd-lsphp]