Forum Moderators: phranque
I am using the the following
<VirtualHost *:80>
ServerName users-someone
RewriteLog "C:/Apache Group/Apache2/logs/rewrite.log"
RewriteLogLevel 9
RewriteEngine On
RewriteRule ^(.*)$ [localhost:8180$1...] [P]
</VirtualHost>
In this case i am getting to page however my redirected page shows the Jboss Servername and portnumber. I want the [users-someone...] instead [localhost:8180...] Any Help is highly appricited.
Thanks in advance.
Raj
Your code should be working. It's not coded as a redirect, but as a proxy through-put. This is as it should be, so I suspect that perhaps the back-end server is doing another redirect for some reason, thus 'exposing' its URL to the client.
Try using a server headers checker to see what headers your client and server are sending to each other. I like the "Live HTTP Headers" extension for Firefox/Mozilla. There are several on-line checkers as well, but some do not show all parts of the transaction.
Jim
Raj