Alias Directories
Posted by: neat56 (---.ca.shawcable.net)
Date: October 21, 2007 08:32PM

Hi

How do you setup Alias Directories? I have some files and folders I'd like to point to that aren't in my root folder. I'd like my folder "Songs" which is located outside the root folder to be pointed to e.g. "www.sitenamehere.com/songs."

Options: ReplyQuote
Re: Alias Directories
Posted by: yfastud (72.236.169.---)
Date: October 22, 2007 06:03PM

Here is example, edit options to meet your desires:

Alias /new_directory "path/to/new/directory"

<Directory "path/to/new/directory">
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order allow,deny
Allow from all
</Directory>

Have fun,

[test.jlbn.net] (Sample Testing Codes for PHP, MySQL, ASP.net, SQL, JSP)
[www.jlbn.net] (Basic Guide for WAMP & Add-ons)

Options: ReplyQuote


Sorry, only registered users may post in this forum.