Removing subfolder from URL

Permalink
Hi.
I know there are a lot of discussions but none really made it for me. My C5 installation is in http://www.domain.com/cms.
My htaccess in the root of the server is this:
<IfModule mod_rewrite.c>
Options +FollowSymLinks
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_URI} !^/cms
RewriteRule ^(.*)$ cms/$1 [L]
</IfModule>

It works! When I open http://www.domain.com it gets redirected to http://www.domain.com/cms. Because I have installed the new internationalisation addon it gets redirected to http://www.domain.com/cms/en actually.

What I now want is that the /cms/ part gets stripped out of the url.

My htaccess in my C5 root folder ('/cms') is:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /cms/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
</IfModule>


It does not work! The /cms/ part is still being seen. BUT, if I remove it by hand like:http://www.domain.com/en it ALSO works. Is this providing doubled content for google?

I have followed the advice to remove the /cms in
('DIR_REL', '/cms')
but that leads to an error saying C5 is not able to redirect or something like that.

Someone there with a good hint?

malthoff