How do I change apache character encoding


I’m using Virtualmin Pro with CentOS 4.4

How do i change the apache character encoding from the default "utf-8" to "iso-8859-1" on all my virtual servers

Best regards

Servers -> Apache Webserver -> Global Configuration -> Edit Config Files

make sure you are editing httpd.conf

search for AddDefaultCharset

replace UTF-8 with iso-8859-1, then save.

On the next page either click "Apply Changes" or stop Apache, then start Apache.