summaryrefslogtreecommitdiffstats
path: root/templates/mirror/apache2/dl.amnesia.boum.org.erb
blob: 85897fddd41b7fdd452163248872076f8db0eaea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<VirtualHost *:80>
   ServerName dl.amnesia.boum.org
   <% if @admin_mail -%>
   ServerAdmin <%= @admin_mail %>
   <% end -%>

   ErrorLog <%= @error_log %>
   LogLevel error
   CustomLog <%= @access_log %> combined

   DocumentRoot <%= @mirror_path %>
   <Directory <%= @mirror_path %> >
      Options Indexes
      FileETag None
      AllowOverride None
      IndexIgnore README.html
      IndexOptions FancyIndexing FoldersFirst IgnoreCase NameWidth=50
      IndexOrderDefault Descending Date
   </Directory>
</VirtualHost>