Skip to content

Instantly share code, notes, and snippets.

@commana
Created February 24, 2009 16:45
Show Gist options
  • Save commana/69655 to your computer and use it in GitHub Desktop.
Save commana/69655 to your computer and use it in GitHub Desktop.
sites-available-default for eStude Subversion and Trac
NameVirtualHost *
<VirtualHost *>
ServerAdmin webmaster@localhost
Alias /trac "/usr/share/trac/htdocs"
ScriptAlias /estudy /usr/share/trac/cgi-bin/trac.cgi
<Location "/estudy">
SetEnv TRAC_ENV "/home/trac/estudy"
</Location>
<Directory "/usr/share/trac/htdocs">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
<Location "/estudy/login">
AuthType Basic
AuthName "estudy"
AuthUserFile /home/trac/estudy/estudy.htpasswd
Require valid-user
</Location>
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment