# begin svn config # See http://sergiy.kyrylkov.name/blog/2005/07/propfind-302-found-error-in-subversion/ ErrorDocument 404 default DAV svn SVNPath /var/svn/$repos AuthType Basic AuthName "Subversion $repos" AuthUserFile /var/svn/$repos/conf/htpasswd # For any operations other than these, require an authenticated user. Require valid-user # end svn config # begin drupal config /drupal-$version> Options Indexes Includes FollowSymLinks MultiViews AllowOverride All # end drupal config # begin wiki config /$site/wiki> Options Indexes Includes FollowSymLinks MultiViews AllowOverride All # end wiki config # begin site config /$name/site> Options Indexes Includes FollowSymLinks MultiViews AllowOverride All Require all granted # end site config # begin trac config SetHandler mod_python PythonInterpreter main_interpreter PythonHandler trac.web.modpython_frontend PythonOption TracEnv <%= scope.lookupvar('apache::sites_folder') %>/$site/trac PythonOption TracUriRoot /trac # This prevents strange behavior when using trac # in the same virtual host with software that # has rewrite rules in .htaccess, such as drupal RewriteEngine off AuthType Basic AuthName "Trac $site" AuthUserFile <%= scope.lookupvar('apache::sites_folder') %>/$site/trac/auth/.htpasswd Require valid-user # end trac config # begin moin config Alias /moinroot /usr/share/moin/htdocs/ AliasMatch ^/moin_static[0-9]*/(.*)$ /usr/share/moin/htdocs/$1 # TODO: fastcgi ScriptAlias /moin "<%= scope.lookupvar('apache::sites_folder') %>/$site/moin/cgi-bin/moin.cgi" # end moin config # begin ikiwiki config /$name/ikiwiki> Options Indexes Includes FollowSymLinks MultiViews ExecCGI AllowOverride All # end ikiwiki config # begin rails config PassengerUploadBufferDir /tmp /$name/site> Options -MultiViews AllowOverride All RailsBaseURI / PassengerResolveSymlinksInDocumentRoot on # end rails config