Trac administration

Trac
==Start the administration==
trac-admin /home/domains/spider/trac-dagensps

==Run the server with==
tracd –auth=*,/home/domains/spider/.passwords,spider.bg –port 8000 /home/domains/spider/trac_envs/dagensps /home/domains/spider/trac_envs/trucks

==Add users==
htdigest /home/domains/spider/.passwords spider.bg a.inkov@spider.bg

==Apache Integration==
http://trac.edgewall.org/wiki/TracCgi#AddingAuthentication
Here is what I use to start the trac in spider:
router:/home/domains/spider# cat trac.start.sh
#!/bin/bash
tracd –port 8000 \
–auth=dagensps,/home/domains/spider/.passwords,spider.bg /home/domains/spider/trac_envs/dagensps \
–auth=trucks,/home/domains/spider/.passwords,spider.bg /home/domains/spider/trac_envs/trucks \
–auth=bbi,/home/domains/spider/.bbi_passwords,spider.bg /home/domains/spider/trac_envs/bbi/

1 Comment

  1. To use the xmlrpc plugin you should use the simple authentication

    here is changed example

    #!/bin/bash

    cd /home/domains/spider

    tracd –port 8000 \
    –basic-auth=dagensps,/home/domains/spider/.ht_passwords,spider.bg /home/domains/spider/trac_envs/dagensps \
    –basic-auth=dagensps,/home/domains/spider/.ht_passwords,spider.bg /home/domains/spider/trac_envs/test \
    –auth=trucks,/home/domains/spider/.passwords,spider.bg /home/domains/spider/trac_envs/trucks \
    –auth=bbi,/home/domains/spider/.bbi_passwords,bbi /home/domains/spider/trac_envs/bbi

    #–auth=dagensps,/home/domains/spider/.passwords,spider.bg /home/domains/spider/trac_envs/dagensps

Comments are closed.

© 2024 Gudasoft

Theme by Anders NorénUp ↑