Ticket #1330 (closed enhancement: invalid)
trac/cgi-bin/trac.cgi
Reported by: | angosson | Owned by: | xave |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | website | Version: | 2.4 |
Severity: | major | Keywords: | |
Cc: |
Description
Alias /trac/ "/home/angosson/share/trac/www/" #or where you installed the trac htdocs #You have to allow people to read the files in htdocs <Directory "/home/angosson/share/trac/www">
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 "/path/to/home/angosson/public_html/www"
</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 " http://www.angosso.net/cgi-bin/trac.cgi/login">
AuthType? Basic AuthName? "trac" AuthUserFile? /somewhere/trac.htpasswd Require valid-user
</Location>