| 12345678910111213141516171819202122232425262728293031323334353637383940 |
- Index: src/Configuration.cpp
- --- src/Configuration.cpp.orig 2005-02-27 18:53:05 +0100
- +++ src/Configuration.cpp 2005-09-07 13:31:39 +0200
- @@ -21,6 +21,8 @@
- #include <string>
- #include <vector>
-
- +#include "config.h"
- +
- #include "IniFile.hpp"
- #include "Util.hpp"
-
- @@ -81,7 +83,11 @@
- }
-
- suPHP::Configuration::Configuration() {
- +#ifdef OPT_LOGFILE
- + this->logfile = OPT_LOGFILE;
- +#else
- this->logfile = "/var/log/suphp.log";
- +#endif
- #ifdef OPT_APACHE_USER
- this->webserver_user = OPT_APACHE_USER;
- #else
- Index: src/apache/mod_suphp.c
- --- src/apache/mod_suphp.c.orig 2005-02-27 18:56:37 +0100
- +++ src/apache/mod_suphp.c 2005-09-07 13:32:19 +0200
- @@ -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}
- };
|