From 07e873c5febe306fa9159eb7818506bf3dad1bdd Mon Sep 17 00:00:00 2001 From: Adam Spragg Date: Wed, 6 Jun 2018 12:26:05 +0100 Subject: 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??? --- apache2.conf | 6 ------ html/img/icons | 1 + 2 files changed, 1 insertion(+), 6 deletions(-) create mode 120000 html/img/icons 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 - # Add extra alias for the icons directory - Alias /icons /usr/share/icons - - Options FollowSymLinks MultiViews - - # 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 -- cgit v1.2.1