E
Ed
Hi All,
I would like to hide the extension of my jsp page.
My correct URL is this one, with a .JSP extension:
http://localhost/Web/view.jsp?keyname=name&keynumber=number
But I would like the End-USer to use the following URL with .ASP
extension, on the internet browser, and once she/he does, it's going to
be redicted to the .JSP extension, on the fly!
http://localhost/Web/view.asp?keyname=name&keynumber=number
Could you anyone tell me what I am doing wrong below, with the
mod_rewrite module in my Apache's http.conf file?
<VirtualHost *:80>
RewriteEngine on
RewriteRule ^(.*)\.asp$ $1.jsp [L]
</VirtualHost>
Thanks!
I would like to hide the extension of my jsp page.
My correct URL is this one, with a .JSP extension:
http://localhost/Web/view.jsp?keyname=name&keynumber=number
But I would like the End-USer to use the following URL with .ASP
extension, on the internet browser, and once she/he does, it's going to
be redicted to the .JSP extension, on the fly!
http://localhost/Web/view.asp?keyname=name&keynumber=number
Could you anyone tell me what I am doing wrong below, with the
mod_rewrite module in my Apache's http.conf file?
<VirtualHost *:80>
RewriteEngine on
RewriteRule ^(.*)\.asp$ $1.jsp [L]
</VirtualHost>
Thanks!