找到  /etc/apache2/sites-enabled/ 下的虚拟主机配置文件:


        ServerAdmin [email protected]
        DocumentRoot /var/www/tx
        ServerName www.Twang.com
        ServerAlias Twang.com
        DirectoryIndex index.htm
        AddDefaultCharset "gb2312"
       
                IndexOptions Charset=gb2312
                Options Indexes FollowSymLinks MultiViews
                allow from all
                DirectoryIndex index.htm
       


 

 注意红色文字!!