--- /home/makoto/etc/httpd/httpd.conf-2.0.59nb 2006-11-19 18:03:20.000000000 +0900 +++ /usr/pkg/etc/httpd/httpd.conf 2006-12-16 15:09:31.000000000 +0900 @@ -230,7 +230,7 @@ # Example: # LoadModule foo_module modules/mod_foo.so # - +LoadModule php4_module lib/httpd/mod_php4.so # # ExtendedStatus controls whether Apache will generate "full" status # information (ExtendedStatus On) or just basic information (ExtendedStatus @@ -305,6 +305,7 @@ # symbolic links and aliases may be used to point to other locations. # DocumentRoot "/usr/pkg/share/httpd/htdocs" +DocumentRoot "/usr/pkg/share/squirrelmail" # # Each directory to which Apache has access can be configured with respect @@ -391,7 +392,7 @@ # negotiated documents. The MultiViews Option can be used for the # same purpose, but it is much slower. # -DirectoryIndex index.html index.html.var +DirectoryIndex index.php index.html index.html.var # # AccessFileName: The name of the file to look for in each directory @@ -834,6 +835,7 @@ # AddType application/x-compress .Z AddType application/x-gzip .gz .tgz +AddType application/x-httpd-php .php # # AddHandler allows you to map certain file extensions to "handlers":