aboutsummaryrefslogtreecommitdiff
path: root/network/suphp/suphp-0.6.3-vhosts.patch
diff options
context:
space:
mode:
authorMenno Duursma <druiloor@zonnet.nl>2010-05-11 22:25:46 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-11 22:25:46 +0200
commitb7ae880ff6b94898f177451fa114835c071caed3 (patch)
treef9e4f4b9810998398303cae3f13a8870b44c2430 /network/suphp/suphp-0.6.3-vhosts.patch
parent4b92df5b32dc4c10d297fb9e7545b86d040f4f4d (diff)
network/suphp: Updated for version 0.6.3
Diffstat (limited to 'network/suphp/suphp-0.6.3-vhosts.patch')
-rw-r--r--network/suphp/suphp-0.6.3-vhosts.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/network/suphp/suphp-0.6.3-vhosts.patch b/network/suphp/suphp-0.6.3-vhosts.patch
new file mode 100644
index 0000000000000..ea6e13c996c1d
--- /dev/null
+++ b/network/suphp/suphp-0.6.3-vhosts.patch
@@ -0,0 +1,29 @@
+diff -ur src.std/apache/mod_suphp.c src/apache/mod_suphp.c
+--- src.std/apache/mod_suphp.c 2006-09-23 19:04:36.000000000 +0200
++++ src/apache/mod_suphp.c 2007-02-15 17:29:37.000000000 +0100
+@@ -249,9 +249,9 @@
+ {"suPHP_UserGroup", suphp_handle_cmd_user_group, NULL,
+ RSRC_CONF|ACCESS_CONF, TAKE2, "User and group scripts shall be run as"},
+ #endif
+- {"suPHP_AddHandler", suphp_handle_cmd_add_handler, NULL, ACCESS_CONF,
++ {"suPHP_AddHandler", suphp_handle_cmd_add_handler, NULL, RSRC_CONF|ACCESS_CONF,
+ ITERATE, "Tells mod_suphp to handle these MIME-types"},
+- {"suphp_RemoveHandler", suphp_handle_cmd_remove_handler, NULL, ACCESS_CONF,
++ {"suphp_RemoveHandler", suphp_handle_cmd_remove_handler, NULL, RSRC_CONF|ACCESS_CONF,
+ ITERATE, "Tells mod_suphp not to handle these MIME-types"},
+ {NULL}
+ };
+diff -ur src.std/apache2/mod_suphp.c src/apache2/mod_suphp.c
+--- src.std/apache2/mod_suphp.c 2006-11-06 01:57:12.000000000 +0100
++++ src/apache2/mod_suphp.c 2007-02-15 17:30:35.000000000 +0100
+@@ -321,8 +321,8 @@
+ AP_INIT_TAKE2("suPHP_UserGroup", suphp_handle_cmd_user_group, NULL, RSRC_CONF | ACCESS_CONF,
+ "User and group scripts shall be run as"),
+ #endif
+- AP_INIT_ITERATE("suPHP_AddHandler", suphp_handle_cmd_add_handler, NULL, ACCESS_CONF, "Tells mod_suphp to handle these MIME-types"),
+- AP_INIT_ITERATE("suPHP_RemoveHandler", suphp_handle_cmd_remove_handler, NULL, ACCESS_CONF, "Tells mod_suphp not to handle these MIME-types"),
++ AP_INIT_ITERATE("suPHP_AddHandler", suphp_handle_cmd_add_handler, NULL, RSRC_CONF | ACCESS_CONF, "Tells mod_suphp to handle these MIME-types"),
++ AP_INIT_ITERATE("suPHP_RemoveHandler", suphp_handle_cmd_remove_handler, NULL, RSRC_CONF | ACCESS_CONF, "Tells mod_suphp not to handle these MIME-types"),
+ {NULL}
+ };
+