### Elxis 4.x htaccess file# Copyright (C) 2006-2012 Elxis.org. All rights reserved.# License: http://www.gnu.org/copyleft/gpl.html GNU/GPL# Elxis CMS is a Free Software### Uncomment the lines bellow to add support for HTML5 video and audio# AddType video/ogg .ogm# AddType video/ogg .ogv# AddType video/ogg .ogg# AddType video/webm .webm# AddType audio/webm .weba# AddType video/mp4 .mp4# AddType video/x-m4v .m4v## Uncomment the following line, if it produces erors, comment it again# Options -Indexes +FollowSymLinksRewriteEngine On# You should set: RewriteBase /elxis/ with slash at endRewriteBase /elxis4/# Rewrite rules for sample multisites appeared as sub-folders of the main site# RewriteRule ^one/estia/inner.php estia/inner.php [L]# RewriteRule ^one/inner.php(.*) inner.php [L]# RewriteRule ^one/(.*) $1# RewriteRule ^two/estia/inner.php estia/inner.php [L]# RewriteRule ^two/inner.php(.*) inner.php [L]# RewriteRule ^two/(.*) $1#RewriteCond %{REQUEST_FILENAME} !-f#RewriteCond %{REQUEST_FILENAME} !-d# If you have renamed the administration folder change "estia" to the name you have set.RewriteRule ^estia/inner.php(.*) estia/inner.php [L]RewriteRule ^estia/(.*) estia/index.php [L]RewriteCond %{REQUEST_FILENAME} !-fRewriteCond %{REQUEST_FILENAME} !-dRewriteRule ^(.*) index.php## Security rules. Comment them if they cause problems to your site# Block out any script trying to base64_encode crap to send via URL# This rule is commented because it may cause some Elxis features to not work!# RewriteCond %{QUERY_STRING} base64_encode.*\(.*\) [OR]# Block out any script that includes a <script> tag in URLRewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR]# Block out any script trying to set a PHP GLOBALS variable via URLRewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]# Block out any script trying to modify a _REQUEST variable via URLRewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})# Send all blocked request to homepage with 403 Forbidden error!RewriteRule ^(.*)$ index.php [F,L]
I have just noticed, that somehow on all sites the .html extensions suddenly appear.I am sure, that was always turned off.