Hi. I want to make http://mysite.com/post/004.htm --> http://mysite.com/post.php?id=004 but not redirecting but masking the URL (the first URL must be shown and not the second one). My .httaccess: -------------------------- RewriteEngine On RewriteBase / DirectoryIndex index.php index.html RewriteRule ^post/(.*).htm post.php?id=$1 [R=301,L] --------------------------- I also tried with: RewriteRule ^post/(.*).htm post.php?id=$1 **whithout R,L** I got this URL: http://mysite.com/post.php/005.htm?id=005 I also tried with RewriteRule ^post/(.*).htm post.php?id=$1 [L] I got this URL: http://mysite.com/post.php?id=005 I also tried with RewriteRule ^post/(.*).htm http://mysite.com/post.php?id=$1 [L] I got this URL: http://mysite.com//post.php/005.htm?id=005 Any suggestion? --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx