summaryrefslogtreecommitdiff
path: root/www/apache13-modssl/files/patch-ac
diff options
context:
space:
mode:
Diffstat (limited to 'www/apache13-modssl/files/patch-ac')
-rw-r--r--www/apache13-modssl/files/patch-ac46
1 files changed, 46 insertions, 0 deletions
diff --git a/www/apache13-modssl/files/patch-ac b/www/apache13-modssl/files/patch-ac
index 77ead0f0b54a..a009e6138b06 100644
--- a/www/apache13-modssl/files/patch-ac
+++ b/www/apache13-modssl/files/patch-ac
@@ -20,6 +20,30 @@
#
# ServerAdmin: Your address, where problems with the server should be
+@@ -354,7 +354,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>
+
+ #
@@ -469,7 +469,7 @@
# define per-<VirtualHost> access logfiles, transactions will be
# logged therein and *not* in this file.
@@ -38,3 +62,25 @@
#
# Optionally add a line containing the server version and virtual host
+@@ -708,13 +723,17 @@
+ # For example, the PHP 3.x module (not part of the Apache distribution - see
+ # http://www.php.net) will typically use:
+ #
+- #AddType application/x-httpd-php3 .php3
+- #AddType application/x-httpd-php3-source .phps
++ <IfModule mod_php3.c>
++ AddType application/x-httpd-php3 .php3
++ AddType application/x-httpd-php3-source .php3s
++ </IfModule>
+ #
+ # And for PHP 4.x, use:
+ #
+- #AddType application/x-httpd-php .php
+- #AddType application/x-httpd-php-source .phps
++ <IfModule mod_php4.c>
++ AddType application/x-httpd-php .php
++ AddType application/x-httpd-php-source .phps
++ </IfModule>
+
+ AddType application/x-tar .tgz
+