Update TODO.txt
[xhtml-compiler.git] / config.default.php
blob23d18d2dde040ec581971814e2d4cb81d8274675
1 <?php
3 // DO NOT EDIT THIS FILE!
4 // Values set here can be overridden using config.php
6 // after making changes to config.php, run
7 // htaccess-builder to put your changes into effect
9 // allowed directories, use 0: non-recursive; 1: recursive.
10 // Directories specified here are relative to the parent directory, since
11 // this application is neatly cordoned off into a subdirectory and shouldn't
12 // actually contain any HTML files. Trailing slashes are optional, but
13 // directory MUST exist
14 $allowed_dirs = array('' => 0);
16 //** Controls directory indexing:
17 // false : all directories are assumed to have no index, and Apache
18 // mod_rewrite will not intercept calls to directories unless
19 // explicitly told to via ?purge=1. This means you will be able
20 // to use Apache's built-in directory listings, but an index will
21 // not be automatically regenerated
22 // associative array : an associative array of directory names to the
23 // above values for fine-grained control. If an entry is not in the
24 // the list, XHTML Compiler will assume "true".
25 // Note: it is not currently possible to control the behavior of
26 // subdirectories of directories in which recursion is allowed
27 $indexed_dirs = array();
29 //** Name of file that is a directory's index
30 // Note: there is no support for multiple possible indexes, as Apache
31 // does, and it is currently impossible to use Apache's own DocumentIndex
32 // directive.
33 $directory_index = 'index.html';
35 // ** Path to web root of the parent of XHTML Compiler's install library
36 // If you installed XHTML Compiler at /xhtml-compiler, nothing needs to
37 // be done. If you installed it at /subdir/xhtml-compiler, you need
38 // to set this variable to /subdir. MUST NOT have trailing slash
39 $web_path = '';
41 // ** Domain name of this server
42 // XHTML Compiler will attempt to automatically populate this variable,
43 // but it WILL NOT be set if you're calling XHTML Compiler from command
44 // line unless you set it explicitly!
45 $web_domain = $_SERVER['HTTP_HOST'];
47 // ** URL of ViewVC installation
48 // No trailing slash
49 $viewvc_url = false;
51 // ** Replacement pairs to munge SVN head URLs.
52 // Useful if your working copy is svn+ssh:// but your key is not available
53 // to the script. Format is a numerically indexed array of arrays in the
54 // format of array(match, replace), i.e.
55 // array(
56 // 0 => array('svn+ssh://user@example.com/', 'http://example.com/')
57 // )
58 // Will only replace if match is at the beginning of the string
59 $svn_headurl_munge = array();
61 // note about error handling: if a default error page is defined that's
62 // within XHTML Compiler's jurisdiction, that error page will be managed
63 // by XHTML Compiler (i.e. mod_rewrite will act upon it) and will apply
64 // to all directories, not just the ones XHTML Compiler manages. However,
65 // pages that XHTML Compiler manages will always be 404 handled by
66 // XHTML Compiler and NOT Apache. What this means is that a default
67 // error page will often be defined, in which case Apache hands the ball
68 // to XHTML Compiler, who displays a much less informative error message.