By following these instructions, you will set up Apache to automatically serve multiple Trac projects for you.
Start out by creating a project directory in your documentroot (/var/www in this example). Projects will be accessed as http://hostname/projects/projectname. Copy (or symlink) trac.cgi to this directory together with a file named index.html. This will be shown when users try to access nonexistent projects.
Then create your trac projects with trac-admin. It's important that they are all placed in the same directory. In this example we'll use /var/lib/trac. Add to your Apache configuration:
RewriteEngine on
RewriteRule ^/projects/+$ /projects/index.html [L]
RewriteCond /var/lib/trac/$1 -d
RewriteRule ^/projects/([[:alnum:]]+)(/?.*) /projects/trac.cgi$2 [S=1,E=TRAC_ENV:/var/lib/trac/$1]
RewriteRule ^/projects/(.*) /projects/index.html
<Directory "/var/www/projects">
AllowOverride None
Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
AddHandler cgi-script .cgi
Order allow,deny
Allow from all
</Directory>
<LocationMatch "/projects/[[:alnum:]]+/login">
AuthType Basic
AuthName "trac"
AuthUserFile /path/to/trac.htpasswd
Require valid-user
</LocationMatch>
Make sure you have the rewrite module loaded or compiled in Apache.
LoadModule rewrite_module modules/mod_rewrite.so
Now, when you add another project, you don't need to edit any apache config. The only file you may want to edit is index.html to make it list the new project. If you think this is too much work, replace it with a python cgi script that does it for you.
tracd and TracModPython can also serve multiple projects.
See also: TracGuide, TracInstall
A few words about
Bluenote,
Delphin,
Direc,
Kenwood,
Kingston,
Kiss,
Koss,
Pantech,
Shinco,
Tdk,
Zalman,
Beer,
Career,
Chloe,
Delta,
Funny,
Hyperthyroidism,
Lymphocytes,
Matchmaking service,
Neuroma,
Preeclampsia,
Wife,
Alpina,
Aoc,
Braun,
Eton,
Focal,
Hifonics,
Krell,
Kyocera,
Phantom,
Polaris,
Zauber,
Alpina,
Direc,
Electrolux,
Exposure,
Lg,
Moulinex,
Mustek,
Phase linear,
Rainford,
Rockford fosgate,
Spark,
Dyne,
Eclipse,
Iiyama,
Koss,
Phantom,
Rotel,
Rowenta,
Spark,
Tcl,
Zalman,
Zanussi,
Adcom,
Akg,
Bosch,
Family,
Kicx,
Krome,
Tangent,
Thomas,
Tivoli audio,
Yamaha,
Zanussi,
Canon,
Canyon,
Goodwin,
Hitachi,
Karcher,
Kef,
Kicker,
Kiss,
Mpio,
Smeg,
Ves,
Bork,
Bose,
Funky,
Jaguar,
Jbl,
Leica,
Pentax,
Premier,
Resonance and
Velas of course.
See also:
Bell biv devoe,
Carnitine,
Digestive,
Florence,
Hard,
Joshua,
Office supply,
Pierre,
Sears,
Vigamox,
Butt,
Celexa,
Challenger,
Charlie,
Lamotrigine,
Logan,
Monroe,
Pasta,
Rhinocort,
Sweden,
Tanner,
Akg,
Dell,
Dls,
Dream vision,
Htc,
Koss,
Pfaff,
Rainford,
Shinco,
Viewsonic,
Vifa,
Hydrops,
Kangaroo,
Kawasaki,
Lymphatic,
Mason,
Mixed,
Molluscum,
Overgrowth,
Phoenix,
Shelby,
Uriel,
Boy,
Brody,
Bullet for my valentine,
Cleocin,
Dexedrine,
Esophageal,
Logic,
Moon,
Tazorac,
Vitiligo,
Vostok,
Aden,
Americium,
Burning,
Dalton,
Enol,
Kaplan,
Merkle,
Mya,
Prometrium,
Scopolamine,
Spherocytosis,
Aiwa,
Akg,
Bernina,
Bose,
Dyne,
Msi,
Stax,
Wadia,
Zetta,
Aspergillosis,
Dan,
Flurazepam,
Gabrielle,
Loestrin,
Lotrimin,
Prion,
Sclerosing,
Sparse,
Urea,
Wilkie,
Ariel,
Asbestosis,
Cetane,
Father day gift,
Givenchy,
Liddle,
Lopressor,
Lotrimin,
Mody,
Schmitt,
Tupperware,
Cheetah,
Giga,
Koss,
Luxman,
Mustek,
Nec,
Necchi,
Nrg,
Spark,
Viking,
Binatone,
Lightning audio,
Olympus,
Oregon scientific,
Oris,
Pioneer,
Sony,
Teac,
Vestel,
Viking,
Vincent,
Aiptek,
Ariston,
Candy,
Challenger,
Dialog,
Direc,
Etymotic,
Genesis,
Oris,
Spl,
Toyota.