Listen 192.168.20.243:80 ServerName localhost # ServerAlias # ServerAdmin ErrorLog /var/log/apache2/trac_error.log DocumentRoot /var/www/localhost/htdocs/trac ScriptAlias / /var/www/localhost/cgi-bin/trac.cgi # # SetEnv TRAC_ENV "/var/www/localhost/cgi-bin/trac.cgi" # Order allow,deny # Allow from 192.168.20.251 # SetHandler mod_python PythonHandler mod_python.testhandler # PythonHandler trac.web.modpython_frontend PythonOption TracEnv /var/lib/trac/collaboration PythonOption TracUriRoot collaboration Order allow,deny Allow from 192.168.20.253 AuthType Basic AuthName "trac" AuthUserFile /etc/apache2/trac.htpasswd Require valid-user Order allow,deny Allow from 192.168.20.253