0.6.0-1 release
[manu/suphp.git] / doc / apache / CONFIG
1 ===========================
2 == suPHP Apache module   ==
3 ===========================
4
5 Configuration
6 -------------
7
8 mod_suphp knows the following configuration directives:
9
10 suPHP_Engine (can either be turned "on" or "off")
11
12 This option tells mod_suphp if a PHP-script requested on this server (or
13 VirtualHost) should be run with the PHP-interpreter or returned to the
14 browser "as it is".
15
16 This directive can be used in the global context or in a
17 "<VirtualHost>"-directive.
18
19
20 suPHP_ConfigPath (expects a path name)
21
22 This option tells mod_suphp which path to pass on to the PHP-interpreter
23 (by setting the PHPRC environment variable).
24 Do *NOT* refer to a file but to the directory the file resists in.
25
26 E.g.: If you want to use "/path/to/server/config/php.ini", use "suPHP_Config
27 /path/to/server/config".
28
29 If you don't use this option, PHP will use its compiled in default path.
30
31
32 suPHP_UserGroup (expects user- and groupname)
33
34 * Only supported when compiled with setid-mode "force" or "paranoid" *
35 Specify the user- and groupname to run PHP-scripts with.
36 Example: suPHP_UserGroup foouser bargroup
37
38
39 suPHP_AddHandler <mime-type>
40
41 Tells mod_suphp to handle requests with the type <mime-type>.
42 Please note this only works, if an action for the handler is specified
43 in the suPHP configuration file.
44
45
46 suPHP_RemoveHandler <mime-type>
47
48 Tells mod_suphp NOT to handle requests with the type <mime-type>.
49
50 ===================================
51 (c)2002-2005 by Sebastian Marsching
52 <sebastian@marsching.com>
53 Please see LICENSE for
54 additional information