summaryrefslogtreecommitdiff
path: root/www/apache13+ipv6/files/patch-ag
blob: 58ef46c45c2fc19bd9580aadeae1af226d426dae (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
--- conf/httpd.conf-dist.old	2004-11-24 22:10:19.000000000 +0300
+++ conf/httpd.conf-dist	2008-07-19 18:42:27.000000000 +0400
@@ -356,7 +356,22 @@
 # directory index.  Separate multiple entries with spaces.
 #
 <IfModule mod_dir.c>
-    DirectoryIndex index.html
+    <IfModule mod_php3.c>
+	DirectoryIndex index.php3 index.html
+    </IfModule>
+    <IfModule !mod_php3.c>
+        <IfModule mod_php4.c>
+            DirectoryIndex index.php index.html
+        </IfModule>
+        <IfModule !mod_php4.c>
+            <IfModule mod_php5.c>
+                DirectoryIndex index.php index.html
+            </IfModule>
+            <IfModule !mod_php5.c>
+                DirectoryIndex index.html
+            </IfModule>
+        </IfModule>
+    </IfModule>
 </IfModule>
 
 #
@@ -476,7 +491,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
@@ -489,7 +504,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
@@ -746,6 +761,19 @@
         LanguagePriority en da nl et fr de el it ja kr no pl pt pt-br ru ltz ca es sv tw
     </IfModule>
 
+    <IfModule mod_php3.c>
+	AddType application/x-httpd-php3 .php3
+	AddType application/x-httpd-php3-source .php3s
+    </IfModule>
+    <IfModule mod_php4.c>
+	AddType application/x-httpd-php .php
+	AddType application/x-httpd-php-source .phps
+    </IfModule>
+    <IfModule mod_php5.c>
+	AddType application/x-httpd-php .php
+	AddType application/x-httpd-php-source .phps
+    </IfModule>
+
     #
     # AddType allows you to tweak mime.types without actually editing it, or to
     # make certain files to be certain types.