ServerName <%= @name %>
ServerAdmin webmaster@openstreetmap.org
+ SSLEngine on
+
CustomLog /var/log/apache2/<%= @name %>-access.log combined
ErrorLog /var/log/apache2/<%= @name %>-error.log
AuthExternal osm
Require valid-user
</Location>
-
- SSLEngine on
</VirtualHost>
+
+<Directory <%= @directory %>/htdocs>
+ Require all granted
+</Directory>
+
+<Directory <%= @directory %>/cgi-bin>
+ Require all granted
+</Directory>