
Chapter 5. Symbolic links
Figure 5-2. We are forbidden to access main.html
To instruct the web server to follow symbolic links we need to set an option. You will
recall we unset all options with Options None in the configuration file. Now we need
to turn on one of them.
We can do this with the command Options FollowSymLinks but this has a cer-
tain subtly we need to understand. The command Options FollowSymLinks sets
the FollowSymLinks option and unsets all of the others. The Options command fol-
lowed by a list of options is absolute; precisely the options specified will be set and
no others. For this reason we will introduce the syntax for setting (and unsetting)
individual options while leaving the others unchanged.
Options +FollowSymLinks
Figure 5-3. Setting a single option
There is an analogous syntax with a minus sign for turning off options while leaving
others untouched.
28
Kommentare zu diesen Handbüchern