numerous features necessary for hosting, adds the use of a configuration file (vs. compile-time settings) for configuration details, and is presently supported by the software author. Changes to httpd.conf are required for this to work, otherwise PHP content is offered for download and not parsed. pkg-message contains full migration details, but here's the simple version: suPHP 0.5.2 suPHP 0.6.2 =========== =========== AddType application/x-httpd-php .php AddType x-httpd-php .php AddHandler x-httpd-php .php suPHP_AddHandler x-httpd-php Tested on RELENG_6 and RELENG_7, using Apache 2.0 and 2.2, with the help of the PR submitter. Testing for Apache 1.3 was not performed, thus the port requires the use of 2.0 or later. suPHP 0.6.2 does support Apache 1.3, but I'll need someone running 1.3 to work with me on fixing the port to support it, if desired. PR: ports/116281 Submitted by: Vladimir Korkodinov <viper@perm.raid.ru>
14 lines
931 B
C
14 lines
931 B
C
--- src/apache2/mod_suphp.c.orig 2006-11-05 16:57:12.000000000 -0800
|
|
+++ src/apache2/mod_suphp.c 2007-11-11 03:15:50.000000000 -0800
|
|
@@ -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}
|
|
};
|
|
|