Dear all,

Thanks in advance.
In dedicated linux server.I am developing the web site.
i want to hide php file extension in the browser.
i have made change in .htacess file which is located in /var/www/htm/mysite/ .

Here is the file.
vim .htaccess

RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}\.php -f
RewriteRule ^(.*)$ $1.php

in the httpd.conf, mod_rewrite also enabled.

vim /etc/httpd/conf/httpd.conf

LoadModule rewrite_module modules/

But it is not working any more.

Please suggest.