Hi, I’m experiencing issues with my htaccess configuration using the standard ‘File and Directory Check’ method to remove index.php:
RewriteEngine On
RewriteCond $1 !\.(gif|jpe?g|png)$ [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php/$1 [L]I have a standard template group ‘home’ with this simple index template:
{if segment_1 =="whatever"}
whatever
{if:else}
homepage
{/if}Basically, using any other segment_1 than ‘home’ results in a ‘Status: 404 Page Not Found’.
On top of that, even stranger, when I visit http://www.mydomain.com, the ‘www’ is cut from the url and I’m shown the ‘System Offline’ page, even though I’m logged in as super admin. This actually happens with and without a htaccess file in place.
Is this a server issue? Could upgrading to 2.2 fix this? I’m using 2.1.3 b20110411