How do I change apache character encoding

2 posts / 0 new
Last post
#1 Fri, 04/13/2007 - 02:51
OleKirkholt

How do I change apache character encoding

Hello

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

Fri, 04/13/2007 - 13:22
thetitan

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.

Topic locked