Dec/09
2
Run Trac without Apache, and include basic auth support
No comments · Posted by admin in code
/usr/bin/sudo -u www-data /usr/bin/tracd -p 80 -b $HOST -s -d --basic-auth='*',/usr/share/trac/.htpasswd,/usr/share/trac /usr/share/trac
…then set up rinetd to forward port 80 to port 8080 (you’ll have to install rinetd first; the configuration file for rinetd is very straightforward and doesn’t really need any explanation here)

