php file in my webpage extenstion so i used .htaccess with mod\_rewrite enable in wamp server .. It worked fine the url of the webpage will be

localhost/test/about instead of localhost/test/about.php

With the same code i just tested my website in lamp server(ubuntu host) but it does not worked. i have enabled mod\_rewrite in ubuntu server.. 

Let see my .htaccess code

```
Options -MultiViews
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([^\.]+)$ $1.php [NC,L]

```

I dont know why it does not works.. is there any thing other than enabling mod\_rewrite in my lamp server.. 

Thanks in advance

And also need to know good tutorial for creating .htaccess for multi purpose in webpage

like 

blog/121 instead of blog?id=121

Thanks