Aliases in Apache


$edit apache$root:[conf]httpd.conf

Excerpts:

#

# DocumentRoot: The directory out of which you will serve your

# documents. By default, all requests are taken from this directory, but

# symbolic links and aliases may be used to point to other locations.

#

#DocumentRoot "/cc3$root/docs"

DocumentRoot "/cc$root/web/sis/"

#

# Each directory to which Apache has access, can be configured with respect

# to which services and features are allowed and/or disabled in that

# directory (and its subdirectories).

#

# First, we configure the "default" to be a very restrictive set of

# permissions.

#

<Directory />

    Options FollowSymLinks

    AllowOverride None

</Directory>

#

# Aliases: Add here as many aliases as you need (with no limit). The format is

# Alias fakename realname

#

# Note that if you include a trailing / on fakename then the server will

# require it to be present in the URL.  So "/icons" isn't aliased in this

# example, only "/icons/"..

#

ALIAS /~CC_SIS/ "/CC$ROOT/WEB/SIS/"

<Directory "/cc$root/web/sis/">

        Options Indexes MultiViews

        AllowOverride None

        Order allow,deny

        Allow from all

</Directory>

Alias /cc3/ "/cc3$root/docs/"

<Directory "/cc3$root/docs/">

        Options Indexes MultiViews Includes

        AllowOverride None

        Order allow,deny

        Allow from all

</Directory>

Yet, this isn’t where you set up permissions, such as passwords for folders.  We’re searching for information on this in Apache manuals.