Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

170
Vistas
Apache ProxyPass with url path

I have a domain name e.g. example.com and its pointed to a jboss server

When i accessing https://example.com, its working fine.

The application is deployed in root path.(i.e. context-root is "/")

its pointed to a jboss server through apache proxy.

<VirtualHost *:443>
    ServerName example.com
    ServerAlias example.com

    SSLProxyEngine on
    SSLProxyCheckPeerCN on

    ProxyPreserveHost On
    AllowEncodedSlashes NoDecode
    RequestHeader set X-Forwarded-Proto "https"
    RequestHeader set X-Forwarded-Port "443"

    ProxyPass / https://10.xx.0.6:8443/
    ProxyPassReverse / https://10.xx.0.6:8443/

    ...
</VirtualHost>

Another web app ("otherapp") is deployed on the same jboss server. context-root is "/otherapp" Then i want to access the web app through the url like this "https://example.com/otherapp/" or "https://otherapp.example.com/"

is it possible?

over 4 years ago · Santiago Trujillo
1 Respuestas
Responde la pregunta

0

You can use apache's <Location> directive

...
    <Location /otherapp>
        ProxyPass https://10.xx.0.6:8443/
        ProxyPassReverse https://10.xx.0.6:8443/
    </Location>

More help here: Is it possible to use relative path in ProxyPass/ProxyPassReverse?

Apache docs (take note of the trailing slash): https://httpd.apache.org/docs/2.4/mod/core.html#location

over 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda