# DO NOT EDIT - This file is being maintained by Chef
ServerName ooc.openstreetmap.org
ServerAlias a.ooc.openstreetmap.org
ServerAlias b.ooc.openstreetmap.org
ServerAlias c.ooc.openstreetmap.org
ServerAdmin webmaster@openstreetmap.org
SSLEngine on
SSLCertificateFile /etc/ssl/certs/ooc.openstreetmap.org.pem
SSLCertificateKeyFile /etc/ssl/private/ooc.openstreetmap.org.key
CustomLog /var/log/apache2/ooc.openstreetmap.org-access.log combined
ErrorLog /var/log/apache2/ooc.openstreetmap.org-error.log
DocumentRoot /srv/ooc.openstreetmap.org/html
Alias /npe/ /home/ooc/npe/
Alias /npescotland/ /home/ooc/npescotland/
Alias /os7/ /home/ooc/os7/
Alias /os1/ /home/ooc/os1/
ServerName ooc.openstreetmap.org
ServerAlias a.ooc.openstreetmap.org
ServerAlias b.ooc.openstreetmap.org
ServerAlias c.ooc.openstreetmap.org
ServerAdmin webmaster@openstreetmap.org
CustomLog /var/log/apache2/ooc.openstreetmap.org-access.log combined
ErrorLog /var/log/apache2/ooc.openstreetmap.org-error.log
RedirectPermanent /.well-known/acme-challenge/ http://acme.openstreetmap.org/.well-known/acme-challenge/
RedirectPermanent / https://ooc.openstreetmap.org/
ServerName npe.openstreetmap.org
ServerAdmin webmaster@openstreetmap.org
CustomLog /var/log/apache2/npe.openstreetmap.org-access.log combined
ErrorLog /var/log/apache2/npe.openstreetmap.org-error.log
RewriteEngine on
RewriteRule ^/robots.txt$ https://ooc.openstreetmap.org/robots.txt [R=permanent]
RewriteRule ^/openlayers/NPE.js$ https://ooc.openstreetmap.org/openlayers/OOC.js [R=permanent]
RewriteRule ^/(.*)$ https://ooc.openstreetmap.org/npe/$1 [R=permanent]
Require all granted
Require all granted