tuckker Posted November 26, 2008 Share Posted November 26, 2008 WHen users access http://domain.com/file1.jsp?id=1, I only want the URL to show http://domain.com/file1?id=1 How do I do it using mod-rewrite? Thanks in advance! Quote Link to comment Share on other sites More sharing options...
corbin Posted November 27, 2008 Share Posted November 27, 2008 RewriteEngine On RewriteRule ^file1?id=([\d]+)$ /file1.jsp?id=$1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.