This page allows you to add and edit URL mappings on this server. These URL mappings are used to point to directories outside of the document root.
You can also edit and remove your current mappings. Most of the time, you will keep all of your documents within the document root. Sometimes, though, you may want to refer to a directory outside of your document root. You can do this through directory remapping.
Directory mapping is fairly straightforward. First, you choose the URL
prefix that you would like to be remapped. For instance, say your
document root is /usr/ns-docs
, and you have a directory
called /sales/tools/products
that contains information about
your company's products that you would like to include in your document tree.
Let's say you decide to map that directory to the URL prefix
http://www.acme.com/products
. You would then enter
products into the form element below.
Next, you should choose the directory you want that URL prefix to map to.
It should be a full system path. In the example above, the directory would
be /sales/tools/products
.
Finally, you might want to use a template to specify how this directory
should be configured. You can choose a template, or choose cgi
to specify that all files in this directory are CGI programs.