Application links doesnt not point to apache url

hi
i want to set up apache http server to work like below

when user enter http://localhost/XYZ(proxy server) it should route to
http://10.x.x.x:8080/XYX(proxy server)
If the page returned from the application server contains /XYZ/viewUsers.do
and when i click this link it directs to
http://10.x.x.x:8080/XYZ/viewUsers.do but this should direct to
http://locahost/XYZ/viewUsers.do

i have just configured rewrite rule like below
<IfModule rewrite_module>
RewriteEngine on
RewriteCond %{SERVER_PORT} ^80$
RewriteRule ^(.*)$ http://10.x.x.x:8080%{REQUEST_URI}
</IfModule>

Basically the links or any url should always point to proxy server.

Can any one help


--
View this message in context: http://old.nabble.com/Application-links-doesnt-not-point-to- apache-url-tp27354134p27354134.html
Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com.


------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe [at] httpd.apache.org
" from the digest: users-digest-unsubscribe [at] httpd.apache.org
For additional commands, e-mail: users-help [at] httpd.apache.org
Jaigates [ Do, 28 Januar 2010 11:55 ] [ ID #2030835 ]

Re: Application links doesnt not point to apache url

On 28 Jan 2010, at 10:55, Jaigates wrote:

> Basically the links or any url should always point to proxy server.
>
> Can any one help

http://www.apachetutor.org/admin/reverseproxies

--
Nick Kew

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe [at] httpd.apache.org
" from the digest: users-digest-unsubscribe [at] httpd.apache.org
For additional commands, e-mail: users-help [at] httpd.apache.org
Nick Kew [ Do, 28 Januar 2010 12:39 ] [ ID #2030837 ]
Webserver » gmane.comp.apache.user » Application links doesnt not point to apache url

Vorheriges Thema: website response sudeenly becomes slow
Nächstes Thema: Client certificate authentication on tunneling proxy