[Resolved] 4.2.4 won't ForceType per .htaccess

Status
Not open for further replies.

gboudreau

Well-Known Member
#1
My .htaccess file:
Code:
<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{HTTP_USER_AGENT} ^MJ12bot/v1\.0\.8.*$
    RewriteRule .* - [F]
</IfModule>

<FilesMatch "^(/||[en/]*index\.html|[en/]*Evenements.*\.html)$">
  ForceType application/x-httpd-php
</FilesMatch>
With lsws 4.2.3, the file Evenements.html is correctly parsed using PHP.
With lsws 4.2.4, the same file just sends the PHP source to the browser.
I can reproduce this by simply using the "Switch To" link in the version manager, and the issue goes away when I again "Switch To" 4.2.3

Thanks.
 
Last edited by a moderator:
Status
Not open for further replies.
Top