Created
April 29, 2015 12:07
-
-
Save kakwa/b060d34ca32bc468ce79 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<VirtualHost *:80> | |
DocumentRoot /var/www/trac | |
ServerName trac.example.fr | |
SetEnv TRAC_ENV /var/www/trac | |
WSGIScriptAlias / /var/www/trac/apache/trac.wsgi | |
<Directory /var/www/trac/apache/> | |
WSGIApplicationGroup %{GLOBAL} | |
Order deny,allow | |
Allow from all | |
</Directory> | |
<Location /login> | |
Allow from All | |
AllowOverride All | |
AuthName "restrict posting" | |
AuthType Basic | |
AuthUserFile /var/www/trac/conf/users.db | |
require valid-user | |
</Location> | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment