URL Masking Using .htaccess

On localhost I am using below .htaccess
Here pm is a well working project
I want to access pm project using another url by masking but it makes redirect to pm project actual url.
Can you please guide me how I can make URL Masking Using .htaccess

RewriteEngine On
RewriteBase /office/temp/

RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ http://localhost/panels/pm/$1

modify exisitng rules like below:

RewriteEngine On
RewriteBase /office/temp/

RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ http://localhost/panels/pm/$1 [P]

this may helps