diff options
Diffstat (limited to 'usr.sbin/httpd')
-rw-r--r-- | usr.sbin/httpd/src/support/suexec.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/usr.sbin/httpd/src/support/suexec.h b/usr.sbin/httpd/src/support/suexec.h index 892badd1e0b..f4c9e95f1bc 100644 --- a/usr.sbin/httpd/src/support/suexec.h +++ b/usr.sbin/httpd/src/support/suexec.h @@ -78,7 +78,7 @@ * for suEXEC. For most systems, 500 or 100 is common. */ #ifndef UID_MIN -#define UID_MIN 100 +#define UID_MIN 1000 #endif /* @@ -86,7 +86,7 @@ * for suEXEC. For most systems, 100 is common. */ #ifndef GID_MIN -#define GID_MIN 100 +#define GID_MIN 1000 #endif /* @@ -120,7 +120,7 @@ * debugging purposes. */ #ifndef LOG_EXEC -#define LOG_EXEC "/usr/local/apache/logs/cgi.log" /* Need me? */ +#define LOG_EXEC "/var/log/suexec.log" /* Need me? */ #endif /* @@ -129,7 +129,7 @@ * that can be used for suEXEC behavior. */ #ifndef DOC_ROOT -#define DOC_ROOT "/usr/local/apache/htdocs" +#define DOC_ROOT "/var/www/htdocs" #endif /* @@ -137,7 +137,9 @@ * */ #ifndef SAFE_PATH -#define SAFE_PATH "/usr/local/bin:/usr/bin:/bin" +#define SAFE_PATH "/usr/bin:/bin:/usr/local/bin" #endif #endif /* _SUEXEC_H */ + + |