| 294 | --- |
| 295 | '''User Contribution (using cgi on apache-ssl and 0.9)''' :[[BR]] |
| 296 | {{{ |
| 297 | # Common files, gif, css, js |
| 298 | Alias /project/chrome/common /usr/share/trac/htdocs |
| 299 | <Directory "/usr/share/trac/htdocs"> |
| 300 | Order allow,deny |
| 301 | Allow from all |
| 302 | </Directory> |
| 303 | |
| 304 | # Multi project Home (0.9 only) |
| 305 | ScriptAlias /project /usr/share/trac/cgi-bin/trac.cgi |
| 306 | <Location "/project"> |
| 307 | SetEnv TRAC_ENV_PARENT_DIR "/server/trac/" |
| 308 | </Location> |
| 309 | |
| 310 | # For the authentification |
| 311 | <LocationMatch "/project/(.*)/login"> |
| 312 | AuthType Digest |
| 313 | AuthName "trac" |
| 314 | AuthDigestFile /server/trac/users.htdigest |
| 315 | Require valid-user |
| 316 | </LocationMatch> |
| 317 | }}} |