Can anyone explain Options FollowSymLinks & AllowOverride No

Alles, was den Apache betrifft, kann hier besprochen werden.

Can anyone explain Options FollowSymLinks & AllowOverride No

Postby sunil » 26. August 2014 18:59

<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>

I know
Options FollowSymLinks
The server will follow symbolic links in this directory. This is the default setting.

AllowOverride None
This setting will completely ignore .htaccess files.

But not sure about the effect of when clubbed in <Directory> directive.
sunil
 
Posts: 2
Joined: 26. August 2014 14:51
Operating System: Centos

Re: Can anyone explain Options FollowSymLinks & AllowOverrid

Postby Nobbie » 26. August 2014 21:43

sunil wrote:But not sure about the effect of when clubbed in <Directory> directive.


That simply means, that all Options etc. are only valid to files under this Directory and Subdirectories to this Directory (for each level).

Of course, if "/" is specified in the Directory Clause, it means that the corresponding options are valid for ALL files and the whole computer (in case of Linux - Windows have slightly different Pathnames including Drive Letters, which are unknown to Linux).

For a detailed information about the various options and clauses, see the original documentation of Apache. In case of FollowSymLinks and AllowOverride see

http://httpd.apache.org/docs/current/en ... ml#options
http://httpd.apache.org/docs/current/en ... owoverride
Nobbie
 
Posts: 8772
Joined: 09. March 2008 13:04


Return to Apache

Who is online

Users browsing this forum: No registered users and 4 guests