I am using Redhat and I am trying to redirect a url in apache tomcat. For Example I have a web address that is http ://example:8282. I want to redirect the page so that when I type http ://example/alfresco it shows http ://example/alfresco in the browser, so that user cannot see the port number. I have been successful in redirecting but not redirecting and keeping the url I want redirected to actual url, that I do not want seen.
Things I have tried in /etc/httpd/conf/httpd.conf
#
Redirect permanent /alfresco http://<ip address>:8282/
#
I also tried
#
RedirectMatch ^/tomcat/(*)$ http://<ip address>:8282/$1
#
I also tried
#
RewriteEngine On
RewriteCond %<ip address>:8282 !^1.1.33.201\/tomcat
RewriteCond %<ip address>:8282 !^$
RewriteCond %8080 !80$
RewriteRule ^tomcat/?$ http://<ip-address> [PT]
#
Thank You, Any help would be appreciated