Hi guys Ive got this in my htaccess file and id like to know whether this is good or bad and that these options mean.
Options -MultiViews +FollowSymlinks -Indexes
RewriteEngine On
Thanks
Hi guys Ive got this in my htaccess file and id like to know whether this is good or bad and that these options mean.
Options -MultiViews +FollowSymlinks -Indexes
RewriteEngine On
Thanks
MultiViews is an option that will for example serve foo.php
when /foo
is requested. This is quite unpredictable and I personally don’t like it. This minus in front means the option is disabled, which is good
Symlinks are like references in one part of the filesystem to another part. This option means Apache is allowed to follow those, which is generally a good idea
When this is enabled and a user hits a directory that doesn’t have an index file (like index.html, index.php, etc) it shows a directory listing. You generally don’t want this because it can pose a security risk, so having this disabled is good
This enables Apache’s RewriteEngine to rewrite URLs. On it’s own this line doesn’t do anything, it just allows RewriteRule
and RewriteCond
directives.
Great amazing thanks so much.
This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.