I'm trying to use the proxy (mod_proxy) to remove a port number from the URL such as from this:
http://www.mysite.com:8888 or localhost:8888
http://www.mysite.com or localhost
I've tried this in the httpd.conf file but the port number 8888 keeps showing up, thus it does not work:
Allow from all
ProxyPass / http://localhost:8888/
ProxyPassReverse / http://localhost:8888/
The above is a localhost example which keeps the port number in the URL, though it would be better to accept the regular (non-localhost) path, only or as well.
I've even thought to use the redirect but do not wishto set up a virtual host seeing as it's only one site.
I hope someone has a bright idea that will solve this problem!