freebsd-ports/www/apache13-modssl/files/patch-ac
2002-02-08 05:05:37 +00:00

55 lines
1.7 KiB
Text

--- conf/httpd.conf-dist.orig Thu Feb 7 23:50:37 2002
+++ conf/httpd.conf-dist Thu Feb 7 23:50:38 2002
@@ -92,8 +92,8 @@
# server ignore these files altogether by using "/dev/null" (for Unix) or
# "nul" (for Win32) for the arguments to the directives.
#
-#ResourceConfig conf/srm.conf
-#AccessConfig conf/access.conf
+ResourceConfig /dev/null
+AccessConfig /dev/null
#
# Timeout: The number of seconds before receives and sends time out.
@@ -367,7 +367,22 @@
# directory index. Separate multiple entries with spaces.
#
<IfModule mod_dir.c>
- DirectoryIndex index.html
+ <IfModule mod_php3.c>
+ <IfModule mod_php4.c>
+ DirectoryIndex index.php index.php3 index.html
+ </IfModule>
+ <IfModule !mod_php4.c>
+ DirectoryIndex index.php3 index.html
+ </IfModule>
+ </IfModule>
+ <IfModule !mod_php3.c>
+ <IfModule mod_php4.c>
+ DirectoryIndex index.php index.html
+ </IfModule>
+ <IfModule !mod_php4.c>
+ DirectoryIndex index.html
+ </IfModule>
+ </IfModule>
</IfModule>
#
@@ -487,7 +502,7 @@
# define per-<VirtualHost> access logfiles, transactions will be
# logged therein and *not* in this file.
#
-CustomLog logs/access_log common
+#CustomLog logs/access_log common
#
# If you would like to have agent and referer logfiles, uncomment the
@@ -500,7 +515,7 @@
# If you prefer a single logfile with access, agent, and referer information
# (Combined Logfile Format) you can use the following directive.
#
-#CustomLog logs/access_log combined
+CustomLog logs/access_log combined
#
# Optionally add a line containing the server version and virtual host