[svn-inject] Installing original source of suphp
[manu/suphp.git] / src / suphp.h
1 /*
2     suPHP - (c)2002-2004 Sebastian Marsching <sebastian@marsching.com>
3     
4     This file is part of suPHP.
5
6     suPHP is free software; you can redistribute it and/or modify
7     it under the terms of the GNU General Public License as published by
8     the Free Software Foundation; either version 2 of the License, or
9     (at your option) any later version.
10
11     suPHP is distributed in the hope that it will be useful,
12     but WITHOUT ANY WARRANTY; without even the implied warranty of
13     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14     GNU General Public License for more details.
15
16     You should have received a copy of the GNU General Public License
17     along with suPHP; if not, write to the Free Software
18     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
19 */
20
21
22 #include "config.h"
23 #include "filesystem.h"
24 #include "check.h"
25 #include "error.h"
26 #include "log.h"
27 #include "compat.h"
28
29 #ifndef OPT_DISABLE_CHECKPATH
30 #define OPT_CHECKPATH
31 #endif
32
33 #ifndef OPT_MIN_UID
34 #define OPT_MIN_UID 100
35 #endif
36
37 #ifndef OPT_MIN_GID
38 #define OPT_MIN_GID 100
39 #endif
40
41 #ifndef OPT_APACHE_USER
42 #define OPT_APACHE_USER "wwwrun"
43 #endif
44
45 #ifndef OPT_PATH_TO_PHP
46 #define OPT_PATH_TO_PHP "/usr/bin/php"
47 #endif
48
49 #ifndef OPT_LOGFILE
50 #define OPT_LOGFILE "/var/log/httpd/suphp_log"
51 #endif
52