Apache Alias Trouble - OpenBSD

SailorSpoon

Senior member
Mar 28, 2001
431
0
76
Maybe somebody on this forum can help me out here.. I haven't found any good resources online for why this is happening.

I've been trying for hours now to try and get the Alias function to work - I've included a snippet of code.. in this very basic setup, I copied the alias already set-up in Apache that works perfectly and tried to move it down one level.

When I visit /icon/ it works, when I visit /home/ it gives me a 404
As far as I can tell my directories both have the same permissions set.

---
Alias /icon/ "/var/www/icons/"
Alias /home/ "/var/www/"

<Directory "/var/www/">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>

<Directory "/var/www/icons/">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>