rendered paste bodyListen 192.168.20.243:80
<VirtualHost 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
# <Location "/cgi-bin/trac.cgi">
# SetEnv TRAC_ENV "/var/www/localhost/cgi-bin/trac.cgi"
# Order allow,deny
# Allow from 192.168.20.251
# </Location>
<Directory "/cgi-bin/trac.cgi">
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
</Directory>
<Directory "/cgi-bin/trac.cgi/login">
AuthType Basic
AuthName "trac"
AuthUserFile /etc/apache2/trac.htpasswd
Require valid-user
Order allow,deny
Allow from 192.168.20.253
</Directory>
</VirtualHost>