Search
j0ke.net Open Build Service
>
Projects
>
home:netmax
>
sbox
> sbox_config_rh.diff
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File sbox_config_rh.diff of Package sbox
--- sbox.h.orig 2008-06-02 17:27:43.000000000 +0200 +++ sbox.h 2008-06-02 17:45:27.000000000 +0200 @@ -18,14 +18,14 @@ * WEB_USER -- user that the Web server runs as */ #ifndef WEB_USER -#define WEB_USER "nobody" +#define WEB_USER "apache" #endif /* * WEB_GROUP -- group that the Web server runs as */ #ifndef WEB_GROUP -#define WEB_GROUP "nobody" +#define WEB_GROUP "apache" #endif /* @@ -71,7 +71,7 @@ */ #ifndef LOG_FILE /* #define LOG_FILE "/home/httpd/logs/sbox.log" */ -#define LOG_FILE "" +#define LOG_FILE "/var/log/httpd/sbox.log" #endif /* @@ -120,7 +120,7 @@ */ #ifndef USE_ABSOLUTE_ROOT -/* #define USE_ABSOLUTE_ROOT "/home/myapp/html" */ +/* #define USE_ABSOLUTE_ROOT "/srv/www/html" */ #endif /************** SUID/SGID CONFIG ***************/ @@ -178,11 +178,11 @@ /* maximum size of a single file that can be created (blocks) */ #ifndef LIMIT_FSIZE_HARD -#define LIMIT_FSIZE_HARD 2048 * ONEK /* two megabytes */ +#define LIMIT_FSIZE_HARD 4096 * ONEK /* four megabytes */ #endif #ifndef LIMIT_FSIZE_SOFT -#define LIMIT_FSIZE_SOFT 100 * ONEK /* 100K */ +#define LIMIT_FSIZE_SOFT 2048 * ONEK /* 2048K */ #endif /* maximum amount of in-memory data */