Hiawatha is a secure webserver for Unix. It has been written with 'being secure' as its main goal. Hiawatha has many security features that no other webserver has. Hiawatha does not have all the fancy features, but it is very secure and fast and is really easy to configure. Rootjail, run CGIs under any uid/gid you want, prevention of SQL injection and cross-site scripting, banning of clients who try such exploits and many other features make Hiawatha an interesting webserver for those who need more security than what the other available webservers are offering. ok steven@
24 lines
866 B
Plaintext
24 lines
866 B
Plaintext
$OpenBSD: patch-serverconfig_c,v 1.1.1.1 2006/12/31 10:32:42 ajacoutot Exp $
|
|
--- serverconfig.c.orig Sun Dec 24 13:08:08 2006
|
|
+++ serverconfig.c Thu Dec 28 07:39:33 2006
|
|
@@ -19,7 +19,7 @@
|
|
#define mc_NO_BINDING -5
|
|
#define mc_REQUIRE -6
|
|
|
|
-#define id_NOBODY 65534
|
|
+#define id_HIAWATHA 579
|
|
|
|
enum t_section { syntax_error = -1, none, binding, virtualhost, directory, fcgi_server };
|
|
enum t_section_type { tag, bracket, end };
|
|
@@ -171,8 +171,8 @@ t_config *default_config(void) {
|
|
#endif
|
|
|
|
config->server_root = NULL;
|
|
- config->server_uid = (uid_t)id_NOBODY;
|
|
- config->server_gid = (gid_t)id_NOBODY;
|
|
+ config->server_uid = (uid_t)id_HIAWATHA;
|
|
+ config->server_gid = (gid_t)id_HIAWATHA;
|
|
config->server_string = "Hiawatha v"VERSION;
|
|
config->groups.number = 0;
|
|
config->groups.array = NULL;
|