summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Spragg <adam@spra.gg>2018-06-06 12:26:05 +0100
committerAdam Spragg <adam@spra.gg>2018-06-06 12:26:05 +0100
commit07e873c5febe306fa9159eb7818506bf3dad1bdd (patch)
tree08c8443fe2dfa327c6896c1d4585a7a9d6283026
parent93858a4c34dd4007c72e915ed175bcdc24bbdadd (diff)
Change alias for /icons to symlink for /img/icons
So we don't conflict with the alias for /icons/ already set up by mod_alias, and in use by mod_autoindex. Seriously, who thought it would be a good idea to reserve the /icons namespace, as if no website might already want to use that???
-rw-r--r--apache2.conf6
l---------html/img/icons1
2 files changed, 1 insertions, 6 deletions
diff --git a/apache2.conf b/apache2.conf
index 42389bd..8209ace 100644
--- a/apache2.conf
+++ b/apache2.conf
@@ -159,12 +159,6 @@
Require valid-user
</Location>
- # Add extra alias for the icons directory
- Alias /icons /usr/share/icons
- <Directory "/usr/share/icons/">
- Options FollowSymLinks MultiViews
- </Directory>
-
# Enable user-dirs
UserDir public_html
diff --git a/html/img/icons b/html/img/icons
new file mode 120000
index 0000000..36a9000
--- /dev/null
+++ b/html/img/icons
@@ -0,0 +1 @@
+/usr/share/icons \ No newline at end of file