SailorSpoon
Technical User
This should be an easy question for anybody who has got this to work properly.
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. If I tell /home/ to point to a directory inside www/ (ie. "/var/ it works fine, but I can't go back any further
---
Alias /icon/ "/var/Alias /home/ "/var/
<Directory "/var/Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
<Directory "/var/Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
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. If I tell /home/ to point to a directory inside www/ (ie. "/var/ it works fine, but I can't go back any further
---
Alias /icon/ "/var/Alias /home/ "/var/
<Directory "/var/Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
<Directory "/var/Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>