I use CQ5 as application server and apache as front end. My CQ5 url is ( http://example.com:6703/testclient/en.html). I have configured apache Mod_PROXY to access CQ5 url without 6703 port. When i use apache url http://example.com/testclient , it succssfully redirect to http://example.com:6703/testclient/en.html (please see below proxy setting) Now my concern is i want to hide/remove .html from browser. Please let me know if there is any way using Redirect rule or Proxy rule we can hide url extension.
To hide the extension you must first alter the link that the user clicks on the page so that the browser makes a request for a URL without an extension.
Once that has been done, it is then a case of implementing a proxying and/or rewriting operation so that the incoming request makes the server internally fetch the right content and send it out to the browser.