Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Apache Alias Question - OpenBSD

Status
Not open for further replies.

SailorSpoon

Technical User
Feb 1, 2003
1
US
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 &quot;/var/Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>

<Directory &quot;/var/Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top