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

334
Vistas
geoserver and apache: how to reduce the url down to host name only and remove the /geoserver/ from the url's path respectivly?

I am running geoserver on apache and so far the url resolves like this: https://geoserver.mydomain.net/geoserver/ ... My apache virtual host configuration looks like this:

<VirtualHost geoserver.mydomain.net:443>   
ServerName geoserver.mydomain.net

    <Directory /apache/htdocs>
        Require all granted
        Options None
    </Directory>

    <IfModule dir_module>
        DirectoryIndex index.html
    </IfModule>

    ProxyRequests On
    ProxyPreserveHost On
    
    <Proxy />
        Require all granted
        Options none
    </Proxy>
    ProxyPass               /     http://localhost:8080/
    ProxyPassReverse        /     http://localhost:8080/    
    #SSL certbot stuff
</VirtualHost> 

and the proxy base url in the global settings of geoserver is set to

https://geoserver.mydomain.net/geoserver/

However when changing it to

https://geoserver.mydomain.net/

with the same apache configuration, AND/OR changing the ProxyPass lines to

ProxyPass               /     http://localhost:8080/geoserver
ProxyPassReverse        /     http://localhost:8080/geoserver   

breaks either the admin interface, the url for dependencies (like e.g. ol3.js), or the service url. After hours of trying different combinations I conclude that I must be overlooking some setting somewhere and I'd appreciate being pointed into the right direction!

over 4 years ago · Santiago Trujillo
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