Link to home
Start Free TrialLog in
Avatar of adamretter
adamretter

asked on

Howto Multiple Aliases ?

I want to be able to create one alias under another forming a Hierarchy.

e.g.

http://localhost/aliasedfolder
http://localhost/aliasedfolder/anotheraliasedfolder

My Platform is FreeBSD 4.7 and Apache 2

I would imagine something like this would be needed in conf/httpd.conf


Alias /horde "/usr/local/horde-2.2.1"

<Directory "/usr/local/horde-2.2.1">
        options none
        AllowOverride All
</Directory>



Alias /horde/turba "/usr/local/turba-1.1"

<Directory "/usr/local/turba-1.1">
        options none
        AllowOverride All
</Directory>


Although that doesnt work for me, if i goto http://localhost/horde/turba i get a 404 and in logs/error_log i get

[Wed Feb 26 19:59:45 2003] [error] [client 192.168.0.15] File does not exist: /usr/local/horde-2.2.1/turba


Thanks Adam
Avatar of adamretter
adamretter

ASKER

Need an answer ASAP so Better grades for quick Answers!
ASKER CERTIFIED SOLUTION
Avatar of heskyttberg
heskyttberg

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thank you

A Symbolic Link and +FollowSymLinks seem to do exactly what I need.