Hi all
I have this setup on my own server:
1. in httpd.conf:
<Directory "/absolut/path/to/docroot">
AllowOverride All
</Directory>
2. and in the .htaccess in that dir:
DirectoryIndex en
<FilesMatch "^en|de/?$">
ForceType application/x-httpd-php
</FilesMatch>
AcceptPathInfo On // <- don't know if this is neccesary
So the server sets the defaultfile to 'en', which is forced to be
interpreted as a php-file.
Anyway, most hostingplans don't have AllowOverride set to all (if
anything), so this won't work.
They often have the Rewrite engine activated though, so the question
is:
Can I get the same results with RewriteCond, and - eh - how?
Big thanks in advance
Martin
>> Stay informed about: replace "filesMatch->forcetype" using Rewrite..