1 <% if scope.function_has_static_component(['planet.debian.org']) -%>
3 <Macro common-planet.d.o>
4 ServerAdmin planet@debian.org
6 ErrorLog /var/log/apache2/planet.debian.org-error.log
7 CustomLog /var/log/apache2/planet.debian.org-access.log privacy
9 <IfModule mod_userdir.c>
13 DocumentRoot /srv/static.debian.org/mirrors/planet.debian.org/cur
14 AddDefaultCharset utf-8
15 <Directory /srv/static.debian.org/mirrors/planet.debian.org/cur>
20 <Virtualhost <%= @vhost_listen %> >
21 ServerName planet.debian.org
22 ServerAlias planet.debian.net planeta.debian.net planet-backend.debian.org planet-fastly.debian.org planet-maxcdn.debian.org
23 <% if scope.function_onion_global_service_hostname(['planet.debian.org']) -%>
24 ServerAlias <%= scope.function_onion_global_service_hostname(['planet.debian.org']) %>
30 RewriteCond %{HTTP_HOST} ^planeta.debian.net$ [NC]
31 RewriteRule ^/(.*) http://planet.debian.org/es/$1 [R=permanent,L]
32 RewriteCond %{HTTP_HOST} ^planet.debian.net$ [NC]
33 RewriteRule ^/(.*) http://planet.debian.org/$1 [R=permanent,L]
36 <VirtualHost <%= @vhost_listen_443 %> >
37 ServerName planet-backend.debian.org
39 Use common-debian-service-ssl planet-backend.debian.org