Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

327
Views
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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!