?
Solved

Howto Multiple Aliases ?

Posted on 2003-02-26
3
Medium Priority
?
236 Views
Last Modified: 2010-03-04
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
0
Comment
Question by:adamretter
[X]
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
3 Comments
 

Author Comment

by:adamretter
ID: 8028228
Need an answer ASAP so Better grades for quick Answers!
0
 
LVL 8

Accepted Solution

by:
heskyttberg earned 1200 total points
ID: 8029761
Hi!

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

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.

Regards
/Hans - Erik Skyttberg
0
 

Author Comment

by:adamretter
ID: 8030185
Thank you

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

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