Directory Optionsthis
If you had Directory options, note that they all have to be prepended with a +
or -
or none of them at all. A mix of both is not allowed:code
Example:it
This is allowed:io
<Directory /path/to/your/site/> Options +Indexes +FollowSymLinks -MultiViews </Directory>
So is this (Note that these examples don't both do the same thing, the previous one disables the MultiViews
option, the next one doesn't):ast
<Directory /path/to/your/site/> Options Indexes FollowSymLinks MultiViews </Directory>
This is no longer allowed:error
<Directory /path/to/your/site/> Options Indexes FollowSymLinks -MultiViews </Directory>
Last config option will throw the a syntax error saying:next
Either all Options must start with + or -, or no Option may.di
訪問網址提示:500錯誤
vi