How To Install mod_proxy_html.x86_64 on Amazon Linux 2

In this tutorial we learn how to install mod_proxy_html.x86_64 in Amazon Linux 2. mod_proxy_html.x86_64 is HTML and XML content filters for the Apache HTTP Server

Introduction

In this tutorial we learn how to install mod_proxy_html.x86_64 on Amazon Linux 2.

What is mod_proxy_html.x86_64

The mod_proxy_html and mod_xml2enc modules provide filters which can transform and modify HTML and XML content.

We can use yum to install mod_proxy_html.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install mod_proxy_html.x86_64.

Install mod_proxy_html.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install mod_proxy_html.x86_64 using yum by running the following command:

sudo yum -y install mod_proxy_html.x86_64

How To Uninstall mod_proxy_html.x86_64 on Amazon Linux 2

To uninstall only the mod_proxy_html.x86_64 package we can use the following command:

sudo yum remove mod_proxy_html.x86_64

mod_proxy_html.x86_64 Package Contents on Amazon Linux 2

/etc/httpd/conf.modules.d/00-proxyhtml.conf
/usr/lib64/httpd/modules/mod_proxy_html.so
/usr/lib64/httpd/modules/mod_xml2enc.so

References

Summary

In this tutorial we learn how to install mod_proxy_html.x86_64 on Amazon Linux 2 using yum.