<VirtualHost *:80>
    AssignUserID packages packages
    ServerName repos.springrts.com
    ErrorLog /var/log/apache2/repos.springrts.com-error.log
    CustomLog /var/log/apache2/repos.springrts.com-access.log combined
#    CustomLog /dev/null combined

    DocumentRoot /home/packages/www/repos.springrts.com
	<Directory /home/packages/www/repos.springrts.com>
		Require all granted
#		Options -Indexes
	</Directory>

	<LocationMatch "^/$">
		Options +Indexes
	       	DirectoryIndex index.html
	</LocationMatch>
	<LocationMatch ^/[a-z0-9-]+/streamer.cgi$>
        	AddHandler cgi-script .cgi
	        Options +ExecCGI +SymLinksIfOwnerMatch
	</LocationMatch>
	<LocationMatch ^/[a-z0-9-]+/builds/$>
		Options +Indexes
	</LocationMatch>
</VirtualHost>

