--- httpd.conf-10.3-orig Sat Sep 13 09:01:11 2003
+++ httpd.conf Mon Nov 3 01:54:53 2003
@@ -177,6 +177,7 @@
#
#Listen 3000
#Listen 12.34.56.78:80
+Listen 127.0.0.1:80
#
# BindAddress: You can support virtual hosts with this option. This directive
@@ -236,7 +237,7 @@
#LoadModule dav_module libexec/httpd/libdav.so
#LoadModule ssl_module libexec/httpd/libssl.so
#LoadModule perl_module libexec/httpd/libperl.so
-#LoadModule php4_module libexec/httpd/libphp4.so
+LoadModule php4_module libexec/httpd/libphp4.so
LoadModule hfs_apple_module libexec/httpd/mod_hfs_apple.so
LoadModule rendezvous_apple_module libexec/httpd/mod_rendezvous_apple.so
@@ -279,7 +280,7 @@
#AddModule mod_dav.c
#AddModule mod_ssl.c
#AddModule mod_perl.c
-#AddModule mod_php4.c
+AddModule mod_php4.c
AddModule mod_hfs_apple.c
AddModule mod_rendezvous_apple.c
@@ -441,6 +442,24 @@
#
DirectoryIndex index.html
+
+
+
+ DirectoryIndex index.php index.php3 index.html
+
+
+ DirectoryIndex index.php3 index.html
+
+
+
+
+ DirectoryIndex index.php index.html
+
+
+ DirectoryIndex index.html
+
+
+
#
@@ -490,6 +509,15 @@
#
TypesConfig /private/etc/httpd/mime.types
+
+ #
+ # And for PHP 4.x, use:
+ #
+
+ AddType application/x-httpd-php .php
+ AddType application/x-httpd-php-source .phps
+
+
#
@@ -861,7 +889,7 @@
#
# To use CGI scripts:
#
- #AddHandler cgi-script .cgi
+ AddHandler cgi-script .cgi
#
# To use server-parsed HTML files