Fix permissions to make git-buildpackage shut up
[hcoop/zz_old/debian/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. This setting
36 can only be used within a <Directory> or <Location> context.
37 Example: suPHP_UserGroup foouser bargroup
38
39
40 suPHP_AddHandler <mime-type>
41
42 Tells mod_suphp to handle requests with the type <mime-type>.
43 Please note this only works, if an action for the handler is specified
44 in the suPHP configuration file. Settings on per-directory level supersede
45 settings made on per-server level.
46
47
48 suPHP_RemoveHandler <mime-type>
49
50 Tells mod_suphp NOT to handle requests with the type <mime-type>. This will
51 override the suPHP_AddHandler setting made on a higher configuration level.
52
53
54 suPHP_PHPPath (expects a path name)
55
56 Sets the path to the PHP binary that is used to render files with the
57 "x-httpd-php" or "application/x-httpd-php" type. This setting does
58 *NOT* affect the PHP binary used for serving script requests, which is
59 still configured in suphp.conf.
60
61 ===================================
62 (c)2002-2007 by Sebastian Marsching
63 <sebastian@marsching.com>
64 Please see LICENSE for
65 additional information