include an apache conf.d snippet
Bug #174591 reported by
KarlGoetz
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
trac (Ubuntu) |
Confirmed
|
Wishlist
|
Unassigned |
Bug Description
Binary package hint: trac
It would be very conveniant if trac could ship an apache.conf snippet to link in. (perhaps even configured by the insatll deb)
This would save time trying to work out what the readme.debian is telling us, and remove some option for error.
Changed in trac: | |
importance: | Undecided → Wishlist |
To post a comment you must log in.
Incase i wasnt clear, something like this:
(i know this doesnt work, i havent got it going yet, and this is out of my vhost)
ScriptAlias /cgi-bin/ /usr/share/ trac/cgi- bin/ trac/cgi- bin/">
Addhandler cgi-script .cgi
Options +ExecCGI -Indexes
DirectoryInde x trac.cgi
</Directory>
<Directory "/usr/share/
#You have to allow people to read the files in htdocs trac/htdocs/ ">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
<Directory "/usr/share/
# Trac need to know where the database is located trac.cgi" >
SetEnv TRAC_ENV "/srv/trac/"
<Location "/cgi-bin/
</Location>
# You need this to allow users to authenticate trac.cgi/ login">
AuthType Basic
AuthName "trac"
AuthUserFile /somewhere/ trac.htpasswd
Require valid-user
# trac.htpasswd can be created with
# cmd 'htpasswd -c trac.htpasswd' (UNIX)
# do 'man htpasswd' to see all the options
<Location "/cgi-bin/
</location>