I've this url:

 http://www.mydomain.com/index.html

And wish a guide to rewrite the above mentioned into this:

 http://www.mydomain.com

Quite simply, take away the index.html area of the code...

Something similar to this maybe:

  RewriteRule ^$ index.html [NC]

Thanks

UPDATE:

Whenever you type www.domain.com in to the browser, offcourse index.html is opened up. However when you click "home" around the menu on my small website, the whole full url is displayed, which I wish to avoid. Then when striking "home" www.domain.com/index.html is proven... Although not when entering www.domain.com within the adress bar, then that can have, but index.html pops up anyways.

So yes, I want this:

www.domain.com/

Not this:

www.domain.com/index.html

Thanks

I believe its such as this:

RewriteRule ^index.html$ / [NC]

Replace "index.html" with "/", not "" with "index.html"

To redirect demands for /index.html to /

RewriteRule ^index.html$ http://www.mydomain.com/ [R=301,L]