summaryrefslogtreecommitdiff
path: root/network/suphp/suphp-0.6.2-vhosts.patch
diff options
context:
space:
mode:
authorMenno Duursma <druiloor@zonnet.nl>2010-05-11 15:01:36 +0200
committerMichiel van Wessem <michiel@slackbuilds.org>2010-05-11 15:01:36 +0200
commit950dbcc826ae0cf24cca4dff16f23614b790b90b (patch)
treef6730cd1234678f23faaf446038bcd9a2b62f22d /network/suphp/suphp-0.6.2-vhosts.patch
parent19a247802d7c1909a4757ae952ea31255f6a11b3 (diff)
downloadslackbuilds-950dbcc826ae0cf24cca4dff16f23614b790b90b.tar.gz
network/suphp: Initial import
Diffstat (limited to 'network/suphp/suphp-0.6.2-vhosts.patch')
-rw-r--r--network/suphp/suphp-0.6.2-vhosts.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/network/suphp/suphp-0.6.2-vhosts.patch b/network/suphp/suphp-0.6.2-vhosts.patch
new file mode 100644
index 0000000000..ea6e13c996
--- /dev/null
+++ b/network/suphp/suphp-0.6.2-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}
+ };
+