Howto Multiple Aliases ?

Posted on 2003-02-26
Medium Priority
Last Modified: 2010-03-04
I want to be able to create one alias under another forming a Hierarchy.



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

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

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

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] File does not exist: /usr/local/horde-2.2.1/turba

Thanks Adam
Question by:adamretter
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2

Author Comment

ID: 8028228
Need an answer ASAP so Better grades for quick Answers!

Accepted Solution

heskyttberg earned 1200 total points
ID: 8029761

You cannot nest aliases like that, it's not possible.

If you want something like that, why not create a link directory, and make symbolic links in that dir insead and as option put FollowSymLinks.

/Hans - Erik Skyttberg

Author Comment

ID: 8030185
Thank you

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

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hi, in this article I'm going to teach you how to run your own site, and how to let people in (without IP). I'll talk about and explain each step... :) By the way, everything in this Tutorial is completely free and legal. This article is for …
If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses
Course of the Month8 days, 3 hours left to enroll

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question