My .htaccess file:
With lsws 4.2.3, the file
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.
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>
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: