APACHE Rewriting the subdomain URL of a Server (A) to a subdirectory of a Server (B)

1

My application is on server (A) Accessible through the URL: nombre.domain.com

I have another server (B) Accessible through the URL: www.dominio.com.br

I need to access this server url (B) this way ULR: www.dominio.com.br/nome

It needs to point to name.domain.com

Does anyone know how I can do this via Apache?

    
asked by anonymous 19.02.2014 / 18:50

1 answer

1

I do not have the environment ready to take the test now. But I found this information in the OS in English:

Apache mod_proxy

  

ProxyPass /mirror/foo/ http://backend.example.com/

It seems to be what you're looking for. Please reply to this message stating if it worked. If it's not what you're looking for, I'll remove that message.

    
20.02.2014 / 14:49