All pastes #564116 Raw Edit

tamere

public text v1 · immutable
·published 2007-06-13 13:33 UTC
rendered paste body
<VirtualHost xx.xx.xx.xx>                                                                                                                                       
        ServerAdmin alet@unice.fr                                                                                                                                
                                                                                                                                                                 
        ServerName myproj.unice.fr                                                                                                                             
        SuExecUserGroup trac trac                                                                                                                                
                                                                                                                                                                 
        AddHandler fcgid-script .fcgi                                                                                                                            
                                                                                                                                                                 
        DocumentRoot /var/www/myproj                                                                                                                           
                                                                                                                                                                 
        <Directory /var/www/myproj>                                                                                                                            
                                                                                                                                                                 
          DirectoryIndex trac.fcgi                                                                                                                               
                                                                                                                                                                 
          Options ExecCGI FollowSymLinks                                                                                                                         
                                                                                                                                                                 
          Order allow,deny                                                                                                                                       
          Allow from all                                                                                                                                         
        </Directory>                                                                                                                                             
                                                                                                                                                                 
        Alias /trac/chrome/common "/usr/share/trac/htdocs"                                                                                                       
                                                                                                                                                                 
        <Directory /usr/share/trac/htdocs>                                                                                                                       
          Options FollowSymLinks                                                                                                                                 
          Order allow,deny                                                                                                                                       
          Allow from all                                                                                                                                         
        </Directory>                                                                                                                                             
                                                                                                                                                                 
        <Location /*/login>                                                                                                                                      
          AuthType Digest                                                                                                                                        
          AuthName "myproj"                                                                                                                                    
          AuthDigestDomain / http://myproj.unice.fr/                                                                                                           
          AuthDigestProvider file                                                                                                                                
          AuthUserFile /var/lib/trac/myproj/conf/auth.digest                                                                                                   
          Require valid-user                                                                                                                                     
        </Location>                                                                                                                                              
                                                                                                                                                                 
        CustomLog /var/log/apache2/myproj.unice.fr/access.log combined                                                                                         
</VirtualHost>