include an apache conf.d snippet

Bug #174591 reported by KarlGoetz
4
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.

Revision history for this message
KarlGoetz (kgoetz) wrote :

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/
        <Directory "/usr/share/trac/cgi-bin/">
                Addhandler cgi-script .cgi
                Options +ExecCGI -Indexes
                DirectoryIndex trac.cgi
        </Directory>

        #You have to allow people to read the files in htdocs
        <Directory "/usr/share/trac/htdocs/">
                Options Indexes MultiViews
                AllowOverride None
                Order allow,deny
                Allow from all
        </Directory>

        # Trac need to know where the database is located
        <Location "/cgi-bin/trac.cgi">
                SetEnv TRAC_ENV "/srv/trac/"
        </Location>

        # You need this to allow users to authenticate
        # trac.htpasswd can be created with
        # cmd 'htpasswd -c trac.htpasswd' (UNIX)
        # do 'man htpasswd' to see all the options
        <Location "/cgi-bin/trac.cgi/login">
                AuthType Basic
                AuthName "trac"
                AuthUserFile /somewhere/trac.htpasswd
                Require valid-user
        </location>

Daniel T Chen (crimsun)
Changed in trac:
importance: Undecided → Wishlist
Revision history for this message
Thomas Hotz (thotz-deactivatedaccount) wrote :

Can you report this updstream please?

Changed in trac (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.