Legend:

''Note that the `SetEnv` directive requires the `mod_env` module to be installed and enable.''

35

''Note that the `SetEnv` directive requires the `mod_env` module to be installed and enable. If not, you could set TRAC_ENV in trac.cgi. Just add the following code between "try:" and "from trac.web ...":''

For example, if Trac is mapped to `/cgi-bin/trac.cgi` on your server, the URL of the Alias should be `/cgi-bin/trac.cgi/chrome/common`.

61

73

74

Similarly, if you have static resources in a projects htdocs directory, you can configure apache to serve those resources (again, put this '''before''' the `ScriptAlias` for the CGI script, and adjust names and locations to match your installation):

75

76

{{{

77

Alias /trac/chrome/site /path/to/projectenv/htdocs

78

<Directory "/path/to/projectenv/htdocs">

79

Order allow,deny

80

Allow from all

81

</Directory>

82

}}}

83

62

84

Alternatively, you can set the `htdocs_location` configuration option in [wiki:TracIni trac.ini]:

For better security, it is recommended that you either enable SSL or at least use the “Digest” authentication scheme instead of “Basic”. Please read the [http://httpd.apache.org/docs/2.0/ Apache HTTPD documentation] to find out more.

141

For better security, it is recommended that you either enable SSL or at least use the “Digest” authentication scheme instead of “Basic”. Please read the [http://httpd.apache.org/docs/2.0/ Apache HTTPD documentation] to find out more. For example, on a Debian 4.0r1 (etch) system the relevant section in apache configuration can look like this: