Book Image

Expert GeoServer

By : Ben Mearns
Book Image

Expert GeoServer

By: Ben Mearns

Overview of this book

GeoServer is open source, server-side software written in Java that allows users to share and edit geospatial data. In this book, you'll start by learning how to develop a spatial analysis platform with web processing services. Then you'll see how to develop an algorithm by chaining together geospatial analysis processes, which you can share with anyone in the world. Next you'll delve into a very important technique to improve the speed of your map application—tile caching. Here, you'll understand how tile caching works, how to develop an effective tile cache-supported web service, and how to leverage tile caching in your OpenLayers web application. Further on, you'll explore important tweaks to produce a performant GeoServer-backed web mapping application. Moving on, you'll enable authentication on the frontend and backend to protect sensitive map data, and deliver sensitive data to your end user. Finally, you'll see how to put your web application into production in a secure and user-friendly way. You'll go beyond traditional web hosting to explore the full range of hosting options in the cloud, and maintain a reliable server instance.
Table of Contents (7 chapters)

Configuring the proxy

Let's get started by configuring the proxy environment. A proxy server is widely used to provide a secure means of authentication to the GeoServer instance on Tomcat. In this section, you'll learn about the main components of the example proxy environment; Apache HTTPD and Tomcat. You'll learn how to configure these to provide secure authentication. Finally, you'll learn to use the hosts file to facilitate the TLS process.

The Apache HTTP server—HTTPD for short—is the most popular web server in use. Putting HTTPD in front of Tomcat is useful since we can potentially leverage a larger assortment of modules and their capabilities, and take advantage of its load balancing functionalities and the larger body of documentation.

After Apache is correctly installed and started, the default page will be available at the localhost...