Hi All
I am trying to do URL rewriting for my ecommerce application deployed on the server.
Below is the URL rewriting i am using for https:
<VirtualHost *:80>
ServerName www.demo.com
ProxyRequests Off
RewriteEngine On
RewriteRule ^/$ ecommerce [P]
RewriteRule ^/ecommerce/(.*)$
http://www.demo.com:8080/ecommerce/$1 [P,L]
ProxyPass /
http://www.demo.com:8080/ ProxyPassReverse /
http://www.demo.com:8080/</VirtualHost>
This is working fine but i want to do same for HTTPS port
right now with above URL rewriting it shows port number in URL and i woluld like to hide it.
For now its coming like this
www.demo.com:8433 in case of HTTPS only for HTTP it comes without port number.
I have tried creating an new VirtualHost but no luck.
If there is any better option please let me know.
Please suggest
Regards
Gaurav