summaryrefslogtreecommitdiff
path: root/templates/alias.conf.erb
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2012-02-09 10:14:42 -0200
committerSilvio Rhatto <rhatto@riseup.net>2012-02-09 10:14:42 -0200
commit8a3e9fcb53d3c9e876535e0d262a469ed446f2ff (patch)
tree78ea41e3aedcc927d7341296af784e20a2d7d16d /templates/alias.conf.erb
parentf7696f43f27ad5c030dbe29499973e54b07b1b65 (diff)
downloadpuppet-apache-8a3e9fcb53d3c9e876535e0d262a469ed446f2ff.tar.gz
puppet-apache-8a3e9fcb53d3c9e876535e0d262a469ed446f2ff.tar.bz2
Adding custom icons
Diffstat (limited to 'templates/alias.conf.erb')
-rw-r--r--templates/alias.conf.erb24
1 files changed, 24 insertions, 0 deletions
diff --git a/templates/alias.conf.erb b/templates/alias.conf.erb
new file mode 100644
index 0000000..342213b
--- /dev/null
+++ b/templates/alias.conf.erb
@@ -0,0 +1,24 @@
+<IfModule alias_module>
+#
+# Aliases: Add here as many aliases as you need (with no limit). The format is
+# Alias fakename realname
+#
+# Note that if you include a trailing / on fakename then the server will
+# require it to be present in the URL. So "/icons" isn't aliased in this
+# example, only "/icons/". If the fakename is slash-terminated, then the
+# realname must also be slash terminated, and if the fakename omits the
+# trailing slash, the realname must also omit it.
+#
+# We include the /icons/ alias for FancyIndexed directory listings. If
+# you do not use FancyIndexing, you may comment this out.
+#
+Alias /icons/ "<%= $apache_www_folder %>"
+
+<Directory "<%= $apache_www_folder %>">
+ Options Indexes MultiViews
+ AllowOverride None
+ Order allow,deny
+ Allow from all
+</Directory>
+
+</IfModule>