> 
> **Possible Duplicate:**  
> 
> [How to hide the .html extension with Apache mod\_rewrite](https://stackoverflow.com/questions/1992183/how-to-hide-the-html-extension-with-apache-mod-rewrite) 
> 
> 
> 

How do I hide the .html ending on webpages?

I would like this:

<http://www.exmaple.com/lorem.html>

to look like this:

<http://www.example.com/lorem/>

I know that it would be possible to do by making a folder with an index page inside, but is there any way to tell the server to render '.html' as '/' ?