2005年4月28日

Useful configurations in Apache

1. Being able to display Chinese characters
# vi /etc/httpd/conf/httpd.conf
// Modify [AddDefaultCharset ISO-8895-1] to [AddDefaultCharset null], let browser to decide which character encoding to use.
// or to [AddDefaultCharset big5], only for Chinese Big-5.

2. Prohibit to list/browse directory
# vi /etc/httpd/conf/httpd.conf
// Find , remove "Indexes".

0 意見: