Forum Moderators: phranque
Options +FollowSymLinks All -Indexes
Normally, if multiple Options could apply to a directory, then the most specific one is used and others are ignored; the options are not merged. (See how sections are merged.) However if all the options on the Options directive are preceded by a + or - symbol, the options are merged. Any options preceded by a + are added to the options currently in force, and any options preceded by a - are removed from the options currently in force.
Warning
Mixing Options with a + or - with those without is not valid syntax, and is likely to cause unexpected results.
Normally, if multiple Options could apply to a directory, then the most specific one is used and others are ignored; the options are not merged. (See how sections are merged.) However if all the options on the Options directive are preceded by a + or - symbol, the options are merged. Any options preceded by a + are added to the options currently in force, and any options preceded by a - are removed from the options currently in force.
Note
Mixing Options with a + or - with those without is not valid syntax, and will be rejected during server startup by the syntax check with an abort.
What can we do to stop working of such links
RewriteRule ^article-([0-9]+)\.html$ /question.php?ID=$1 [L] It should throw a 404 error instead of displaying contents of index.php page.
example.com/index.php/article-11.html example.com/article-11.html Rather than requesting
example.com/index.php/article-11.html
you should be requesting
example.com/article-11.html
[edited by: phranque at 8:19 am (utc) on Sep 12, 2013]
[edit reason] Please Use Example.com [webmasterworld.com] [/edit]
RewriteRule ^article-([0-9]+)\.html$ question.php?ID=$1 [L]