Alias /trac/ /usr/share/trac/htdocs/

<Location "/projects">
    SetHandler mod_python
    PythonHandler trac.web.modpython_frontend
    PythonOption TracEnv /var/www/apache2/html/trac/projects
    PythonOption TracLocale ru_RU.UTF-8
</Location>

<Location "/projects/login">
    AuthType Basic
    AuthName "myproject"
    AuthUserFile /var/www/apache2/html/trac/projects/.htaccess
    Require valid-user
</Location>
