/usr/local/apache/bin/apxs -i -c -a mod_encoding.c
とすると下記のようなメッセージが表示され、
mod_encoding.c: In function `iconv_string': mod_encoding.c:115: warning: passing arg 2 of `libiconv' from incompatible pointer type mod_encoding.c: At top level: mod_encoding.c:336: warning: initialization from incompatible pointer type
/usr/local/apache/bin/apachectl configtestを実行すると、
Syntax error on line 240 of /etc/httpd/httpd.conf: Cannot load /usr/local/apache/libexec/mod_encoding.so into server: ld.so.1: /usr/local/apache/bin/httpd: 重大なエラー: 再配置エラー: ファイル /usr/local/apache/libexec/mod_encoding.so: シンボル libiconv: 参照シンボルが見つかりません。
エラーログには「ensure interpreted scripts have "#!" first line」って、 これって、.htmlファイルも.cgiファイルと見てるわけですよね。 htmlファイルはhtmlファイルとして見るようにするにはhttpd.confで 指定するのかなと思ったんですけど、どこをどう変えるのかわかりません。
/home/xxx/public_html/test/.htaccess: DirectoryIndex not allowed her となってしまいます。 どうすれば有効になるのでしょうか?
http.confには
<Directory /home/*/public_html> AllowOverride FileInfo AuthConfig Limit Options All <Limit GET POST OPTIONS PROPFIND> Order allow,deny Allow from all </Limit> <LimitExcept GET POST OPTIONS PROPFIND> Order deny,allow Deny from all </LimitExcept> </Directory>