summaryrefslogtreecommitdiffstats
path: root/templates/mirror/apache2/dl.amnesia.boum.org.erb
blob: b11e65f692bd297b2558af8f810e5c4fcc82fa92 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<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
      AllowOverride None
      IndexIgnore README.html
      IndexOptions FancyIndexing FoldersFirst IgnoreCase NameWidth=50
      IndexOrderDefault Descending Date
   </Directory>
</VirtualHost>