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